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/apollo3g.dtsi | |
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/apollo3g.dtsi')
-rw-r--r-- | target/linux/apm821xx/dts/apollo3g.dtsi | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/target/linux/apm821xx/dts/apollo3g.dtsi b/target/linux/apm821xx/dts/apollo3g.dtsi index 783348a678..09a8b8518c 100644 --- a/target/linux/apm821xx/dts/apollo3g.dtsi +++ b/target/linux/apm821xx/dts/apollo3g.dtsi @@ -14,6 +14,10 @@ aliases { serial0 = &UART0; + led-boot = &status; + led-failsafe = &status; + led-running = &status; + led-upgrade = &status; }; }; @@ -113,13 +117,13 @@ gpio-leds { compatible = "gpio-leds"; - power-red { + failsafe: power-red { label = "mbl:red:power"; gpios = <&GPIO1 4 GPIO_ACTIVE_HIGH>; linux,default-trigger = "panic"; }; - power-green { + status: power-green { label = "mbl:green:power"; gpios = <&GPIO1 5 GPIO_ACTIVE_HIGH>; }; |