ramips: Use dts alias based status led
[openwrt/openwrt.git] / target / linux / ramips / dts / SL-R7205.dts
index f6f20a8174e3a4929f554f1fcf91628670ddb22e..c0a0eed290d67c4d41e1edcf1d4fa0d692d26f76 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "skyline,sl-r7205", "ralink,rt3052-soc";
        model = "Skyline SL-R7205 Wireless 3G Router";
 
+       aliases {
+               led-status = &led_wifi;
+       };
+
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
@@ -44,7 +48,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               wifi {
+               led_wifi: wifi {
                        label = "sl-r7205:green:wifi";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };