ath79: convert to new LED color/function format where possible
[openwrt/staging/robimarko.git] / target / linux / ath79 / dts / ar9344_winchannel_wb2000.dts
index 4b692b6d9bb3ab4183065e00af3bea3b865b4bb8..145ff0418ed722855f8b801c9a94bd860fa81f44 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        model = "Winchannel WB2000";
@@ -44,7 +45,8 @@
                };
 
                usb {
-                       label = "green:usb";
+                       function = LED_FUNCTION_USB;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 21 GPIO_ACTIVE_HIGH>;
                        trigger-sources = <&hub_port>;
                        linux,default-trigger = "usbport";