lantiq: convert to new LED color/function format where possible
[openwrt/staging/wigyori.git] / target / linux / lantiq / files / arch / mips / boot / dts / lantiq / vr9_zyxel_p-2812hnu-fx.dtsi
index ff7dce3477abd59f2debd8f906a05aee6479539d..89b7e3e98fbf81f881b4db81831c921e15e42d82 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>
 
 / {
                        gpios = <&stp 19 GPIO_ACTIVE_LOW>;
                };
                wireless_orange {
-                       label = "orange:wlan";
+                       function = LED_FUNCTION_WLAN;
+                       color = <LED_COLOR_ID_ORANGE>;
                        gpios = <&stp 20 GPIO_ACTIVE_LOW>;
                };
                wireless_green: wireless_green {
-                       label = "green:wlan";
+                       function = LED_FUNCTION_WLAN;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&stp 21 GPIO_ACTIVE_LOW>;
                };
                power_red: power {
-                       label = "red:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_RED>;
                        gpios = <&stp 22 GPIO_ACTIVE_LOW>;
                };
                power_green: power2 {
-                       label = "green:power";
+                       function = LED_FUNCTION_POWER;
+                       color = <LED_COLOR_ID_GREEN>;
                        gpios = <&stp 23 GPIO_ACTIVE_LOW>;
                        default-state = "keep";
                };