mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
33 lines
944 B
Diff
33 lines
944 B
Diff
From 363e156344b831978306bf95dac7859dafe61d14 Mon Sep 17 00:00:00 2001
|
|
From: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
Date: Sat, 14 Feb 2015 12:32:27 +0100
|
|
Subject: [PATCH 5/7] 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 52160e368304..21c8ef94c756 100644
|
|
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
|
|
+++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
|
|
@@ -78,6 +78,7 @@ leds {
|
|
led-0 {
|
|
label = "cubietruck:blue:usr";
|
|
gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>;
|
|
+ linux,default-trigger = "heartbeat";
|
|
};
|
|
|
|
led-1 {
|
|
@@ -93,6 +94,7 @@ led-2 {
|
|
led-3 {
|
|
label = "cubietruck:green:usr";
|
|
gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>;
|
|
+ linux,default-trigger = "mmc0";
|
|
};
|
|
};
|
|
|
|
--
|
|
2.35.1
|
|
|