mediatek: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / mediatek / dts / mt7622-totolink-a8000ru.dts
index 776d38d1e31dcbd3965ea76f4497b5f23333e3bd..5ec07128baaa7620b61e1543cf98934096276d25 100644 (file)
@@ -2,6 +2,7 @@
 
 /dts-v1/;
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 #include <dt-bindings/gpio/gpio.h>
 
 #include "mt7622.dtsi"
@@ -57,7 +58,8 @@
                compatible = "gpio-leds";
 
                led_status: status_red {
-                       label = "red:status";
+                       function = LED_FUNCTION_STATUS;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&pio 81 GPIO_ACTIVE_LOW>;
                        default-state = "on";
                };