ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7628an_kroks_kndrt31r19.dts
index eb36c986f6d4c2ac512c45da77f775a3fa409474..d641fa078f9f44f37eb25bfa872c71d9ee5d081d 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+#include <dt-bindings/leds/common.h>
+
 #include "mt7628an_kroks.dtsi"
 
 / {
@@ -8,7 +10,8 @@
 
        leds {
                status {
-                       label = "red:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_RED>;
                };
 
                wifi {