ramips: Use dts alias based status led
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / ArcherC50V3.dts
index ebb76abcd8ce7b6569d2acd17e2a75b55add2e21..93d9a34ccf588a125e3fe93f49bc90077d2e3da5 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "tplink,c50-v3", "mediatek,mt7628an-soc";
        model = "TP-Link Archer C50 v3";
 
+       aliases {
+               led-status = &led_power;
+       };
+
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
@@ -36,7 +40,7 @@
                        gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
                };
 
-               power {
+               led_power: power {
                        label = "c50-v3:green:power";
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };