2024-02-28 09:39:44 +00:00
|
|
|
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 {
|
2024-07-11 05:01:39 +00:00
|
|
|
--- 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>;
|
|
|
|
};
|