ramips: Use dts alias based status led
[openwrt/openwrt.git] / target / linux / ramips / dts / EX3700.dts
index 18079ea79cebf60d21911146af8dce7d0ffc2f7b..5dd6929b8c1d72ca9e4ff8fd358b9bb7acaf3cfd 100644 (file)
        compatible = "netgear,ex3700", "ralink,mt7620a-soc";
        model = "Netgear EX3700/EX3800";
 
+       aliases {
+               led-status = &led_power_green;
+       };
+
        chosen {
                bootargs = "console=ttyS0,57600";
        };
@@ -18,7 +22,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               power_g {
+               led_power_green: power_g {
                        label = "ex3700:green:power";
                        gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
                        default-state = "on";