diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-08-20 22:18:41 +0200 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2020-08-21 11:46:14 +0200 |
commit | 373d4cc3605196c93cee18cfcfbd70f80c87cf8c (patch) | |
tree | 984e8e53c819764ababbddb8f6a43e417360dc5e /target/linux/pistachio/patches-5.4 | |
parent | 2549d1dd77e7bb51756910c037f4459f9ddc3948 (diff) | |
download | upstream-373d4cc3605196c93cee18cfcfbd70f80c87cf8c.tar.gz upstream-373d4cc3605196c93cee18cfcfbd70f80c87cf8c.tar.bz2 upstream-373d4cc3605196c93cee18cfcfbd70f80c87cf8c.zip |
pistachio: use generic diag.sh
Remove local diag.sh in favor of generic one and add the required
led-* aliases to DTS.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/pistachio/patches-5.4')
-rw-r--r-- | target/linux/pistachio/patches-5.4/905-MIPS-DTS-img-marduk-Add-led-aliases.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/target/linux/pistachio/patches-5.4/905-MIPS-DTS-img-marduk-Add-led-aliases.patch b/target/linux/pistachio/patches-5.4/905-MIPS-DTS-img-marduk-Add-led-aliases.patch new file mode 100644 index 0000000000..c6cf5acbb8 --- /dev/null +++ b/target/linux/pistachio/patches-5.4/905-MIPS-DTS-img-marduk-Add-led-aliases.patch @@ -0,0 +1,27 @@ +--- a/arch/mips/boot/dts/img/pistachio_marduk.dts ++++ b/arch/mips/boot/dts/img/pistachio_marduk.dts +@@ -19,6 +19,11 @@ + ethernet0 = &enet; + spi0 = &spfi0; + spi1 = &spfi1; ++ ++ led-boot = &led_heartbeat; ++ led-failsafe = &led_heartbeat; ++ led-running = &led_heartbeat; ++ led-upgrade = &led_heartbeat; + }; + + chosen { +@@ -88,11 +93,10 @@ + + leds { + compatible = "pwm-leds"; +- heartbeat { ++ led_heartbeat: heartbeat { + label = "marduk:red:heartbeat"; + pwms = <&pwm 3 300000>; + max-brightness = <255>; +- linux,default-trigger = "heartbeat"; + }; + }; + |