ramips: Use dts alias based status led
[openwrt/staging/jow.git] / target / linux / ramips / dts / MZK-750DHP.dts
index f9f02550cae4d20274ce721a04660cfda5649971..3f4db949e442ddd8c78fd62e67828c78a6911fb8 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "planex,mzk-750dhp", "ralink,mt7620a-soc";
        model = "Planex MZK-750DHP";
 
+       aliases {
+               led-status = &led_power;
+       };
+
        gpio-leds {
                compatible = "gpio-leds";
 
@@ -17,7 +21,7 @@
                        gpios = <&gpio2 15 GPIO_ACTIVE_LOW>;
                };
 
-               power {
+               led_power: power {
                        label = "mzk-750dhp:green:power";
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };