ath79: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9344_tplink_tl-wdr3500-v1.dts
index a66e1fefa25eed20bf3094581c41cc581ce4245a..013b44a1239e43c8e8bf2a1df6193ffadac16c82 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+#include <dt-bindings/leds/common.h>
+
 #include "ar9344_tplink_tl-wdrxxxx.dtsi"
 
 / {
@@ -13,7 +15,8 @@
 
 &leds {
        usb {
-               label = "green:usb";
+               function = LED_FUNCTION_USB;
+               color = <LED_COLOR_ID_GREEN>;
                gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                linux,default-trigger = "usbport";
                trigger-sources = <&hub_port>;