ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7628an_kroks_kndrt31r16.dts
index b0b41f0420d91a4245a2f066d287a09a543f032d..8e1c6d81740f2543948245b7ad60f84f1f1d7fa8 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 = "green:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 2 GPIO_ACTIVE_HIGH>;
                };