ARM: dts: imx28-evk: add missing properties for fec
authorShawn Guo <shawn.guo@linaro.org>
Thu, 28 Jun 2012 03:45:02 +0000 (11:45 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Tue, 3 Jul 2012 05:25:21 +0000 (13:25 +0800)
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 <shawn.guo@linaro.org>
arch/arm/boot/dts/imx28-evk.dts

index 28b94d309998a85f085be227e61b65bf3be7efb3..cf2ab2efa0a91f707b5c83a2b0c908b693712551 100644 (file)
                        phy-mode = "rmii";
                        pinctrl-names = "default";
                        pinctrl-0 = <&mac0_pins_a>;
+                       phy-supply = <&reg_fec_3v3>;
+                       phy-reset-gpios = <&gpio4 13 0>;
+                       phy-reset-duration = <100>;
                        status = "okay";
                };
 
                        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 {