ramips: use consistent naming scheme for LEDs
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / DCS-930.dts
index 31dab4581469a28eb2477e710f23064236a86b61..3c89f84dd64961997b6657e057f19e91436a9cf9 100644 (file)
@@ -18,7 +18,6 @@
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x400000>;
-
                bank-width = <2>;
                device-width = <2>;
                #address-cells = <1>;
                };
 
                partition@50000 {
+                       label = "kernel";
+                       reg = <0x50000 0x150000>;
+               };
+
+               partition@150000 {
+                       label = "rootfs";
+                       reg = <0x150000 0x2b0000>;
+               };
+
+               partition {
                        label = "firmware";
                        reg = <0x50000 0x3b0000>;
                };
 
        gpio-leds {
                compatible = "gpio-leds";
+
                wifi {
-                       label = "d-link:red:alert";
+                       label = "dcs-930:red:alert";
                        gpios = <&gpio0 8 1>;
                };
+
                power {
-                       label = "d-link:green:status";
+                       label = "dcs-930:green:status";
                        gpios = <&gpio0 9 1>;
                };
+
                wps {
-                       label = "d-link:blue:wps";
+                       label = "dcs-930:blue:wps";
                        gpios = <&gpio0 13 1>;
                };
        };
@@ -75,6 +87,7 @@
                        gpios = <&gpio0 0 1>;
                        linux,code = <0x101>;
                };
+
                reset {
                        label = "reset";
                        gpios = <&gpio0 10 1>;
                };
        };
 
+       ethernet@10100000 {
+               mtd-mac-address = <&factory 0x4>;
+       };
+
        esw@10110000 {
                ralink,portmap = <0x2f>;
+       };
 
-               port@0 {
-                       compatible = "swconfig,port";
-                       swconfig,segment = "lan";
-                       swconfig,portmap = <0 4>;
-               };
-               port@1 {
-                       compatible = "swconfig,port";
-                       swconfig,segment = "lan";
-                       swconfig,portmap = <1 3>;
-               };
-               port@2 {
-                       compatible = "swconfig,port";
-                       swconfig,segment = "lan";
-                       swconfig,portmap = <2 2>;
-               };
-               port@3 {
-                       compatible = "swconfig,port";
-                       swconfig,segment = "lan";
-                       swconfig,portmap = <3 1>;
-               };
-               port@4 {
-                       compatible = "swconfig,port";
-                       swconfig,segment = "wan";
-                       swconfig,portmap = <4 0>;
-               };
+       wmac@10180000 {
+               ralink,mtd-eeprom = <&factory 0>;
        };
 
        otg@101c0000 {