ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt2880_dlink_dap-1522-a1.dts
index 105a3c49d486ca7df07650d6f0cef064345d6663..3e8a42e18a15631b45f9b1dc6fa67f4a52844dca 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,dap-1522-a1", "ralink,rt2880-soc";
                compatible = "gpio-leds";
 
                wps {
-                       label = "blue:wps";
+                       function = LED_FUNCTION_WPS;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio2 17 GPIO_ACTIVE_LOW>;
                };
 
                };
 
                led_status: status {
-                       label = "blue:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
                };
        };