lantiq: convert to new LED color/function format where possible
[openwrt/staging/wigyori.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / vr9_arcadyan_vg3503j.dts
index fb771edcb7e65dba17759ec0e4a0bb41b472ff56..9238fba5d639677262f4b1c0bd6b10899fd9e965 100644 (file)
@@ -1,6 +1,7 @@
 #include "vr9.dtsi"
 
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
 
 / {
@@ -39,7 +40,8 @@
                compatible = "gpio-leds";
 
                power_red: power2 {
-                       label = "red:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
                };
                dsl: dsl {
@@ -47,7 +49,8 @@
                        gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
                };
                power_green: power {
-                       label = "green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
                        default-state = "keep";
                };