ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt3662_dlink_dir-645.dts
index 87d52d679c120a15b353f1addb165ab01481c5ce..19d15bed597a62e3893569f387a30ab0ec2ffde7 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 = "dlink,dir-645", "ralink,rt3662-soc", "ralink,rt3883-soc";
@@ -47,7 +48,8 @@
                };
 
                led_wps: wps {
-                       label = "green:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio1 2 GPIO_ACTIVE_HIGH>;
                };
        };