ath79: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ath79 / dts / qca9531_glinet_gl-ar300m-lite.dts
index c712236114cc3d0637f0c4fbc6318fd610f409ac..f83618aface5750fdf605ff27c101f09f4aac207 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+#include <dt-bindings/leds/common.h>
+
 #include "qca9531_glinet_gl-ar300m.dtsi"
 
 / {
 };
 
 &led_status {
-       label = "red:status";
+       function = LED_FUNCTION_STATUS;
+       color = <LED_COLOR_ID_RED>;
 };
 
 &led_wlan {
-       label = "green:wlan";
+       function = LED_FUNCTION_WLAN;
+       color = <LED_COLOR_ID_GREEN>;
 };