ath79: convert to new LED color/function format where possible
[openwrt/staging/wigyori.git] / target / linux / ath79 / dts / qca9533_mikrotik_routerboard-wapr-2nd.dts
index 19ada708d99083a3658b09e7de82a57b792069c4..942030e4c9a6f3182366652e37c0bf27ac062600 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+#include <dt-bindings/leds/common.h>
+
 #include "qca9533_mikrotik_routerboard-16m.dtsi"
 
 / {
@@ -33,7 +35,8 @@
                };
 
                wlan {
-                       label = "green:wlan";
+                       function = LED_FUNCTION_WLAN;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy0tpt";
                };