From: Shawn Guo Date: Thu, 28 Jun 2012 03:45:02 +0000 (+0800) Subject: ARM: dts: imx28-evk: add missing properties for fec X-Git-Tag: next-20120724~11^2~14^2~16^2~7 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c9987c8106ac535bf207199be6ed4174d04dc679;p=karo-tx-linux.git ARM: dts: imx28-evk: add missing properties for fec Add missing properties for fec, phy-supply, phy-reset-gpios and phy-reset-duration, which are required by fec driver for successfully probe fec from device tree, if bootloader hasn't set those things up. Signed-off-by: Shawn Guo --- diff --git a/arch/arm/boot/dts/imx28-evk.dts b/arch/arm/boot/dts/imx28-evk.dts index 28b94d309998..cf2ab2efa0a9 100644 --- a/arch/arm/boot/dts/imx28-evk.dts +++ b/arch/arm/boot/dts/imx28-evk.dts @@ -120,6 +120,9 @@ phy-mode = "rmii"; pinctrl-names = "default"; pinctrl-0 = <&mac0_pins_a>; + phy-supply = <®_fec_3v3>; + phy-reset-gpios = <&gpio4 13 0>; + phy-reset-duration = <100>; status = "okay"; }; @@ -149,6 +152,14 @@ regulator-max-microvolt = <3300000>; gpio = <&gpio3 28 0>; }; + + reg_fec_3v3: fec-3v3 { + compatible = "regulator-fixed"; + regulator-name = "fec-3v3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + gpio = <&gpio2 15 0>; + }; }; sound {