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

34 lines
918 B
Diff
Raw Normal View History

2016-05-17 00:04:22 +00:00
From b5e99f293a21f1d27222c9e262831588e206bfc5 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
2016-05-17 00:04:22 +00:00
Subject: [PATCH 7/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
2016-02-07 22:30:46 +00:00
index 8da939a..9957d5f 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
2015-09-01 00:12:01 +00:00
@@ -70,6 +70,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 {
2015-09-01 00:12:01 +00:00
@@ -85,6 +86,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";
};
};
--
2016-05-17 00:04:22 +00:00
2.8.2
2015-06-24 04:41:00 +00:00