ramips: Use dts alias based status led
[openwrt/staging/dedeckeh.git] / target / linux / ramips / dts / AI-BR100.dts
index b0100f63bb43e55092ef468a68829436291ad860..819a2449a028208fde524a04b35051eaead77526 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "aigale,ai-br100", "ralink,mt7620a-soc";
        model = "Aigale Ai-BR100";
 
+       aliases {
+               led-status = &led_wlan;
+       };
+
        gpio-leds {
                compatible = "gpio-leds";
 
@@ -17,7 +21,7 @@
                        gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
                };
 
-               wlan {
+               led_wlan: wlan {
                        label = "ai-br100:blue:wlan";
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };