ramips: Use dts alias based status led
[openwrt/staging/jow.git] / target / linux / ramips / dts / MZK-W300NH2.dts
index d96ea609407efefd11a7f27ff60dc5a052ce7a8b..558450c07da6a779dfb00663e33e856832038f3b 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "planex,mzk-w300nh2", "ralink,rt3052-soc";
        model = "Planex MZK-W300NH2";
 
+       aliases {
+               led-status = &led_power;
+       };
+
        cfi@1f000000 {
                compatible = "cfi-flash";
                reg = <0x1f000000 0x800000>;
@@ -50,7 +54,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               power {
+               led_power: power {
                        label = "mzk-w300nh2:green:power";
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };