ramips: Use dts alias based status led
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / RT-N14U.dts
index 8ae4580b9b43c6562728cfc709453fafcf445a5d..781ce3f7142f132be4ece8ee89ad8e449b83ae3c 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "asus,rt-n14u", "ralink,mt7620n-soc";
        model = "Asus RT-N14U";
 
+       aliases {
+               led-status = &led_power;
+       };
+
        gpio-leds {
                compatible = "gpio-leds";
 
@@ -27,7 +31,7 @@
                        gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
                };
 
-               power {
+               led_power: power {
                        label = "rt-n14u:blue:power";
                        gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
                };