#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
/ {
compatible = "sercomm,na502", "mediatek,mt7621-soc";
compatible = "gpio-leds";
led_power: power {
- label = "green:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
};
};
bluetooth {
- label = "green:bluetooth";
+ function = LED_FUNCTION_BLUETOOTH;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
};
};