diff options
author | John Crispin <john@openwrt.org> | 2016-01-01 21:18:47 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2016-01-01 21:18:47 +0000 |
commit | 4cf3fd49fcb73655561cb2bea6315e3a3790b076 (patch) | |
tree | fc9dccdbebbaf2478ef997d7ac307c38e7d5d6c8 /target/linux/lantiq/dts/ARV7519RW22.dts | |
parent | ebc71a4d1646eb88cf71e301c085a2dfa5d1efcf (diff) | |
download | upstream-4cf3fd49fcb73655561cb2bea6315e3a3790b076.tar.gz upstream-4cf3fd49fcb73655561cb2bea6315e3a3790b076.tar.bz2 upstream-4cf3fd49fcb73655561cb2bea6315e3a3790b076.zip |
lantiq: add support for indicating the boot state using three leds
The BTHOMEHUBV5A has a RGB power led, where every colour is perfect to
indicate the current boot state. This patch adds support for such cases.
The existing led sequences should be the same as before.
Boards which are using a led different from power (like TDW89x0) are
changed to switch of the led after boot
Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 48041
Diffstat (limited to 'target/linux/lantiq/dts/ARV7519RW22.dts')
-rw-r--r-- | target/linux/lantiq/dts/ARV7519RW22.dts | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/target/linux/lantiq/dts/ARV7519RW22.dts b/target/linux/lantiq/dts/ARV7519RW22.dts index 8c7c3e6ed2..872af54b8d 100644 --- a/target/linux/lantiq/dts/ARV7519RW22.dts +++ b/target/linux/lantiq/dts/ARV7519RW22.dts @@ -3,14 +3,17 @@ /include/ "vr9.dtsi" / { - model = "ARV7519RW22 - Astoria Networks ARV7519RW22-A-LT"; + model = "ARV7519RW22 - Orange Livebox 2.1"; chosen { bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; leds { + boot = &power_green; + failsafe = &power_green; + running = &power_green; + internet = &internet_green; - power = &power_green; }; }; @@ -213,7 +216,7 @@ power_green: power_green { label = "power"; gpios = <&gpio 14 1>; - default-state = "on"; + default-state = "keep"; }; alarm_blue { label = "alarm"; |