ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt3883_trendnet_tew-691gr.dts
index f23dc1cb03909898284d9a4c9040b020e5a00de2..e982741435913d9cdc3fbeb0f40303b71c59e76f 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "trendnet,tew-691gr", "ralink,rt3883-soc";
@@ -93,7 +94,8 @@
                compatible = "gpio-leds";
 
                led_wps: wps {
-                       label = "green:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
                };
        };