2023-02-23 03:12:50 +00:00
|
|
|
From 3a5136fec1bdb0f7a5ca614dab47c55c3177d26a 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
|
2022-03-25 02:10:16 +00:00
|
|
|
Subject: [PATCH 5/7] set default cubietruck led triggers
|
2015-06-24 04:41:00 +00:00
|
|
|
|
|
|
|
Signed-off-by: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
---
|
2024-06-27 08:37:33 +00:00
|
|
|
arm/boot/dts/allwinner/sun7i-a20-cubietruck.dts | 2 ++
|
2015-06-24 04:41:00 +00:00
|
|
|
1 file changed, 2 insertions(+)
|
|
|
|
|
2024-06-27 08:37:33 +00:00
|
|
|
diff --git a/arch/arm/boot/dts/allwinner/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/allwinner/sun7i-a20-cubietruck.dts
|
|
|
|
index 52160e3..21c8ef9 100644
|
|
|
|
--- a/arch/arm/boot/dts/allwinner/sun7i-a20-cubietruck.dts
|
|
|
|
+++ b/arch/arm/boot/dts/allwinner/sun7i-a20-cubietruck.dts
|
|
|
|
@@ -78,6 +78,7 @@
|
2022-01-18 00:12:17 +00:00
|
|
|
led-0 {
|
2015-06-24 04:41:00 +00:00
|
|
|
label = "cubietruck:blue:usr";
|
|
|
|
gpios = <&pio 7 21 GPIO_ACTIVE_HIGH>;
|
|
|
|
+ linux,default-trigger = "heartbeat";
|
|
|
|
};
|
2024-06-27 08:37:33 +00:00
|
|
|
|
2022-01-18 00:12:17 +00:00
|
|
|
led-1 {
|
2024-06-27 08:37:33 +00:00
|
|
|
@@ -93,6 +94,7 @@
|
2022-01-18 00:12:17 +00:00
|
|
|
led-3 {
|
2015-06-24 04:41:00 +00:00
|
|
|
label = "cubietruck:green:usr";
|
|
|
|
gpios = <&pio 7 7 GPIO_ACTIVE_HIGH>;
|
|
|
|
+ linux,default-trigger = "mmc0";
|
|
|
|
};
|
|
|
|
};
|
2024-06-27 08:37:33 +00:00
|
|
|
|
|
|
|
--
|
|
|
|
2.43.2
|
2015-06-24 04:41:00 +00:00
|
|
|
|