ath79: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / ath79 / dts / qca9531_qxwlan_e600g-v2-8m.dts
index ff6bdd481520491294f5274a953dc9b68c75e30c..c417a8ff4cbb6a1ff769a66fdca7495f0ff6f682 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";
        };