diff options
author | Pawel Dembicki <paweldembicki@gmail.com> | 2020-02-04 17:26:47 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-02-22 14:25:25 +0100 |
commit | ae67f5ffae69119eef6509a48b111164a5842346 (patch) | |
tree | edd1669fd7decb13a724f5ffdba90db937c99ee1 /target/linux/kirkwood/patches-4.19/104-ea3500.patch | |
parent | a9b5473c92c01bce9b5f42659b0271bd141e3428 (diff) | |
download | upstream-ae67f5ffae69119eef6509a48b111164a5842346.tar.gz upstream-ae67f5ffae69119eef6509a48b111164a5842346.tar.bz2 upstream-ae67f5ffae69119eef6509a48b111164a5842346.zip |
kirkwood: use generic diag.sh
This commit removes the target-specific diag.sh script. This way, the
generic one is used for the target, which uses DT-aliases to specify the
LEDs used.
Generic diag.sh allow to use different LEDs to indicate different states.
Non-red status LEDs for indicating boot and a running system.
Where possible, the red or orange LEDs are used to indicate failsafe
mode and a running upgrade.
Compile-tested: all target devices.
Run-tested: CheckPoint L-50
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
[remove unrelated cosmetic changes, rename some labels, add pogo_e02]
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/kirkwood/patches-4.19/104-ea3500.patch')
-rw-r--r-- | target/linux/kirkwood/patches-4.19/104-ea3500.patch | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/target/linux/kirkwood/patches-4.19/104-ea3500.patch b/target/linux/kirkwood/patches-4.19/104-ea3500.patch index 45dc670ebc..466bf714c4 100644 --- a/target/linux/kirkwood/patches-4.19/104-ea3500.patch +++ b/target/linux/kirkwood/patches-4.19/104-ea3500.patch @@ -10,7 +10,7 @@ kirkwood-lsxhl.dtb \ --- /dev/null +++ b/arch/arm/boot/dts/kirkwood-linksys-audi.dts -@@ -0,0 +1,246 @@ +@@ -0,0 +1,250 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * kirkwood-linksys-audi.dts - Device Tree file for Linksys EA3500 @@ -37,6 +37,10 @@ + }; + + aliases { ++ led-boot = &led_power; ++ led-failsafe = &led_power; ++ led-running = &led_power; ++ led-upgrade = &led_power; + serial0 = &uart0; + }; + @@ -67,7 +71,7 @@ + pinctrl-0 = < &pmx_led_green_power >; + pinctrl-names = "default"; + -+ green-power { ++ led_power: power { + label = "audi:green:power"; + gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; + }; |