ramips: Use dts alias based status led
[openwrt/staging/jow.git] / target / linux / ramips / dts / WL-330N3G.dts
index 3801a9d9efc6d0463189b7d0a7b739e12ae92f63..7e56da93c291fdfec8d2189a986ffced28d4c08b 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "asus,wl-330n3g", "ralink,rt3050-soc";
        model = "Asus WL-330N3G";
 
+       aliases {
+               led-status = &led_power;
+       };
+
        gpio-leds {
                compatible = "gpio-leds";
 
@@ -22,7 +26,7 @@
                        gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
                };
 
-               power {
+               led_power: power {
                        label = "wl-330n3g:blue:power";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };