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