kirkwood: convert to new LED color/function format where possible
[openwrt/staging/robimarko.git] / target / linux / kirkwood / files / arch / arm / boot / dts / kirkwood-nas1.dts
index a8d86406b533432317934e933b7f57cfeb60bec0..379db8acd8a81e2e3909626d854731d6907632f1 100644 (file)
@@ -1,6 +1,8 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 /dts-v1/;
 
+#include <dt-bindings/leds/common.h>
+
 #include "kirkwood.dtsi"
 #include "kirkwood-6281.dtsi"
 
@@ -43,7 +45,8 @@
                };
 
                usb {
-                       label = "blue:usb";
+                       function = LED_FUNCTION_USB;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
                        trigger-sources = <&ehci_port1>;
                        linux,default-trigger = "usbport";