#include "vr9.dtsi"
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
#include <dt-bindings/mips/lantiq_rcu_gphy.h>
/ {
compatible = "gpio-leds";
power: power {
- label = "green:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&stp 9 GPIO_ACTIVE_HIGH>;
default-state = "keep";
};
linux,default-trigger = "usbport";
};
sd {
- label = "green:sd";
+ function = LED_FUNCTION_SD;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&stp 14 GPIO_ACTIVE_HIGH>;
};
wps {
- label = "green:wps";
+ function = LED_FUNCTION_WPS;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&stp 12 GPIO_ACTIVE_HIGH>;
};
};