]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
rockchip: stop "heartbeat" LED for Radxa CM3I(E25) 15913/head
authorFUKAUMI Naoki <naoki@radxa.com>
Thu, 11 Jul 2024 05:01:39 +0000 (14:01 +0900)
committerRobert Marko <robimarko@gmail.com>
Fri, 12 Jul 2024 07:49:20 +0000 (09:49 +0200)
stop "heartbeat" which happens before OpenWrt controls LED. instead,
just turn LED on.

Signed-off-by: FUKAUMI Naoki <naoki@radxa.com>
Link: https://github.com/openwrt/openwrt/pull/15913
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/rockchip/patches-6.6/112-radxa-e25-add-led-aliases-and-stop-heartbeat.patch [moved from target/linux/rockchip/patches-6.6/112-radxa-e25-add-led-aliases.patch with 61% similarity]

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 75038c7f39f4a69f08c0e96d68710e72bf6a91c8..6bcde5b8ebefcdaa315a1332f8f2d67349b0e0ab 100644 (file)
@@ -22,3 +22,14 @@ Signed-off-by: Marius Durbaca <mariusd84@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>;
+               };