bmips: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / bmips / dts / bcm6328-comtrend-ar-5387un.dts
index 7ee87c636ec4e449a49fb35a6f69097d8a0235b5..402e54e5df7392c61f772aae2b756fe24240421d 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later
 
+#include <dt-bindings/leds/common.h>
+
 #include "bcm6328.dtsi"
 
 / {
 
        led_power_red: led@4 {
                reg = <4>;
-               label = "red:power";
+               function = LED_FUNCTION_POWER;
+               color = <LED_COLOR_ID_RED>;
                panic-indicator;
        };
 
 
        led_power_green: led@8 {
                reg = <8>;
-               label = "green:power";
+               function = LED_FUNCTION_POWER;
+               color = <LED_COLOR_ID_GREEN>;
        };
 
        led@11 {