ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7620a_alfa-network_ac1200rm.dts
index 8ac74f70628a23c04fec565e420a39ec70c9f436..52f0b49771798ae30ffc3ddd7d7c75ac1af1db17 100644 (file)
@@ -8,6 +8,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "alfa-network,ac1200rm", "ralink,mt7620a-soc";
@@ -41,7 +42,8 @@
                };
 
                led_wps: wps {
-                       label = "green:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
                };
        };