ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7628an_iptime_a604m.dts
index 2f626f1adf7031dbd27cf1c0ba94a3d39eed5b42..cbc2f3027f9f49a4bda9e119e970f965f40058c6 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+#include <dt-bindings/leds/common.h>
+
 #include "mt7628an_iptime.dtsi"
 
 / {
@@ -23,7 +25,8 @@
                };
 
                led_cpu: cpu {
-                       label = "blue:cpu";
+                       function = LED_FUNCTION_CPU;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
                };