ramips: use consistent naming scheme for LEDs
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / DIR-610-A1.dts
index 9893e7aa008dcda5ee5d3cf2edc948d9f3db266c..9ec987051e5702f5f7188ca6bdc1d6913574468c 100644 (file)
@@ -9,6 +9,7 @@
        palmbus@10000000 {
                spi@b00 {
                        status = "okay";
+
                        m25p80@0 {
                                #address-cells = <1>;
                                #size-cells = <1>;
@@ -53,7 +54,7 @@
        };
 
        ethernet@10100000 {
-               mtd-mac-address = <&factory 0x4004>;
+               mtd-mac-address = <&devdata 0x4004>;
        };
 
        esw@10110000 {
 
        gpio-leds {
                compatible = "gpio-leds";
+
                status {
-                       label = "d-link:green:status";
+                       label = "dir-610-a1:green:status";
                        gpios = <&gpio0 9 1>;
                };
+
                wps {
-                       label = "d-link:green:wps";
+                       label = "dir-610-a1:green:wps";
                        gpios = <&gpio0 13 1>;
                };
        };
 
        gpio-keys-polled {
-               gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
                #size-cells = <0>;
                poll-interval = <20>;
-                       reset {
-                               label = "reset";
-                               gpios = <&gpio0 10 1>;
-                               linux,code = <0x198>;
-                       };
-                       wps {
-                               label = "wps";
-                               gpios = <&gpio0 0 1>;
-                               linux,code = <0x211>;
-                       };
+
+               reset {
+                       label = "reset";
+                       gpios = <&gpio0 10 1>;
+                       linux,code = <0x198>;
+               };
+
+               wps {
+                       label = "wps";
+                       gpios = <&gpio0 0 1>;
+                       linux,code = <0x211>;
                };
        };
 };