#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
compatible = "trendnet,tew-673gru", "qca,ar7161";
compatible = "gpio-leds";
led_wps: wps {
- label = "blue:wps";
+ function = LED_FUNCTION_WPS;
+ color = <LED_COLOR_ID_BLUE>;
gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
};
};