From 1351936e19016ff3d93fc1fd8e8e0201a4d07c2e Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 1 Jan 2016 21:18:47 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48041 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/lantiq/dts/ARV7518PW.dts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'target/linux/lantiq/dts/ARV7518PW.dts') diff --git a/target/linux/lantiq/dts/ARV7518PW.dts b/target/linux/lantiq/dts/ARV7518PW.dts index 7693bc2662..31cc259720 100644 --- a/target/linux/lantiq/dts/ARV7518PW.dts +++ b/target/linux/lantiq/dts/ARV7518PW.dts @@ -9,10 +9,12 @@ bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; leds { + boot = &power; + failsafe = &power2; + running = &power; + dsl = &dsl; internet = &online; - power = &power; - power2 = &power2; usb = &usb; wifi = &wifi; }; @@ -170,6 +172,7 @@ power: power { label = "power"; gpios = <&gpio 2 1>; + default-state = "keep"; }; dsl: dsl { label = "dsl"; -- cgit v1.2.3