diff options
author | John Crispin <blogic@openwrt.org> | 2016-01-01 21:18:47 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2016-01-01 21:18:47 +0000 |
commit | 1351936e19016ff3d93fc1fd8e8e0201a4d07c2e (patch) | |
tree | e2d01b54481f0d40ffddc82eb8d0da07adf15df0 /target/linux/lantiq/dts/ARV4510PW.dts | |
parent | 729c6ff67429d3f5ee50d825333f6e2e6c2dcb70 (diff) | |
download | master-187ad058-1351936e19016ff3d93fc1fd8e8e0201a4d07c2e.tar.gz master-187ad058-1351936e19016ff3d93fc1fd8e8e0201a4d07c2e.tar.bz2 master-187ad058-1351936e19016ff3d93fc1fd8e8e0201a4d07c2e.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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48041 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/dts/ARV4510PW.dts')
-rw-r--r-- | target/linux/lantiq/dts/ARV4510PW.dts | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/target/linux/lantiq/dts/ARV4510PW.dts b/target/linux/lantiq/dts/ARV4510PW.dts index 427cd54ab9..18b2da8fd4 100644 --- a/target/linux/lantiq/dts/ARV4510PW.dts +++ b/target/linux/lantiq/dts/ARV4510PW.dts @@ -9,10 +9,12 @@ bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; leds { + boot = &power; + failsafe = &power2; + running = &power; + dsl = &adsl; internet = &internet; - power = &power; - power2 = &power2; usb = &usb; usb2 = &usb2; wifi = &wifi; @@ -152,6 +154,7 @@ power: power { label = "power"; gpios = <&gpios 21 0>; + default-state = "keep"; }; power2: power2 { label = "power2"; |