ramips: Use dts alias based status led
[openwrt/staging/hauke.git] / target / linux / ramips / dts / WL-330N.dts
index 0eb7b7ff78c7a1bdd545723cfb9383f8fd8e3975..b3599403ef8905a67e1e3c8485e9836de546a15c 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "asus,wl-330n", "ralink,rt3050-soc";
        model = "Asus WL-330N";
 
+       aliases {
+               led-status = &led_power;
+       };
+
        gpio-leds {
                compatible = "gpio-leds";
 
@@ -17,7 +21,7 @@
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
 
-               power {
+               led_power: power {
                        label = "wl-330n:blue:power";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };