#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
compatible = "trendnet,tew-638apb-v2", "ralink,rt3050-soc";
compatible = "gpio-leds";
wps {
- label = "orange:wps";
+ function = LED_FUNCTION_WPS;
+ color = <LED_COLOR_ID_ORANGE>;
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};
led_wps_green: wps2 {
- label = "green:wps";
+ function = LED_FUNCTION_WPS;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
};