ath79: convert to new LED color/function format where possible
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9531_qxwlan_e600g-v2-16m.dts
index d6e23bef12067f4038c053171b318d3c72600c85..c3c313f3c67eda19fad5ed0a822659bd6ae93ef4 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+#include <dt-bindings/leds/common.h>
+
 #include "qca9531_qxwlan_e600g.dtsi"
 
 / {
@@ -9,7 +11,8 @@
 
 &leds {
        wlan {
-               label = "blue:wlan";
+               function = LED_FUNCTION_WLAN;
+               color = <LED_COLOR_ID_BLUE>;
                gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
                linux,default-trigger = "phy0tpt";
        };