ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7620a_lb-link_bl-w1200.dts
index cefc3c3e925de81972ac442acbd7ae92aa7af8da..41bca0bbc320ee7a80e65e47495166cab1d4e53e 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 = "lb-link,bl-w1200", "ralink,mt7620a-soc";
@@ -29,7 +30,8 @@
                compatible = "gpio-leds";
 
                led_wps: wps {
-                       label = "green:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
        };