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

34 lines
922 B
Diff
Raw Normal View History

2015-06-27 22:25:15 +00:00
From b9c28f3bd758d09374fe35e86d5d5d4aeb7c6a0a Mon Sep 17 00:00:00 2001
2015-06-24 04:41:00 +00:00
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Sun, 14 Jun 2015 13:20:25 -0600
2015-06-27 22:25:15 +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
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";
};
};
--
2015-06-27 22:25:15 +00:00
2.4.4
2015-06-24 04:41:00 +00:00