Skip to content

Commit 12e53e2

Browse files
committed
patch: sm8250: current: add Retroid Pocket SM8250 Patch series
Signed-off-by: CodeChenL <2540735020@qq.com>
1 parent daa85bb commit 12e53e2

7 files changed

+3966
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2+
From: Teguh Sobirin <teguh@sobir.in>
3+
Date: Wed, 20 Nov 2024 22:58:09 +0700
4+
Subject: arm64: dts: qcom: sm8250: add uart16 Signed-off-by: Teguh Sobirin
5+
<teguh@sobir.in>
6+
7+
---
8+
arch/arm64/boot/dts/qcom/sm8250.dtsi | 22 ++++++++++
9+
1 file changed, 22 insertions(+)
10+
11+
diff --git a/arch/arm64/boot/dts/qcom/sm8250.dtsi b/arch/arm64/boot/dts/qcom/sm8250.dtsi
12+
index 111111111111..222222222222 100644
13+
--- a/arch/arm64/boot/dts/qcom/sm8250.dtsi
14+
+++ b/arch/arm64/boot/dts/qcom/sm8250.dtsi
15+
@@ -1153,6 +1153,23 @@ spi16: spi@888000 {
16+
status = "disabled";
17+
};
18+
19+
+ uart16: serial@888000 {
20+
+ compatible = "qcom,geni-uart";
21+
+ reg = <0 0x00888000 0 0x4000>;
22+
+ clock-names = "se";
23+
+ clocks = <&gcc GCC_QUPV3_WRAP2_S2_CLK>;
24+
+ pinctrl-names = "default";
25+
+ pinctrl-0 = <&qup_uart16_default>;
26+
+ interrupts = <GIC_SPI 584 IRQ_TYPE_LEVEL_HIGH>;
27+
+ power-domains = <&rpmhpd RPMHPD_CX>;
28+
+ operating-points-v2 = <&qup_opp_table>;
29+
+ interconnects = <&qup_virt MASTER_QUP_CORE_2 0 &qup_virt SLAVE_QUP_CORE_2 0>,
30+
+ <&gem_noc MASTER_AMPSS_M0 0 &config_noc SLAVE_QUP_2 0>;
31+
+ interconnect-names = "qup-core",
32+
+ "qup-config";
33+
+ status = "disabled";
34+
+ };
35+
+
36+
i2c17: i2c@88c000 {
37+
compatible = "qcom,geni-i2c";
38+
reg = <0 0x0088c000 0 0x4000>;
39+
@@ -5725,6 +5742,11 @@ qup_uart12_default: qup-uart12-default-state {
40+
function = "qup12";
41+
};
42+
43+
+ qup_uart16_default: qup-uart16-default-state {
44+
+ pins = "gpio50", "gpio51";
45+
+ function = "qup16";
46+
+ };
47+
+
48+
qup_uart17_default: qup-uart17-default-state {
49+
pins = "gpio52", "gpio53", "gpio54", "gpio55";
50+
function = "qup17";
51+
--
52+
Armbian
53+

0 commit comments

Comments
 (0)