#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
compatible = "dlink,dcs-930", "ralink,rt3050-soc";
};
led_status: status {
- label = "green:status";
+ function = LED_FUNCTION_STATUS;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wps {
- label = "blue:wps";
+ function = LED_FUNCTION_WPS;
+ color = <LED_COLOR_ID_BLUE>;
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
};
};