From: John Crispin <john@openwrt.org>
Date: Mon, 29 Jul 2013 13:10:42 +0000 (+0000)
Subject: lantiq: setup gphy leds on TPlink TDW8970
X-Git-Tag: reboot~9636
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=336c94c32d1fd0a827ff8a851a0ae9e4d37e997b;p=openwrt%2Fstaging%2Fpepe2k.git

lantiq: setup gphy leds on TPlink TDW8970

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37612
---

diff --git a/target/linux/lantiq/dts/TDW8970.dts b/target/linux/lantiq/dts/TDW8970.dts
index 0fcf8d8d2a..a632086188 100644
--- a/target/linux/lantiq/dts/TDW8970.dts
+++ b/target/linux/lantiq/dts/TDW8970.dts
@@ -23,6 +23,13 @@
 					lantiq,groups = "mdio";
 					lantiq,function = "mdio";
 				};
+				gphy-leds {
+					lantiq,groups = "gphy0 led1", "gphy1 led1";
+					lantiq,function = "gphy";
+					lantiq,pull = <2>;
+					lantiq,open-drain = <0>;
+					lantiq,output = <1>;
+				};
 				phy-rst {
 					lantiq,pins = "io42";
 					lantiq,pull = <0>;
@@ -220,10 +227,6 @@
 			label = "internet";
 			gpios = <&gpio 5 0>;
 		};
-		lan3 {
-			label = "lan3";
-			gpios = <&gpio 7 0>;
-		};
 		usb0 {
 			label = "usb";
 			gpios = <&gpio 19 0>;
@@ -236,9 +239,5 @@
 			label = "wps";
 			gpios = <&gpio 37 0>;
 		};
-		lan4 {
-			label = "lan4";
-			gpios = <&gpio 45 0>;
-		};
 	};
 };