ramips: Use dts alias based status led
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / HT-TM02.dts
index a2874725013fda81ea15b95c9ff7eea8911c4747..fa93836d434d2b7306082f66ee164d680aefda37 100644 (file)
@@ -9,10 +9,14 @@
        compatible = "hootoo,ht-tm02", "ralink,rt5350-soc";
        model = "HooToo HT-TM02";
 
+       aliases {
+               led-status = &led_wlan;
+       };
+
        gpio-leds {
                compatible = "gpio-leds";
 
-               wlan {
+               led_wlan: wlan {
                        label = "ht-tm02:blue:wlan";
                        gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
                };