ramips: Use dts alias based status led
[openwrt/openwrt.git] / target / linux / ramips / dts / U7621-06.dtsi
index 0502904bd02441a3f72fa7527c20802ffd5de9cb..95c23015fe4636c3f3b611d7a4a0d4b9e2fb5a1c 100644 (file)
 / {
        compatible = "unielec,u7621-06", "mediatek,mt7621-soc";
 
+       aliases {
+               led-status = &led_status;
+       };
+
        chosen {
                bootargs = "console=ttyS0,115200";
        };
@@ -71,7 +75,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               status {
+               led_status: status {
                        label = "u7621-06:green:status";
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };