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/MX60.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/MX60.dts')
-rw-r--r-- | target/linux/apm821xx/dts/MX60.dts | 8 |
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>; }; |