lantiq: setup gphy leds on TPlink TDW8970
authorJohn Crispin <john@openwrt.org>
Mon, 29 Jul 2013 13:10:42 +0000 (13:10 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 29 Jul 2013 13:10:42 +0000 (13:10 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 37612

target/linux/lantiq/dts/TDW8970.dts

index 0fcf8d8d2a6f4f833b2f3740e8eb8f8320121c70..a63208618869dca71e1ac6e2693b5f841522bcac 100644 (file)
                                        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>;
                        label = "internet";
                        gpios = <&gpio 5 0>;
                };
-               lan3 {
-                       label = "lan3";
-                       gpios = <&gpio 7 0>;
-               };
                usb0 {
                        label = "usb";
                        gpios = <&gpio 19 0>;
                        label = "wps";
                        gpios = <&gpio 37 0>;
                };
-               lan4 {
-                       label = "lan4";
-                       gpios = <&gpio 45 0>;
-               };
        };
 };