#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";
};