ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7620a_planex_mzk-ex300np.dts
index 2879f6d870f4733e660e4e5bd535eda5b589b2a0..754abf879ae9892ecc1dc90bc77715d91c51df6a 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 = "planex,mzk-ex300np", "ralink,mt7620a-soc";
@@ -23,7 +24,8 @@
                };
 
                led_wps: wps {
-                       label = "green:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
                };