ramips: Use dts alias based status led
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / RE350.dts
index 2f3bb1245cf9e79d590c485ea047f606b2416496..8cf0b35110d56181b11663ef05165294a1a82324 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "tplink,re350-v1", "mediatek,mt7621-soc";
        model = "TP-LINK RE350 v1";
 
+       aliases {
+               led-status = &led_power;
+       };
+
        memory@0 {
                device_type = "memory";
                reg = <0x0 0x4000000>;
@@ -21,7 +25,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               power {
+               led_power: power {
                        label = "re350-v1:blue:power";
                        gpios = <&gpio0 22 GPIO_ACTIVE_LOW>;
                };