diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-03-05 21:30:38 +0100 |
---|---|---|
committer | Shawn Guo <shawn.guo@freescale.com> | 2014-04-30 07:35:19 +0200 |
commit | 6e3ef2f66489d13e6ee3a26ed7bf9f920f97339b (patch) | |
tree | d77c210076486eb3029f36c2ddac453b5cb5594d /arch/arm/boot/dts/imx25-pdk.dts | |
parent | ARM: dts: imx25-pdk: Add FEC pins (diff) | |
download | linux-6e3ef2f66489d13e6ee3a26ed7bf9f920f97339b.tar.xz linux-6e3ef2f66489d13e6ee3a26ed7bf9f920f97339b.zip |
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.dts | 18 |
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 @@ memory { reg = <0x80000000 0x4000000>; }; + + regulators { + compatible = "simple-bus"; + #address-cells = <1>; + #size-cells = <0>; + + reg_fec_3v3: regulator@0 { + compatible = "regulator-fixed"; + reg = <0>; + regulator-name = "fec-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio2 3 0>; + enable-active-high; + }; + }; }; &fec { phy-mode = "rmii"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_fec>; + phy-supply = <®_fec_3v3>; status = "okay"; }; @@ -41,6 +58,7 @@ MX25_PAD_FEC_RDATA1__FEC_RDATA1 0x80000000 MX25_PAD_FEC_RX_DV__FEC_RX_DV 0x80000000 MX25_PAD_FEC_TX_CLK__FEC_TX_CLK 0x1c0 + MX25_PAD_A17__GPIO_2_3 0x80000000 >; }; |