|
|
@@ -5,6 +5,7 @@
|
|
|
#include "ipq8074-ess.dtsi"
|
|
|
|
|
|
#include <dt-bindings/input/input.h>
|
|
|
+#include <dt-bindings/leds/common.h>
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
|
|
/ {
|
|
|
@@ -61,12 +62,14 @@
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
led_power_amber: led_power {
|
|
|
- label = "amber:power";
|
|
|
+ function = LED_FUNCTION_POWER;
|
|
|
+ color = <LED_COLOR_ID_AMBER>;
|
|
|
gpios = <&led_gpio 1 GPIO_ACTIVE_HIGH>;
|
|
|
};
|
|
|
|
|
|
led_lan {
|
|
|
- label = "blue:lan";
|
|
|
+ function = LED_FUNCTION_LAN;
|
|
|
+ color = <LED_COLOR_ID_BLUE>;
|
|
|
gpios = <&led_gpio 2 GPIO_ACTIVE_HIGH>;
|
|
|
};
|
|
|
|