diff options
author | Christian Lamparter <chunkeey@gmail.com> | 2017-11-28 22:51:07 +0100 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2017-12-14 09:29:30 +0100 |
commit | 6ad56fb34c7498084659f3bf1b501f104aa76879 (patch) | |
tree | 0de5941e0e10963d700f385e4d6848e2104b6413 /target/linux/apm821xx/dts/wndr4700.dts | |
parent | da6fdce3652529ca255f66293645aeb28ad81eb3 (diff) | |
download | upstream-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/wndr4700.dts')
-rw-r--r-- | target/linux/apm821xx/dts/wndr4700.dts | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/target/linux/apm821xx/dts/wndr4700.dts b/target/linux/apm821xx/dts/wndr4700.dts index d1a65f3e62..2e0addf74b 100644 --- a/target/linux/apm821xx/dts/wndr4700.dts +++ b/target/linux/apm821xx/dts/wndr4700.dts @@ -19,6 +19,10 @@ aliases { serial0 = &UART0; + led-boot = &status; + led-failsafe = &failsafe; + led-running = &status; + led-upgrade = &status; }; chosen { @@ -348,12 +352,12 @@ gpio-leds { compatible = "gpio-leds"; - power-green { + status: power-green { label = "wndr4700:green:power"; gpios = <&GPIO0 8 GPIO_ACTIVE_HIGH>; }; - power-orange { + failsafe: power-orange { label = "wndr4700:orange:power"; gpios = <&GPIO0 9 GPIO_ACTIVE_LOW>; linux,default-trigger = "panic"; |