summaryrefslogtreecommitdiff
path: root/target/linux/lantiq/dts/VGV7519.dtsi
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2016-01-01 21:18:47 +0000
committerJohn Crispin <john@openwrt.org>2016-01-01 21:18:47 +0000
commit4cf3fd49fcb73655561cb2bea6315e3a3790b076 (patch)
treefc9dccdbebbaf2478ef997d7ac307c38e7d5d6c8 /target/linux/lantiq/dts/VGV7519.dtsi
parentebc71a4d1646eb88cf71e301c085a2dfa5d1efcf (diff)
downloadmtk-20170518-4cf3fd49fcb73655561cb2bea6315e3a3790b076.zip
mtk-20170518-4cf3fd49fcb73655561cb2bea6315e3a3790b076.tar.gz
mtk-20170518-4cf3fd49fcb73655561cb2bea6315e3a3790b076.tar.bz2
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/VGV7519.dtsi')
-rw-r--r--target/linux/lantiq/dts/VGV7519.dtsi8
1 files changed, 5 insertions, 3 deletions
diff --git a/target/linux/lantiq/dts/VGV7519.dtsi b/target/linux/lantiq/dts/VGV7519.dtsi
index 3ba3ac5..71b7d26 100644
--- a/target/linux/lantiq/dts/VGV7519.dtsi
+++ b/target/linux/lantiq/dts/VGV7519.dtsi
@@ -8,10 +8,12 @@
bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
leds {
+ boot = &power2;
+ failsafe = &power;
+ running = &power2;
+
dsl = &broadband_yellow;
internet = &internet_yellow;
- power = &power;
- power2 = &power2;
wifi = &wireless_yellow;
};
};
@@ -318,11 +320,11 @@
power2: power2 { /* yellow */
label = "power2";
gpios = <&stp 14 1>;
+ default-state = "keep";
};
power: power { /* red */
label = "power";
gpios = <&stp 15 1>;
- default-state = "on";
};
};
};