mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
Add patches for BPI-R2
This commit is contained in:
parent
b1be088d7f
commit
8b04e8ac65
23 changed files with 2179 additions and 15 deletions
|
@ -0,0 +1,57 @@
|
|||
From c3db4c1163cc20ab0a456086a15c00acb022a67d Mon Sep 17 00:00:00 2001
|
||||
From: Josef Friedl <josef.friedl@speed.at>
|
||||
Date: Thu, 20 Dec 2018 18:27:17 +0100
|
||||
Subject: [PATCH] arm: dts: mt6323: add keys, power-controller, rtc and codec
|
||||
|
||||
support poweroff and power-related keys on bpi-r2
|
||||
|
||||
Suggested-by: Frank Wunderlich <frank-w@public-files.de>
|
||||
Signed-off-by: Josef Friedl <josef.friedl@speed.at>
|
||||
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
|
||||
---
|
||||
changes since v6: none
|
||||
changes since v5: none
|
||||
changes since v4: none
|
||||
changes since v3: none
|
||||
changes since v2: none (=v2 part 7)
|
||||
---
|
||||
arch/arm/boot/dts/mt6323.dtsi | 27 +++++++++++++++++++++++++++
|
||||
1 file changed, 27 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/mt6323.dtsi b/arch/arm/boot/dts/mt6323.dtsi
|
||||
index ba397407c1dd..7fda40ab5fe8 100644
|
||||
--- a/arch/arm/boot/dts/mt6323.dtsi
|
||||
+++ b/arch/arm/boot/dts/mt6323.dtsi
|
||||
@@ -238,5 +238,32 @@
|
||||
regulator-enable-ramp-delay = <216>;
|
||||
};
|
||||
};
|
||||
+
|
||||
+ mt6323keys: mt6323keys {
|
||||
+ compatible = "mediatek,mt6323-keys";
|
||||
+ mediatek,long-press-mode = <1>;
|
||||
+ power-off-time-sec = <0>;
|
||||
+
|
||||
+ power {
|
||||
+ linux,keycodes = <116>;
|
||||
+ wakeup-source;
|
||||
+ };
|
||||
+
|
||||
+ home {
|
||||
+ linux,keycodes = <114>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ codec: mt6397codec {
|
||||
+ compatible = "mediatek,mt6397-codec";
|
||||
+ };
|
||||
+
|
||||
+ power-controller {
|
||||
+ compatible = "mediatek,mt6323-pwrc";
|
||||
+ };
|
||||
+
|
||||
+ rtc {
|
||||
+ compatible = "mediatek,mt6323-rtc";
|
||||
+ };
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue