bmips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / bmips / dts / bcm6368-observa-vh4032n.dts
index 8d6135fbdd1c09a9932a7c0dd6730b43e2e0ad06..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;
                };
                #address-cells = <1>;
                #size-cells = <1>;
 
-               cfe: partition@0 {
+               partition@0 {
                        label = "CFE";
                        reg = <0x0000000 0x0020000>;
                        read-only;