ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / rt3662_edimax_br-6475nd.dts
index 60ec3dacf501c25645fa3836534b47d30fc4402d..0811c24934828dcdd08c2dba02fc8184c0bbacfb 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 #include <dt-bindings/mtd/partitions/uimage.h>
 
 / {
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
                };
 
                wlan {
-                       label = "amber:wlan";
+                       function = LED_FUNCTION_WLAN;
+                       color = <LED_COLOR_ID_AMBER>;
                        gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
                };