#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
compatible = "trendnet,tew-692gr", "ralink,rt3883-soc";
read-only;
};
- factory: partition@40000 {
+ partition@40000 {
reg = <0x00040000 0x00010000>;
label = "factory";
read-only;
compatible = "gpio-leds";
wps {
- label = "orange:wps";
+ function = LED_FUNCTION_WPS;
+ color = <LED_COLOR_ID_ORANGE>;
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
led_wps_green: wps2 {
- label = "green:wps";
+ function = LED_FUNCTION_WPS;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
};
};