#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
compatible = "xzwifi,creativebox-v1", "mediatek,mt7621-soc";
compatible = "gpio-leds";
power {
- label = "blue:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_BLUE>;
gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
default-state = "on";
};