ramips: convert to new LED color/function format where possible
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / mt7621_bolt_arion.dts
index 83855f9dc898bf0985b518d87ff4a5f6c725573e..4dedb12eadc8bdfc0a628ded90c90b6607f3a0bc 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 = "bolt,arion", "mediatek,mt7621-soc";
                compatible = "gpio-leds";
 
                led_wlan_blue: wlan_blue {
-                       label = "blue:wlan";
+                       function = LED_FUNCTION_WLAN;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
                };
 
                led_wlan_red: wlan_red {
-                       label = "red:wlan";
+                       function = LED_FUNCTION_WLAN;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 86 GPIO_ACTIVE_LOW>;
                };