#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
compatible = "comfast,cf-wr800n", "ralink,mt7620n-soc";
};
led_wps: wps {
- label = "white:wps";
+ function = LED_FUNCTION_WPS;
+ color = <LED_COLOR_ID_WHITE>;
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
};
};