ath79: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ath79 / dts / qca9561_tplink_archer-c60-v3.dts
index d84ba25db4ab7749c5b01f9e42ee39ba63fbfc61..ede6878d5c1607f5dc80cd6d8f35cef2deb9222c 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-c6x.dtsi"
 
 / {
@@ -13,7 +15,8 @@
 
 &leds {
        wan_amber {
-               label = "amber:wan";
+               function = LED_FUNCTION_WAN;
+               color = <LED_COLOR_ID_AMBER>;
                gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
        };
 };