From 4cf3fd49fcb73655561cb2bea6315e3a3790b076 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 SVN-Revision: 48041 --- target/linux/lantiq/dts/ARV4525PW.dts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'target/linux/lantiq/dts/ARV4525PW.dts') diff --git a/target/linux/lantiq/dts/ARV4525PW.dts b/target/linux/lantiq/dts/ARV4525PW.dts index b1a92a7154..2fe3425f13 100644 --- a/target/linux/lantiq/dts/ARV4525PW.dts +++ b/target/linux/lantiq/dts/ARV4525PW.dts @@ -7,10 +7,12 @@ chosen { leds { + /* we dont have a power led, lets use the online led */ + boot = &online; + failsafe = &online; + dsl = &dsl; internet = &online; - /* we dont have a power led, lets use the online led */ - power = &online; wifi = &wifi; }; }; @@ -155,8 +157,7 @@ gpios = <&gpio 8 1>; }; online: online { - /*label = "online"; - we dont have a power led, lets use this one */ - label = "power"; + label = "online"; gpios = <&gpio 9 1>; }; }; -- cgit v1.2.3