ARM: dts: Karo TX25: Add phy reset gpio and supply for FEC
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 9 May 2014 11:59:55 +0000 (19:59 +0800)
committerShawn Guo <shawn.guo@freescale.com>
Fri, 16 May 2014 15:02:11 +0000 (23:02 +0800)
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
arch/arm/boot/dts/imx25-karo-tx25.dts

index c84d5c932a99ebc4b2783caf0630ccc988d836f5..69d421790d2f4b3f43e861b36068fbd328c59f94 100644 (file)
                stdout-path = &uart1;
        };
 
+       regulators {
+               compatible = "simple-bus";
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               reg_fec_phy: regulator@0 {
+                       compatible = "regulator-fixed";
+                       reg = <0>;
+                       regulator-name = "fec-phy";
+                       regulator-min-microvolt = <3300000>;
+                       regulator-max-microvolt = <3300000>;
+                       gpio = <&gpio4 9 0>;
+                       enable-active-high;
+               };
+       };
+
        memory {
                reg = <0x80000000 0x02000000 0x90000000 0x02000000>;
        };
@@ -81,7 +97,9 @@
 &fec {
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_fec>;
+       phy-reset-gpios = <&gpio3 7 0>;
        phy-mode = "rmii";
+       phy-supply = <&reg_fec_phy>;
        status = "okay";
 };