Browse Source

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 <shawn.guo@linaro.org>
Shawn Guo 13 years ago
parent
commit
c9987c8106
1 changed files with 11 additions and 0 deletions
  1. 11 0
      arch/arm/boot/dts/imx28-evk.dts

+ 11 - 0
arch/arm/boot/dts/imx28-evk.dts

@@ -120,6 +120,9 @@
 			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";
 		};
 
@@ -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 {