summaryrefslogtreecommitdiff
path: root/~emulatorman/linux-libre/0007-set-default-cubietruck-led-triggers.patch
diff options
context:
space:
mode:
Diffstat (limited to '~emulatorman/linux-libre/0007-set-default-cubietruck-led-triggers.patch')
-rw-r--r--~emulatorman/linux-libre/0007-set-default-cubietruck-led-triggers.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/~emulatorman/linux-libre/0007-set-default-cubietruck-led-triggers.patch b/~emulatorman/linux-libre/0007-set-default-cubietruck-led-triggers.patch
new file mode 100644
index 000000000..38c0482a3
--- /dev/null
+++ b/~emulatorman/linux-libre/0007-set-default-cubietruck-led-triggers.patch
@@ -0,0 +1,32 @@
+From b9c28f3bd758d09374fe35e86d5d5d4aeb7c6a0a Mon Sep 17 00:00:00 2001
+From: Kevin Mihelich <kevin@archlinuxarm.org>
+Date: Sun, 14 Jun 2015 13:20:25 -0600
+Subject: [PATCH 7/8] set default cubietruck led triggers
+
+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
+index 8f74a64..1161296 100644
+--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
++++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+@@ -205,6 +205,7 @@
+ blue {
+ label = "cubietruck:blue:usr";
+ gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>;
++ linux,default-trigger = "heartbeat";
+ };
+
+ orange {
+@@ -220,6 +221,7 @@
+ green {
+ label = "cubietruck:green:usr";
+ gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>;
++ linux,default-trigger = "mmc0";
+ };
+ };
+
+--
+2.4.4