|
|
@@ -1,6 +1,7 @@
|
|
|
#include "danube.dtsi"
|
|
|
|
|
|
#include <dt-bindings/input/input.h>
|
|
|
+#include <dt-bindings/leds/common.h>
|
|
|
|
|
|
/ {
|
|
|
compatible = "arcadyan,arv7518pw", "lantiq,xway", "lantiq,danube";
|
|
|
@@ -46,7 +47,8 @@
|
|
|
leds {
|
|
|
compatible = "gpio-leds";
|
|
|
power_green: power {
|
|
|
- label = "green:power";
|
|
|
+ function = LED_FUNCTION_POWER;
|
|
|
+ color = <LED_COLOR_ID_GREEN>;
|
|
|
gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
|
|
|
default-state = "keep";
|
|
|
};
|
|
|
@@ -59,11 +61,13 @@
|
|
|
gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
|
|
|
};
|
|
|
wifi: wifi {
|
|
|
- label = "green:wlan";
|
|
|
+ function = LED_FUNCTION_WLAN;
|
|
|
+ color = <LED_COLOR_ID_GREEN>;
|
|
|
gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
|
|
|
};
|
|
|
power_red: power2 {
|
|
|
- label = "red:power";
|
|
|
+ function = LED_FUNCTION_POWER;
|
|
|
+ color = <LED_COLOR_ID_RED>;
|
|
|
gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
|
|
|
};
|
|
|
online2 {
|
|
|
@@ -71,7 +75,8 @@
|
|
|
gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
|
|
|
};
|
|
|
led_usb: usb {
|
|
|
- label = "green:usb";
|
|
|
+ function = LED_FUNCTION_USB;
|
|
|
+ color = <LED_COLOR_ID_GREEN>;
|
|
|
gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
|
|
|
};
|
|
|
voice {
|
|
|
@@ -91,15 +96,18 @@
|
|
|
gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>;
|
|
|
};
|
|
|
wps {
|
|
|
- label = "amber:wps";
|
|
|
+ function = LED_FUNCTION_WPS;
|
|
|
+ color = <LED_COLOR_ID_AMBER>;
|
|
|
gpios = <&gpiomm 4 GPIO_ACTIVE_LOW>;
|
|
|
};
|
|
|
wps2 {
|
|
|
- label = "green:wps";
|
|
|
+ function = LED_FUNCTION_WPS;
|
|
|
+ color = <LED_COLOR_ID_GREEN>;
|
|
|
gpios = <&gpiomm 5 GPIO_ACTIVE_LOW>;
|
|
|
};
|
|
|
wps3 {
|
|
|
- label = "red:wps";
|
|
|
+ function = LED_FUNCTION_WPS;
|
|
|
+ color = <LED_COLOR_ID_RED>;
|
|
|
gpios = <&gpiomm 6 GPIO_ACTIVE_LOW>;
|
|
|
};
|
|
|
};
|