bcm63xx: convert to new LED color/function format where possible
[openwrt/staging/stintel.git] / target / linux / bcm63xx / dts / bcm6358-huawei-echolife-hg556a.dtsi
index 09a21f7ad73559ce3acde8b3446eea97255f9de2..f64e02e1c53c3fa292cf13b923d7fd894415584e 100644 (file)
@@ -1,6 +1,7 @@
 #include "bcm6358.dtsi"
 
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        aliases {
@@ -52,7 +53,8 @@
                };
 
                led_power_red: power_red {
-                       label = "red:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&pinctrl 3 1>;
                        default-state = "on";
                };