ramips: convert to new LED color/function format where possible
[openwrt/staging/jow.git] / target / linux / ramips / dts / mt7620a_tplink_re210-v1.dts
index 57cd0ed539f8bc425f6f20e7f63030de30248bc4..c92c6e7f0d62577733d5e1efd49fcc4440cde0e9 100644 (file)
@@ -1,5 +1,7 @@
 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
 
+#include <dt-bindings/leds/common.h>
+
 #include "mt7620a_tplink_re2x0-v1.dtsi"
 
 / {
@@ -17,7 +19,8 @@
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio1 3 GPIO_ACTIVE_LOW>;
                };