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/H201L.dts | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'target/linux/lantiq/dts/H201L.dts') diff --git a/target/linux/lantiq/dts/H201L.dts b/target/linux/lantiq/dts/H201L.dts index 1f1de0187a..e4da1e5de4 100644 --- a/target/linux/lantiq/dts/H201L.dts +++ b/target/linux/lantiq/dts/H201L.dts @@ -9,9 +9,12 @@ bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; leds { + boot = &power_green; + failsafe = &power_green; + running = &power_green; + dsl = &dsl; internet = &online; - power = &power; usb = &usb; wifi = &wifi; }; @@ -93,10 +96,10 @@ gpio-leds { compatible = "gpio-leds"; - power: power { + power_green: power { label = "power"; gpios = <&gpio 19 1>; - default-state = "on"; + default-state = "keep"; }; online: online { label = "online"; -- cgit v1.2.3