bmips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / bmips / dts / bcm6368-comtrend-vr-3025un.dts
index fb86adb899103355c5429428785f7e1e4f61fbd1..a0beba2c0ce1c034bb941d0459a30dde685df137 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_green: led@22 {
-                       label = "green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        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 = <0x000000 0x010000>;
                        read-only;