aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/imx25-pdk.dts
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2014-03-05 15:30:38 -0500
committerShawn Guo <shawn.guo@freescale.com>2014-04-30 01:35:19 -0400
commit6e3ef2f66489d13e6ee3a26ed7bf9f920f97339b (patch)
treed77c210076486eb3029f36c2ddac453b5cb5594d /arch/arm/boot/dts/imx25-pdk.dts
parentf0bd6881e8abc3660bb3e8e6b219ad9a21c88636 (diff)
ARM: dts: imx25-pdk: Provide a regulator for Ethernet PHY
GPIO2_3 controls the power to the Ethernet PHY, so provide a regulator node for this. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/imx25-pdk.dts')
-rw-r--r--arch/arm/boot/dts/imx25-pdk.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx25-pdk.dts b/arch/arm/boot/dts/imx25-pdk.dts
index a97dd7305c46..d15349e12df9 100644
--- a/arch/arm/boot/dts/imx25-pdk.dts
+++ b/arch/arm/boot/dts/imx25-pdk.dts
@@ -19,12 +19,29 @@
19 memory { 19 memory {
20 reg = <0x80000000 0x4000000>; 20 reg = <0x80000000 0x4000000>;
21 }; 21 };
22
23 regulators {
24 compatible = "simple-bus";
25 #address-cells = <1>;
26 #size-cells = <0>;
27
28 reg_fec_3v3: regulator@0 {
29 compatible = "regulator-fixed";
30 reg = <0>;
31 regulator-name = "fec-3v3";
32 regulator-min-microvolt = <3300000>;
33 regulator-max-microvolt = <3300000>;
34 gpio = <&gpio2 3 0>;
35 enable-active-high;
36 };
37 };
22}; 38};
23 39
24&fec { 40&fec {
25 phy-mode = "rmii"; 41 phy-mode = "rmii";
26 pinctrl-names = "default"; 42 pinctrl-names = "default";
27 pinctrl-0 = <&pinctrl_fec>; 43 pinctrl-0 = <&pinctrl_fec>;
44 phy-supply = <&reg_fec_3v3>;
28 status = "okay"; 45 status = "okay";
29}; 46};
30 47
@@ -41,6 +58,7 @@
41 MX25_PAD_FEC_RDATA1__FEC_RDATA1 0x80000000 58 MX25_PAD_FEC_RDATA1__FEC_RDATA1 0x80000000
42 MX25_PAD_FEC_RX_DV__FEC_RX_DV 0x80000000 59 MX25_PAD_FEC_RX_DV__FEC_RX_DV 0x80000000
43 MX25_PAD_FEC_TX_CLK__FEC_TX_CLK 0x1c0 60 MX25_PAD_FEC_TX_CLK__FEC_TX_CLK 0x1c0
61 MX25_PAD_A17__GPIO_2_3 0x80000000
44 >; 62 >;
45 }; 63 };
46 64