ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7620a_phicomm_psg1208.dts
index 74faef8dea62f1ad09959ee2d010044a1d6bdb91..da325062ab7bdc93a5e8f81af979d3554553ac72 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 = "phicomm,psg1208", "ralink,mt7620a-soc";
@@ -18,7 +19,8 @@
                compatible = "gpio-leds";
 
                led_wps: wps {
-                       label = "white:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_WHITE>;
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };