ramips: Use dts alias based status led
[openwrt/openwrt.git] / target / linux / ramips / dts / R6220.dts
index 7d886725e15cb6e6e237bd7f2109b488b5013187..320ca801ac5ed93a7a26941aa8d9365bd58f0da6 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "netgear,r6220", "mediatek,mt7621-soc";
        model = "Netgear R6220";
 
+       aliases {
+               led-status = &led_power;
+       };
+
        memory@0 {
                device_type = "memory";
                reg = <0x0 0x8000000>;
@@ -21,7 +25,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               power {
+               led_power: power {
                        label = "r6220:green:power";
                        gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
                };