PKGBUILDs/core/linux-armv7-rc/0005-set-default-cubietruck-led-triggers.patch

34 lines
944 B
Diff
Raw Normal View History

2022-08-27 22:21:51 +00:00
From 3a5136fec1bdb0f7a5ca614dab47c55c3177d26a Mon Sep 17 00:00:00 2001
2015-06-16 11:45:56 +00:00
From: Kevin Mihelich <kevin@archlinuxarm.org>
2015-12-01 01:28:10 +00:00
Date: Sat, 14 Feb 2015 12:32:27 +0100
2022-02-23 18:26:17 +00:00
Subject: [PATCH 5/7] set default cubietruck led triggers
2015-06-16 11:45:56 +00:00
Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org>
---
arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
2022-01-27 20:02:53 +00:00
index 52160e368304..21c8ef94c756 100644
2015-06-16 11:45:56 +00:00
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
2020-04-26 04:09:01 +00:00
@@ -78,6 +78,7 @@ leds {
2022-01-27 20:02:53 +00:00
led-0 {
2015-06-16 11:45:56 +00:00
label = "cubietruck:blue:usr";
gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "heartbeat";
};
2022-01-27 20:02:53 +00:00
led-1 {
@@ -93,6 +94,7 @@ led-2 {
led-3 {
2015-06-16 11:45:56 +00:00
label = "cubietruck:green:usr";
gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "mmc0";
};
};
--
2022-08-27 22:21:51 +00:00
2.37.0
2015-06-16 11:45:56 +00:00