From: Biswapriyo Nath via B4 Relay <devnull+nathbappai.gmail.com@kernel.org>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org,
Biswapriyo Nath <nathbappai@gmail.com>
Subject: [PATCH 4/5] arm64: dts: qcom: sm6125: Add debug UART node
Date: Mon, 19 Jan 2026 15:13:06 +0000 [thread overview]
Message-ID: <20260119-xiaomi-ginkgo-features-v1-4-3c8fae984bda@gmail.com> (raw)
In-Reply-To: <20260119-xiaomi-ginkgo-features-v1-0-3c8fae984bda@gmail.com>
From: Biswapriyo Nath <nathbappai@gmail.com>
qup0 on sm6125 has 6 SEs and SE4 is used as debug uart. The uart node
and the associated pinctrl are added here.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
---
arch/arm64/boot/dts/qcom/sm6125.dtsi | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm6125.dtsi b/arch/arm64/boot/dts/qcom/sm6125.dtsi
index e60d4d74c..0540fb865 100644
--- a/arch/arm64/boot/dts/qcom/sm6125.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm6125.dtsi
@@ -661,6 +661,13 @@ qup_spi9_sleep: qup-spi9-sleep-state {
drive-strength = <6>;
bias-disable;
};
+
+ qup_uart4_default: qup-uart4-default-state {
+ pins = "gpio16", "gpio17";
+ function = "qup04";
+ drive-strength = <2>;
+ bias-disable;
+ };
};
gcc: clock-controller@1400000 {
@@ -985,6 +992,17 @@ i2c4: i2c@4a90000 {
#size-cells = <0>;
status = "disabled";
};
+
+ uart4: serial@4a90000 {
+ compatible = "qcom,geni-debug-uart";
+ reg = <0x04a90000 0x4000>;
+ clocks = <&gcc GCC_QUPV3_WRAP0_S4_CLK>;
+ clock-names = "se";
+ interrupts = <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>;
+ pinctrl-0 = <&qup_uart4_default>;
+ pinctrl-names = "default";
+ status = "disabled";
+ };
};
gpi_dma1: dma-controller@4c00000 {
--
2.52.0
next prev parent reply other threads:[~2026-01-19 15:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-19 15:13 [PATCH 0/5] Fix volume up and add RTC, PRNG, UART in xiaomi-ginkgo Biswapriyo Nath via B4 Relay
2026-01-19 15:13 ` [PATCH 1/5] arm64: dts: qcom: sm6125-xiaomi-ginkgo: Fix volume up button Biswapriyo Nath via B4 Relay
2026-01-19 15:45 ` Konrad Dybcio
2026-01-19 15:13 ` [PATCH 2/5] arm64: dts: qcom: sm6125-xiaomi-ginkgo: Enable RTC Biswapriyo Nath via B4 Relay
2026-01-20 10:28 ` Konrad Dybcio
2026-01-19 15:13 ` [PATCH 3/5] arm64: dts: qcom: sm6125: Add PRNG node Biswapriyo Nath via B4 Relay
2026-01-19 15:13 ` Biswapriyo Nath via B4 Relay [this message]
2026-01-19 15:46 ` [PATCH 4/5] arm64: dts: qcom: sm6125: Add debug UART node Konrad Dybcio
2026-01-19 15:13 ` [PATCH 5/5] arm64: dts: qcom: sm6125-xiaomi-ginkgo: Enable debug UART Biswapriyo Nath via B4 Relay
2026-01-19 16:41 ` Dmitry Baryshkov
2026-01-20 10:28 ` Konrad Dybcio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260119-xiaomi-ginkgo-features-v1-4-3c8fae984bda@gmail.com \
--to=devnull+nathbappai.gmail.com@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nathbappai@gmail.com \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®