ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7621_raisecom_msg1500-x-00.dts
index 4a9e420370a47b92397094d5fa7d9d5d16041645..dbdce76ee07521ea7f1216c4ebf8cb4e0969eeca 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "raisecom,msg1500-x-00", "mediatek,mt7621-soc";
@@ -32,7 +33,8 @@
                };
 
                led_usb: usb {
-                       label = "blue:usb";
+                       function = LED_FUNCTION_USB;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ehci_port2>;
                        linux,default-trigger = "usbport";