difos/target/linux/starfive/patches-6.12/1022-riscv-dts-starfive-vf1-add-LED-aliases-and-stop-hear.patch
Zoltan HERPAI 8f0f02d297 starfive: 6.12: refresh patches and drop upstreamed ones
- refresh, rebase and reorder patches
 - JH7110 media drivers have been dropped for now
 - JH7110 E24 and mailbox drivers were added
 - JH7100 DMA- and errata-patches have been dropped as they were
   upstreamed

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
2025-06-05 16:39:15 +02:00

38 lines
1,018 B
Diff

From ec25d5b3e4ac00b76dce3593b54062ee7826cbbd Mon Sep 17 00:00:00 2001
From: Zoltan HERPAI <wigyori@uid0.hu>
Date: Sat, 31 May 2025 22:17:21 +0000
Subject: [PATCH 1022/1022] riscv: dts: starfive: vf1: add LED aliases and stop
heartbeat
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
---
arch/riscv/boot/dts/starfive/jh7100-common.dtsi | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
--- a/arch/riscv/boot/dts/starfive/jh7100-common.dtsi
+++ b/arch/riscv/boot/dts/starfive/jh7100-common.dtsi
@@ -16,6 +16,10 @@
mmc1 = &sdio1;
serial0 = &uart3;
serial1 = &uart0;
+ led-boot = &led_ack;
+ led-failsafe = &led_ack;
+ led-running = &led_ack;
+ led-upgrade = &led_ack;
};
chosen {
@@ -34,11 +38,11 @@
leds {
compatible = "gpio-leds";
- led-ack {
+ led_ack: led-ack {
gpios = <&gpio 43 GPIO_ACTIVE_HIGH>;
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_HEARTBEAT;
- linux,default-trigger = "heartbeat";
+ default-state = "on";
label = "ack";
};
};