mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
88d9095ca5
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>
36 lines
1020 B
Diff
36 lines
1020 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Marius Durbaca <mariusd84@gmail.com>
|
|
Date: Tue Feb 27 16:25:27 2024 +0200
|
|
Subject: [PATCH] arm64: dts: rockchip: Update LED properties for Radxa
|
|
E25
|
|
|
|
Add OpenWrt's LED aliases for showing system status.
|
|
|
|
Signed-off-by: Marius Durbaca <mariusd84@gmail.com>
|
|
---
|
|
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3568-radxa-e25.dts
|
|
@@ -9,6 +9,10 @@
|
|
|
|
aliases {
|
|
mmc1 = &sdmmc0;
|
|
+ led-boot = &led_user;
|
|
+ led-failsafe = &led_user;
|
|
+ led-running = &led_user;
|
|
+ led-upgrade = &led_user;
|
|
};
|
|
|
|
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>;
|
|
};
|