lntiq: add support for Astoria ARV7519RW.
[librecmc/librecmc.git] / target / linux / lantiq / dts / VG3503J.dts
index 0aea8d80c76a367f70fa2ad7831a071338bc931e..8278a177dd52c80901668dd25cbe95f0ab88d149 100644 (file)
                                        lantiq,groups = "mdio";
                                        lantiq,function = "mdio";
                                };
+                               gphy-leds {
+                                       lantiq,groups = "gphy0 led0", "gphy0 led1",
+                                                       "gphy0 led2", "gphy1 led0",
+                                                       "gphy1 led1", "gphy1 led2";
+                                       lantiq,function = "gphy";
+                                       lantiq,pull = <2>;
+                                       lantiq,open-drain = <0>;
+                                       lantiq,output = <1>;
+                               };
                        };
                };
 
                        interrupt-parent = <&icu0>;
                        interrupts = <73 72>;
 
-                       lan: interface@0 {
+                       interface@0 {
                                compatible = "lantiq,xrx200-pdi";
                                #address-cells = <1>;
                                #size-cells = <0>;
                                reg = <0>;
                                mac-address = [ 00 11 22 33 44 55 ];
-
                                ethernet@2 {
                                        compatible = "lantiq,xrx200-pdi-port";
                                        reg = <2>;
                                phy11: ethernet-phy@11 {
                                        reg = <0x11>;
                                        compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
-                                       lantiq,c45-reg-init = <1 0 0 0>;
                                };
                                phy13: ethernet-phy@13 {
                                        reg = <0x13>;
                                        compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
-                                       lantiq,c45-reg-init = <1 0 0 0>;
                                };
                        };
                };
        gpio-leds {
                compatible = "gpio-leds";
 
-               port2green {
-                       label = "bt:green:port2";
-                       gpios = <&gpio 2 0>;
-               };
-               lan2 {
-                       label = "bt:green:lan2";
-                       gpios = <&gpio 5 0>;
-               };
-               port2orange {
-                       label = "bt:orange:port2";
-                       gpios = <&gpio 7 0>;
-               };
                power2 {
                        label = "power2";
                        gpios = <&gpio 14 1>;
                };
                dsl {
-                       label = "dsl";
+                       label = "bt:green:dsl";
                        gpios = <&gpio 19 1>;
                };
                power {
                        label = "power";
                        gpios = <&gpio 28 1>;
                };
-               lan1 {
-                       label = "bt:green:lan1";
-                       gpios = <&gpio 44 0>;
-               };
-               port1green {
-                       label = "bt:green:port1";
-                       gpios = <&gpio 45 0>;
-               };
-               port1orange {
-                       label = "bt:orange:port1";
-                       gpios = <&gpio 47 0>;
-               };
        };
 };