mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 16:06:42 +02:00
remove esmil-6.10-rc1.jh7110.patch, mostly applied to mainline add few patches from https://github.com/drmpeg/linux which are not yet in mainline kernel
39 lines
1 KiB
Diff
39 lines
1 KiB
Diff
From a8d87935d5773442275508ec670ccb3de9a13ac4 Mon Sep 17 00:00:00 2001
|
|
From: Ron Economos <w6rz@comcast.net>
|
|
Date: Sun, 15 Sep 2024 09:43:38 -0700
|
|
Subject: [PATCH] riscv: dts: starfive: Enable green LED heartbeat
|
|
|
|
---
|
|
.../dts/starfive/jh7110-starfive-visionfive-2.dtsi | 13 +++++++++++++
|
|
1 file changed, 13 insertions(+)
|
|
|
|
diff --git a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi
|
|
index 18f38fc790a4d1..10897195ebeeac 100644
|
|
--- a/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi
|
|
+++ b/arch/riscv/boot/dts/starfive/jh7110-starfive-visionfive-2.dtsi
|
|
@@ -5,12 +5,25 @@
|
|
*/
|
|
|
|
/dts-v1/;
|
|
+#include <dt-bindings/gpio/gpio.h>
|
|
+#include <dt-bindings/leds/common.h>
|
|
#include "jh7110-common.dtsi"
|
|
|
|
/ {
|
|
aliases {
|
|
ethernet1 = &gmac1;
|
|
};
|
|
+
|
|
+ leds {
|
|
+ compatible = "gpio-leds";
|
|
+
|
|
+ led-0 {
|
|
+ gpios = <&aongpio 3 GPIO_ACTIVE_HIGH>;
|
|
+ color = <LED_COLOR_ID_GREEN>;
|
|
+ function = LED_FUNCTION_HEARTBEAT;
|
|
+ linux,default-trigger = "heartbeat";
|
|
+ };
|
|
+ };
|
|
};
|
|
|
|
&gmac1 {
|