Skip to contentSkip to conversation

arm64: dts: qcom: sm8550: Add UART15

PATCH Applied Aaron Kling 3 participants 3 messages Feb 12 – Mar 18

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 arm64: dts: qcom: sm8550: Add UART15

From: Xilin Wu <[email protected]>

Add uart15 node for UART bus present on sm8550 SoC.

---
This patch was originally submitted as part of a series to support the AYN Odin 2 [0]. That series stalled, so submitting separately.

[0] https://lore.kernel.org/all/[email protected]/
---
Changes in v3:
- Properly pad reg address
- Link to v2: https://lore.kernel.org/r/[email protected]

Changes in v2:
- Use QCOM_ICC_TAG_ define in interconnect paths phandle third argument
- Link to v1: https://lore.kernel.org/r/[email protected]

---
 arch/arm64/boot/dts/qcom/sm8550.dtsi | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
arch/arm64/boot/dts/qcom/sm8550.dtsi +24 -0
index e3f93f4f412ded9583a6bc9215185a0daf5f1b57..eebd5f9663edcc91480097aa39e9ca4dc3592dd9 100644
@@ -1251,6 +1251,22 @@ &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ACTIVE_ONLY>,
 				#size-cells = <0>;
 				status = "disabled";
 			};
+
+			uart15: serial@89c000 {
+				compatible = "qcom,geni-uart";
+				reg = <0 0x0089c000 0 0x4000>;
+				clock-names = "se";
+				clocks = <&gcc GCC_QUPV3_WRAP2_S7_CLK>;
+				pinctrl-names = "default";
+				pinctrl-0 = <&qup_uart15_default>;
+				interrupts = <GIC_SPI 462 IRQ_TYPE_LEVEL_HIGH 0>;
+				interconnects = <&clk_virt MASTER_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS
+						 &clk_virt SLAVE_QUP_CORE_2 QCOM_ICC_TAG_ALWAYS>,
+						<&gem_noc MASTER_APPSS_PROC QCOM_ICC_TAG_ACTIVE_ONLY
+						 &config_noc SLAVE_QUP_2 QCOM_ICC_TAG_ACTIVE_ONLY>;
+				interconnect-names = "qup-core", "qup-config";
+				status = "disabled";
+			};
 		};
 
 		i2c_master_hub_0: geniqup@9c0000 {
@@ -5095,6 +5111,14 @@ qup_uart14_cts_rts: qup-uart14-cts-rts-state {
 				bias-pull-down;
 			};
 
+			qup_uart15_default: qup-uart15-default-state {
+				/* TX, RX */
+				pins = "gpio74", "gpio75";
+				function = "qup2_se7";
+				drive-strength = <2>;
+				bias-pull-up;
+			};
+
 			sdc2_sleep: sdc2-sleep-state {
 				clk-pins {
 					pins = "sdc2_clk";

---
base-commit: 9845cf73f7db6094c0d8419d6adb848028f4a921
change-id: 20260207-sm8550-uart15-9b7bd48e747d

Best regards,

Signature · 1 line
Aaron Kling <[email protected]>
Reviewed-by on v3 1/1
#1 lore raw
Quoted 8 lines · On 2/12/26 5:41 PM, Aaron Kling via B4 Relay wrote:

From: Xilin Wu <[email protected]>

Add uart15 node for UART bus present on sm8550 SoC.

Quoted 6 lines

---
This patch was originally submitted as part of a series to support the AYN Odin 2 [0]. That series stalled, so submitting separately.

[0] https://lore.kernel.org/all/[email protected]/
---

Konrad

maintainer Applied
#2 lore raw
In reply to Aaron Kling
Quoted 3 lines · Aaron Kling

Add uart15 node for UART bus present on sm8550 SoC.

Applied, thanks!

[1/1] arm64: dts: qcom: sm8550: Add UART15

      commit: 45e8c9052a5070fb83ca581dcd12b955c9dcbe89

Best regards,

Signature · 1 line
Bjorn Andersson <[email protected]>