ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7620n_comfast_cf-wr800n.dts
index 19e968bf948a38ccdb7ad62c08f99d707f65df34..5ba4d812b25a344ee83bb2f0fa532311b559dd56 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 = "comfast,cf-wr800n", "ralink,mt7620n-soc";
@@ -32,7 +33,8 @@
                };
 
                led_wps: wps {
-                       label = "white:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_WHITE>;
                        gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
                };
        };