[openwrt/openwrt] rockchip: stop "heartbeat" LED for Radxa CM3I(E25)

LEDE Commits lede-commits at lists.infradead.org
Fri Jul 12 00:49:30 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/88d9095ca50178f19e2cc11f12955a00c06119b5

commit 88d9095ca50178f19e2cc11f12955a00c06119b5
Author: FUKAUMI Naoki <naoki at radxa.com>
AuthorDate: Thu Jul 11 14:01:39 2024 +0900

    rockchip: stop "heartbeat" LED for Radxa CM3I(E25)
    
    stop "heartbeat" which happens before OpenWrt controls LED. instead,
    just turn LED on.
    
    Signed-off-by: FUKAUMI Naoki <naoki at radxa.com>
    Link: https://github.com/openwrt/openwrt/pull/15913
    Signed-off-by: Robert Marko <robimarko at gmail.com>
---
 ...=> 112-radxa-e25-add-led-aliases-and-stop-heartbeat.patch} | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/target/linux/rockchip/patches-6.6/112-radxa-e25-add-led-aliases.patch b/target/linux/rockchip/patches-6.6/112-radxa-e25-add-led-aliases-and-stop-heartbeat.patch
similarity index 61%
rename from target/linux/rockchip/patches-6.6/112-radxa-e25-add-led-aliases.patch
rename to target/linux/rockchip/patches-6.6/112-radxa-e25-add-led-aliases-and-stop-heartbeat.patch
index 75038c7f39..6bcde5b8eb 100644
--- a/target/linux/rockchip/patches-6.6/112-radxa-e25-add-led-aliases.patch
+++ b/target/linux/rockchip/patches-6.6/112-radxa-e25-add-led-aliases-and-stop-heartbeat.patch
@@ -22,3 +22,14 @@ Signed-off-by: Marius Durbaca <mariusd84 at gmail.com>
  	};
  
  	pwm-leds {
+--- a/arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3i.dtsi
++++ b/arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3i.dtsi
+@@ -23,7 +23,7 @@
+ 			gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_HIGH>;
+ 			function = LED_FUNCTION_HEARTBEAT;
+ 			color = <LED_COLOR_ID_GREEN>;
+-			linux,default-trigger = "heartbeat";
++			default-state = "on";
+ 			pinctrl-names = "default";
+ 			pinctrl-0 = <&led_user_en>;
+ 		};




More information about the lede-commits mailing list