lantiq: vr9: set the usb led trigger via devicetree
[openwrt/openwrt.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / vr9_buffalo_wbmr-300hpd.dts
index 4631ad4ffe0ec3b94ba54ae813568c2d878ac0dc..8917d359e7b990239dbc9faf752f220c9d2fdc1b 100644 (file)
@@ -1,5 +1,3 @@
-/dts-v1/;
-
 #include "vr9.dtsi"
 
 #include <dt-bindings/input/input.h>
                compatible = "gpio-leds";
 
                diag_r: diag_r {
-                       label = "wbmr300:red:diag";
+                       label = "red:diag";
                        gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
                        default_state = "off";
                };
 
                wifi_g: wifi_g {
-                       label = "wbmr300:green:wifi";
+                       label = "green:wifi";
                        gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
                };
 
                };
 
                router_y: router_y {
-                       label = "wbmr300:yellow:router";
+                       label = "yellow:router";
                        gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
                };
 
                wifi_y: wifi_y {
-                       label = "wbmr300:yellow:wifi";
+                       label = "yellow:wifi";
                        gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
                };
 
                lan1: lan1 {
-                       label = "wbmr300:green:lan1";
+                       label = "green:lan1";
                        gpios = <&gpio 11 GPIO_ACTIVE_HIGH>;
                };
 
                wan: wan {
-                       label = "wbmr300:green:wan";
+                       label = "green:wan";
                        gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
                };
 
                lan3: lan3 {
-                       label = "wbmr300:green:lan3";
+                       label = "green:lan3";
                        gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
                };
 
                lan2: lan2 {
-                       label = "wbmr300:green:lan2";
+                       label = "green:lan2";
                        gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
                };
 
                internet_g: internet_g {
-                       label = "wbmr300:green:internet";
+                       label = "green:internet";
                        gpios = <&gpio 34 GPIO_ACTIVE_HIGH>;
                };
 
                internet_y: internet_y {
-                       label = "wbmr300:yellow:internet";
+                       label = "yellow:internet";
                        gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
                };
 
                router_g: router_g {
-                       label = "wbmr300:green:router";
+                       label = "green:router";
                        gpios = <&gpio 36 GPIO_ACTIVE_HIGH>;
                };
 
                power_g: power_g {
-                       label = "wbmr300:green:power";
+                       label = "green:power";
                        gpios = <&gpio 49 GPIO_ACTIVE_HIGH>;
                };
        };
 };
 
 &eth0 {
-       lan: interface@0 {
+       interface@0 {
                compatible = "lantiq,xrx200-pdi";
                #address-cells = <1>;
                #size-cells = <0>;
                reg = <0>;
                lantiq,switch;
 
-               ethernet@1 {
-                       compatible = "lantiq,xrx200-pdi-port";
-                       reg = <4>;
-                       phy-mode = "mii";
-                       phy-handle = <&phy13>;
-               };
                ethernet@2 {
                        compatible = "lantiq,xrx200-pdi-port";
-                       reg = <5>;
+                       reg = <2>;
                        phy-mode = "mii";
-                       phy-handle = <&phy14>;
+                       phy-handle = <&phy11>;
                };
                ethernet@3 {
                        compatible = "lantiq,xrx200-pdi-port";
-                       reg = <2>;
+                       reg = <3>;
                        phy-mode = "mii";
-                       phy-handle = <&phy11>;
+                       phy-handle = <&phy12>;
                };
                ethernet@4 {
                        compatible = "lantiq,xrx200-pdi-port";
-                       reg = <3>;
+                       reg = <4>;
                        phy-mode = "mii";
-                       phy-handle = <&phy12>;
+                       phy-handle = <&phy13>;
+               };
+               ethernet@5 {
+                       compatible = "lantiq,xrx200-pdi-port";
+                       reg = <5>;
+                       phy-mode = "mii";
+                       phy-handle = <&phy14>;
                };
        };
 
 
                        partition@ff0000 {
                                reg = <0xff0000 0x2000>;
-                               label = "ubootconfig";
+                               label = "u-boot-env";
                        };
 
                        partition@ff3000 {