aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/files
diff options
context:
space:
mode:
authorHenryk Heisig <hyniu@o2.pl>2016-09-30 21:36:50 +0200
committerJohn Crispin <john@phrozen.org>2016-10-15 11:36:50 +0200
commit4bdf615878dd98106b3fdb9e092f7349b1a8d39f (patch)
tree865935e331bc8d3435a2fd0ed14107d12c12d1d3 /target/linux/ipq806x/files
parent36afaae847135144611962eafd33e9c69ff5e1e2 (diff)
downloadupstream-4bdf615878dd98106b3fdb9e092f7349b1a8d39f.tar.gz
upstream-4bdf615878dd98106b3fdb9e092f7349b1a8d39f.tar.bz2
upstream-4bdf615878dd98106b3fdb9e092f7349b1a8d39f.zip
ipq806x: add support for indicating the boot and upgrade state using four leds
Signed-off-by: Henryk Heisig hyniu@o2.pl
Diffstat (limited to 'target/linux/ipq806x/files')
-rw-r--r--target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts9
-rw-r--r--target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts7
2 files changed, 13 insertions, 3 deletions
diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts
index 96c5c5d94e..c0a8a442ab 100644
--- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts
+++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts
@@ -23,6 +23,11 @@
aliases {
serial0 = &uart4;
mdio-gpio0 = &mdio0;
+
+ led-boot = &power;
+ led-failsafe = &ledgnr;
+ led-running = &power;
+ led-upgrade = &ledgnr;
};
chosen {
@@ -395,12 +400,12 @@
label = "c2600:blue:wan";
gpios = <&qcom_pinmux 33 1>;
};
- status {
+ power: status {
label = "c2600:blue:status";
gpios = <&qcom_pinmux 53 0>;
default-state = "on";
};
- ledgnr {
+ ledgnr: ledgnr {
label = "c2600:blue:ledgnr";
gpios = <&qcom_pinmux 66 0>;
};
diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts
index 1bcbc9f80e..96e4acf1a8 100644
--- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts
+++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts
@@ -24,6 +24,11 @@
aliases {
serial0 = &uart4;
mdio-gpio0 = &mdio0;
+
+ led-boot = &power;
+ led-failsafe = &power;
+ led-running = &power;
+ led-upgrade = &power;
};
chosen {
@@ -365,7 +370,7 @@
default-state = "off";
};
- power {
+ power: power {
label = "ea8500:white:power";
gpios = <&qcom_pinmux 6 1>;
default-state = "off";