ramips: Use dts alias based status led
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / HC5661A.dts
index 9ca734f0a655d46d434ff0b390d0cdc22788dfe8..57b86cf0693a77ed6f581eb22c35c6612058c8c6 100644 (file)
@@ -9,6 +9,10 @@
        compatible = "hiwifi,hc5661a", "mediatek,mt7628an-soc";
        model = "HiWiFi HC5661A";
 
+       aliases {
+               led-status = &led_system;
+       };
+
        chosen {
                bootargs = "console=ttyS0,115200";
        };
@@ -21,7 +25,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               system {
+               led_system: system {
                        label = "hc5661a:blue:system";
                        gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
                };