aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx6sx-sdb.dts
diff options
context:
space:
mode:
authorFugang Duan <b38611@freescale.com>2014-09-28 04:40:36 -0400
committerShawn Guo <shawn.guo@linaro.org>2014-11-23 02:08:07 -0500
commit9863aba5d6a8ceeab890e8593268fbe39c8d9562 (patch)
treeef775a1c25302a98c82b9674069a1171ff79cb32 /arch/arm/boot/dts/imx6sx-sdb.dts
parent791f416608a5b7144e4e83e8f6e01ab42cf82857 (diff)
ARM: dts: imx6x: Add enet2 support for imx6sx-sdb board
Add enet2 support for imx6sx-sdb board, and add the "fsl,imx6q-fec" compatible for fec2 node to be compatible with the old version. Signed-off-by: Fugang Duan <B38611@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx6sx-sdb.dts')
-rw-r--r--arch/arm/boot/dts/imx6sx-sdb.dts62
1 files changed, 62 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-sdb.dts b/arch/arm/boot/dts/imx6sx-sdb.dts
index 82d6b34527b7..448489be0076 100644
--- a/arch/arm/boot/dts/imx6sx-sdb.dts
+++ b/arch/arm/boot/dts/imx6sx-sdb.dts
@@ -105,6 +105,30 @@
105 gpio = <&gpio3 27 0>; 105 gpio = <&gpio3 27 0>;
106 enable-active-high; 106 enable-active-high;
107 }; 107 };
108
109 reg_peri_3v3: regulator@5 {
110 compatible = "regulator-fixed";
111 reg = <5>;
112 pinctrl-names = "default";
113 pinctrl-0 = <&pinctrl_peri_3v3>;
114 regulator-name = "peri_3v3";
115 regulator-min-microvolt = <3300000>;
116 regulator-max-microvolt = <3300000>;
117 gpios = <&gpio4 16 GPIO_ACTIVE_HIGH>;
118 enable-active-high;
119 regulator-always-on;
120 };
121
122 reg_enet_3v3: regulator@6 {
123 compatible = "regulator-fixed";
124 reg = <6>;
125 pinctrl-names = "default";
126 pinctrl-0 = <&pinctrl_enet_3v3>;
127 regulator-name = "enet_3v3";
128 regulator-min-microvolt = <3300000>;
129 regulator-max-microvolt = <3300000>;
130 gpios = <&gpio2 6 GPIO_ACTIVE_LOW>;
131 };
108 }; 132 };
109 133
110 sound { 134 sound {
@@ -133,6 +157,14 @@
133&fec1 { 157&fec1 {
134 pinctrl-names = "default"; 158 pinctrl-names = "default";
135 pinctrl-0 = <&pinctrl_enet1>; 159 pinctrl-0 = <&pinctrl_enet1>;
160 phy-supply = <&reg_enet_3v3>;
161 phy-mode = "rgmii";
162 status = "okay";
163};
164
165&fec2 {
166 pinctrl-names = "default";
167 pinctrl-0 = <&pinctrl_enet2>;
136 phy-mode = "rgmii"; 168 phy-mode = "rgmii";
137 status = "okay"; 169 status = "okay";
138}; 170};
@@ -394,6 +426,30 @@
394 MX6SX_PAD_RGMII1_RD2__ENET1_RX_DATA_2 0x3081 426 MX6SX_PAD_RGMII1_RD2__ENET1_RX_DATA_2 0x3081
395 MX6SX_PAD_RGMII1_RD3__ENET1_RX_DATA_3 0x3081 427 MX6SX_PAD_RGMII1_RD3__ENET1_RX_DATA_3 0x3081
396 MX6SX_PAD_RGMII1_RX_CTL__ENET1_RX_EN 0x3081 428 MX6SX_PAD_RGMII1_RX_CTL__ENET1_RX_EN 0x3081
429 MX6SX_PAD_ENET2_RX_CLK__ENET2_REF_CLK_25M 0x91
430 >;
431 };
432
433 pinctrl_enet_3v3: enet3v3grp {
434 fsl,pins = <
435 MX6SX_PAD_ENET2_COL__GPIO2_IO_6 0x80000000
436 >;
437 };
438
439 pinctrl_enet2: enet2grp {
440 fsl,pins = <
441 MX6SX_PAD_RGMII2_TXC__ENET2_RGMII_TXC 0xa0b9
442 MX6SX_PAD_RGMII2_TD0__ENET2_TX_DATA_0 0xa0b1
443 MX6SX_PAD_RGMII2_TD1__ENET2_TX_DATA_1 0xa0b1
444 MX6SX_PAD_RGMII2_TD2__ENET2_TX_DATA_2 0xa0b1
445 MX6SX_PAD_RGMII2_TD3__ENET2_TX_DATA_3 0xa0b1
446 MX6SX_PAD_RGMII2_TX_CTL__ENET2_TX_EN 0xa0b1
447 MX6SX_PAD_RGMII2_RXC__ENET2_RX_CLK 0x3081
448 MX6SX_PAD_RGMII2_RD0__ENET2_RX_DATA_0 0x3081
449 MX6SX_PAD_RGMII2_RD1__ENET2_RX_DATA_1 0x3081
450 MX6SX_PAD_RGMII2_RD2__ENET2_RX_DATA_2 0x3081
451 MX6SX_PAD_RGMII2_RD3__ENET2_RX_DATA_3 0x3081
452 MX6SX_PAD_RGMII2_RX_CTL__ENET2_RX_EN 0x3081
397 >; 453 >;
398 }; 454 };
399 455
@@ -452,6 +508,12 @@
452 >; 508 >;
453 }; 509 };
454 510
511 pinctrl_peri_3v3: peri3v3grp {
512 fsl,pins = <
513 MX6SX_PAD_QSPI1A_DATA0__GPIO4_IO_16 0x80000000
514 >;
515 };
516
455 pinctrl_pwm3: pwm3grp-1 { 517 pinctrl_pwm3: pwm3grp-1 {
456 fsl,pins = < 518 fsl,pins = <
457 MX6SX_PAD_SD1_DATA2__PWM3_OUT 0x110b0 519 MX6SX_PAD_SD1_DATA2__PWM3_OUT 0x110b0