aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/M4.dtsi
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-08-28 06:54:27 +0200
committerMathias Kresin <dev@kresin.me>2018-10-07 11:34:18 +0200
commit8f4dfadd5a4370e455f08967bfe9b7c9125576e8 (patch)
tree9d6e6865be40a071ada8650a241e4740b01d61d8 /target/linux/ramips/dts/M4.dtsi
parent772b27c207364f31f8b34b80a94647810fdb581c (diff)
downloadupstream-8f4dfadd5a4370e455f08967bfe9b7c9125576e8.tar.gz
upstream-8f4dfadd5a4370e455f08967bfe9b7c9125576e8.tar.bz2
upstream-8f4dfadd5a4370e455f08967bfe9b7c9125576e8.zip
ramips: add support for indicating the boot state using multiple leds
Use diag.sh version used for other targets supporting different leds for the different boot states. The existing led sequences should be the same as before. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts/M4.dtsi')
-rw-r--r--target/linux/ramips/dts/M4.dtsi5
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ramips/dts/M4.dtsi b/target/linux/ramips/dts/M4.dtsi
index e56ea82610..8a9548ef44 100644
--- a/target/linux/ramips/dts/M4.dtsi
+++ b/target/linux/ramips/dts/M4.dtsi
@@ -7,7 +7,10 @@
compatible = "poray,m4", "ralink,rt5350-soc";
aliases {
- led-status = &led_status;
+ led-boot = &led_status;
+ led-failsafe = &led_status;
+ led-running = &led_status;
+ led-upgrade = &led_status;
};
gpio-leds {