#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
compatible = "planex,cs-qr10", "ralink,mt7620a-soc";
compatible = "gpio-leds";
led_power: power {
- label = "red:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_RED>;
gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
};
};