bmips: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / bmips / dts / bcm6328-comtrend-ar-5381u.dts
index 09e6f99389160c2c8e73536a27224426f5c1d8ea..d5a3452e7911e0545b971fc80427b8bd03c26770 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later
 
+#include <dt-bindings/leds/common.h>
+
 #include "bcm6328.dtsi"
 
 / {
        led_alarm_red: led@2 {
                reg = <2>;
                active-low;
-               label = "red:alarm";
+               function = LED_FUNCTION_ALARM;
+               color = <LED_COLOR_ID_RED>;
                panic-indicator;
        };
 
        led_power_green: led@4 {
                reg = <4>;
                active-low;
-               label = "green:power";
+               function = LED_FUNCTION_POWER;
+               color = <LED_COLOR_ID_GREEN>;
        };
 };