bmips: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / bmips / dts / bcm6368-observa-vh4032n.dts
index 0f74c4b902df0cc9dbffae7e079ece6e5718d022..f9fefaccb8103ca92277cf086a28f75f70ddb0be 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later
 
+#include <dt-bindings/leds/common.h>
+
 #include "bcm6368.dtsi"
 
 / {
                };
 
                led_power_blue: led@22 {
-                       label = "blue:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
                };
 
                led_power_red: led@24 {
-                       label = "red:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 24 GPIO_ACTIVE_HIGH>;
                        panic-indicator;
                };