#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
compatible = "belkin,f7c027", "ralink,rt5350-soc";
compatible = "gpio-leds";
status {
- label = "blue:status";
+ function = LED_FUNCTION_STATUS;
+ color = <LED_COLOR_ID_BLUE>;
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
};
power {
- label = "blue:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_BLUE>;
gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
led_status_orange: orange {
- label = "orange:status";
+ function = LED_FUNCTION_STATUS;
+ color = <LED_COLOR_ID_ORANGE>;
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
};