aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/apm821xx/dts/MX60.dts
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2017-11-28 22:51:07 +0100
committerJohn Crispin <john@phrozen.org>2017-12-14 09:29:30 +0100
commit6ad56fb34c7498084659f3bf1b501f104aa76879 (patch)
tree0de5941e0e10963d700f385e4d6848e2104b6413 /target/linux/apm821xx/dts/MX60.dts
parentda6fdce3652529ca255f66293645aeb28ad81eb3 (diff)
downloadupstream-6ad56fb34c7498084659f3bf1b501f104aa76879.tar.gz
upstream-6ad56fb34c7498084659f3bf1b501f104aa76879.tar.bz2
upstream-6ad56fb34c7498084659f3bf1b501f104aa76879.zip
apm821xx: convert to dt based diag LED script
Please note that users with a Netgear WNDR4700 will need to update the device-tree partition manually. For instructions, please refere to commit 49856a4bb581 ("apm821xx: make it possible to update the dtb partition on the WNDR4700") Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Diffstat (limited to 'target/linux/apm821xx/dts/MX60.dts')
-rw-r--r--target/linux/apm821xx/dts/MX60.dts8
1 files changed, 6 insertions, 2 deletions
diff --git a/target/linux/apm821xx/dts/MX60.dts b/target/linux/apm821xx/dts/MX60.dts
index 4ec0043f32..6c753639b2 100644
--- a/target/linux/apm821xx/dts/MX60.dts
+++ b/target/linux/apm821xx/dts/MX60.dts
@@ -20,6 +20,10 @@
aliases {
serial0 = &UART1;
+ led-boot = &status;
+ led-failsafe = &failsafe;
+ led-running = &status;
+ led-upgrade = &status;
};
chosen {
@@ -120,12 +124,12 @@
gpio-leds {
compatible = "gpio-leds";
- power-green {
+ status: power-green {
label = "mx60:green:power";
gpios = <&GPIO0 18 GPIO_ACTIVE_LOW>;
};
- power-orange {
+ failsafe: power-orange {
label = "mx60:orange:power";
gpios = <&GPIO0 19 GPIO_ACTIVE_LOW>;
};