[openwrt/openwrt] mvebu: mcbin-singleshot: enable hearbeat LED by default

LEDE Commits lede-commits at lists.infradead.org
Fri Aug 11 09:19:43 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/57bf52c6e2eb27c491a9b645f426fc1e4d697b7d

commit 57bf52c6e2eb27c491a9b645f426fc1e4d697b7d
Author: Tomasz Maciej Nowak <tmn505 at gmail.com>
AuthorDate: Fri Jul 7 21:13:35 2023 +0200

    mvebu: mcbin-singleshot: enable hearbeat LED by default
    
    This has been a part of modified upstream patch but got lost on major
    kernel bump to 5.15, so bring it back.
    
    Signed-off-by: Tomasz Maciej Nowak <tmn505 at gmail.com>
    [Add patch for kernel 6.1 too]
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
    (cherry picked from commit 5e6bab661a1028d583338c5823f6a3b9d6444ce0)
---
 ...s-marvell-enable-heartbeat-LED-by-default.patch | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/target/linux/mvebu/patches-5.15/314-arm64-dts-marvell-enable-heartbeat-LED-by-default.patch b/target/linux/mvebu/patches-5.15/314-arm64-dts-marvell-enable-heartbeat-LED-by-default.patch
new file mode 100644
index 0000000000..7221e04de1
--- /dev/null
+++ b/target/linux/mvebu/patches-5.15/314-arm64-dts-marvell-enable-heartbeat-LED-by-default.patch
@@ -0,0 +1,22 @@
+From: Tomasz Maciej Nowak <tmn505 at gmail.com>
+Date: Fri, 7 Jul 2023 19:06:05 +0200
+Subject: [PATCH] arm64: dts: marvell: enable heartbeat LED by default
+
+Some boards could be placed in an enclosure, so enable LED18 by default,
+since that'll be the only visible indicator that the board is operating.
+
+Signed-off-by: Tomasz Maciej Nowak <tmn505 at gmail.com>
+---
+ arch/arm64/boot/dts/marvell/armada-8040-mcbin-singleshot.dts | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/arch/arm64/boot/dts/marvell/armada-8040-mcbin-singleshot.dts
++++ b/arch/arm64/boot/dts/marvell/armada-8040-mcbin-singleshot.dts
+@@ -25,6 +25,7 @@
+ 			function = LED_FUNCTION_HEARTBEAT;
+ 			color = <LED_COLOR_ID_GREEN>;
+ 			linux,default-trigger = "heartbeat";
++			default-state = "on";
+ 		};
+ 	};
+ };




More information about the lede-commits mailing list