ramips: convert to new LED color/function format where possible
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7621_wavlink_wl-wn53xax.dtsi
index 7df61c4eb30d2045b244f98e8686c98bb559d1c4..b33a288620f0ca3556247d4576bd51aff4c619d9 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        aliases {
                compatible = "gpio-leds";
 
                led_status_blue: status_blue {
-                       label = "blue:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
                };
 
                led_status_red: status_red {
-                       label = "red:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 17 GPIO_ACTIVE_HIGH>;
                };