ramips: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_wavlink_ws-wn572hp3-4g.dts
index 55e828a29557f19927b29a42cf1a91e3a265e6ad..c673eb8497ced3c41924efa93d5b8d6d084ec9a2 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "wavlink,ws-wn572hp3-4g", "mediatek,mt7621-soc";
@@ -50,7 +51,8 @@
                };
 
                led_status_blue: status_blue {
-                       label = "blue:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
                };