ramips: convert to new LED color/function format where possible
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7620n_nexx_wt3020.dtsi
index 8903ab5c36ab46a9409a96708b21231a3e93af56..d53f3a9198af068ff09e37885317b06c759fbab6 100644 (file)
@@ -2,6 +2,7 @@
 
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 
 / {
        compatible = "nexx,wt3020", "ralink,mt7620n-soc";
@@ -28,7 +29,8 @@
                compatible = "gpio-leds";
 
                led_power: power {
-                       label = "blue:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_BLUE>;
                        gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
                };
        };