ramips: Use dts alias based status led
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / ZBT-WG3526.dtsi
index 104a51f8de7110c0f65f760af70033853f3da745..99a976d99a7900a37e16eae01125f80893d35e70 100644 (file)
@@ -6,6 +6,10 @@
 / {
        compatible = "zbtlink,zbt-wg3526", "mediatek,mt7621-soc";
 
+       aliases {
+               led-status = &led_status;
+       };
+
        memory@0 {
                device_type = "memory";
                reg = <0x0 0x1c000000>, <0x20000000 0x4000000>;
@@ -37,7 +41,7 @@
        gpio-leds {
                compatible = "gpio-leds";
 
-               status {
+               led_status: status {
                        label = "zbt-wg3526:green:status";
                        gpios = <&gpio0 24 GPIO_ACTIVE_LOW>;
                };