bmips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / bmips / dts / bcm6358-huawei-hg556a-b.dts
index c2693fa716070237a0cbf66b8bb33178ed223b76..554ef1993e7b4586eca83a2548f0dacaa337b81b 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later
 
+#include <dt-bindings/leds/common.h>
+
 #include "bcm6358.dtsi"
 
 / {
@@ -65,7 +67,8 @@
                };
 
                led_power_red: led@3 {
-                       label = "red:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
                };
 
                compatible = "gpio-leds";
 
                wlan {
-                       label = "red:wlan";
+                       function = LED_FUNCTION_WLAN;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&ath9k 2 GPIO_ACTIVE_HIGH>;
                        linux,default-trigger = "phy0tpt";
                };