projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lantiq: convert to new LED color/function format where possible
[openwrt/openwrt.git]
/
target
/
linux
/
lantiq
/
files
/
arch
/
mips
/
boot
/
dts
/
lantiq
/
vr9_arcadyan_vgv7519.dtsi
diff --git
a/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_arcadyan_vgv7519.dtsi
b/target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_arcadyan_vgv7519.dtsi
index 71046cfd58c68af90aef3e4c7ef6c1b4c27886c7..e0bcaa951b31e735593aecfeeda823cf27a03d7b 100644
(file)
--- a/
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_arcadyan_vgv7519.dtsi
+++ b/
target/linux/lantiq/files/arch/mips/boot/dts/lantiq/vr9_arcadyan_vgv7519.dtsi
@@
-1,6
+1,7
@@
#include "vr9.dtsi"
#include <dt-bindings/input/input.h>
#include "vr9.dtsi"
#include <dt-bindings/input/input.h>
+#include <dt-bindings/leds/common.h>
#include <dt-bindings/mips/lantiq_rcu_gphy.h>
/ {
#include <dt-bindings/mips/lantiq_rcu_gphy.h>
/ {
@@
-59,11
+60,13
@@
gpios = <&stp 2 GPIO_ACTIVE_LOW>;
};
wps_red {
gpios = <&stp 2 GPIO_ACTIVE_LOW>;
};
wps_red {
- label = "red:wps";
+ function = LED_FUNCTION_WPS;
+ color = <LED_COLOR_ID_RED>;
gpios = <&stp 3 GPIO_ACTIVE_LOW>;
};
wps_green {
gpios = <&stp 3 GPIO_ACTIVE_LOW>;
};
wps_green {
- label = "green:wps";
+ function = LED_FUNCTION_WPS;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&stp 4 GPIO_ACTIVE_LOW>;
};
upgrade {
gpios = <&stp 4 GPIO_ACTIVE_LOW>;
};
upgrade {
@@
-103,12
+106,14
@@
gpios = <&stp 13 GPIO_ACTIVE_LOW>;
};
power_green: power2 {
gpios = <&stp 13 GPIO_ACTIVE_LOW>;
};
power_green: power2 {
- label = "green:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_GREEN>;
gpios = <&stp 14 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
power_red: power {
gpios = <&stp 14 GPIO_ACTIVE_LOW>;
default-state = "keep";
};
power_red: power {
- label = "red:power";
+ function = LED_FUNCTION_POWER;
+ color = <LED_COLOR_ID_RED>;
gpios = <&stp 15 GPIO_ACTIVE_LOW>;
};
};
gpios = <&stp 15 GPIO_ACTIVE_LOW>;
};
};