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

34 lines
929 B
Diff
Raw Normal View History

2019-05-12 18:42:41 +00:00
From 2a1d4185dc6412fe95a3d01edfefc9526a732c6d Mon Sep 17 00:00:00 2001
2015-06-24 04:41:00 +00:00
From: Kevin Mihelich <kevin@archlinuxarm.org>
2015-12-14 00:52:46 +00:00
Date: Sat, 14 Feb 2015 12:32:27 +0100
2019-05-12 18:42:41 +00:00
Subject: [PATCH 6/8] set default cubietruck led triggers
2015-06-24 04:41:00 +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
2019-03-05 04:11:36 +00:00
index 99f531b8d2a7..534392a72621 100644
2015-06-24 04:41:00 +00:00
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
2019-03-05 04:11:36 +00:00
@@ -78,6 +78,7 @@
2015-06-24 04:41:00 +00:00
blue {
label = "cubietruck:blue:usr";
gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "heartbeat";
};
orange {
2019-03-05 04:11:36 +00:00
@@ -93,6 +94,7 @@
2015-06-24 04:41:00 +00:00
green {
label = "cubietruck:green:usr";
gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>;
+ linux,default-trigger = "mmc0";
};
};
--
2019-05-12 18:42:41 +00:00
2.20.1
2015-06-24 04:41:00 +00:00