ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt3052_accton_wr6202.dts
index a62f7757c7f80a96d67c27a28d79dca2929cfc45..7e79f4260c7370850906221767524f1a979fa119 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 = "accton,wr6202", "ralink,rt3052-soc";
@@ -15,7 +16,8 @@
                compatible = "gpio-leds";
 
                wps {
-                       label = "blue:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
                };