ramips: Use dts alias based status led
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / AR670W.dts
index 3759f4a8c4e4855cc6090aefabc1115140fcf795..9ca3cd2e3c6181cfb7647ffe3343c5dd0fcfc216 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "airlink101,ar670w", "ralink,rt2880-soc";
        model = "Airlink101 AR670W";
 
+       aliases {
+               led-status = &led_power;
+       };
+
        cfi@bdc00000 {
                compatible = "cfi-flash";
                reg = <0xbc400000 0x800000>;
@@ -37,7 +41,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               status {
+               led_power: power {
                        label = "ar670w:green:power";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };