public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: qcom: sm8150: add uart13 node
@ 2023-07-25  7:22 qaz6750 lzy
  2023-07-26  6:11 ` Bjorn Andersson
  2023-07-26  7:40 ` Krzysztof Kozlowski
  0 siblings, 2 replies; 5+ messages in thread
From: qaz6750 lzy @ 2023-07-25  7:22 UTC (permalink / raw)
  To: andersson, agross, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
	conor+dt
  Cc: linux-arm-msm, devicetree, linux-kernel, qaz6750 lzy

Bluetooth on SM8150 requires uart13

Signed-off-by: qaz6750 lzy <qaz6750@outlook.com>
---
 arch/arm64/boot/dts/qcom/sm8150.dtsi | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sm8150.dtsi b/arch/arm64/boot/dts/qcom/sm8150.dtsi
index 18c822abd..837bdb574 100644
--- a/arch/arm64/boot/dts/qcom/sm8150.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8150.dtsi
@@ -1688,6 +1688,17 @@ spi13: spi@c8c000 {
 				status = "disabled";
 			};
 
+			uart13: serial@c8c000  {
+				compatible = "qcom,geni-uart";
+				reg = <0x0 0x00c8c000 0x0 0x4000>;
+				clock-names = "se";
+				clocks = <&gcc GCC_QUPV3_WRAP2_S3_CLK>;
+				pinctrl-0 = <&qup_uart13_default>;
+				pinctrl-names = "default";
+				interrupts = <GIC_SPI 585 IRQ_TYPE_LEVEL_HIGH>;
+				status = "disabled";
+			};
+
 			i2c14: i2c@c90000 {
 				compatible = "qcom,geni-i2c";
 				reg = <0 0x00c90000 0 0x4000>;
@@ -2556,6 +2567,13 @@ qup_spi13_default: qup-spi13-default-state {
 				bias-disable;
 			};
 
+			qup_uart13_default: qup-uart13-default-state {
+				pins = "gpio43", "gpio44", "gpio45", "gpio46";
+				function = "qup13";
+				drive-strength = <2>;
+				bias-disable;
+			};
+
 			qup_i2c14_default: qup-i2c14-default-state {
 				pins = "gpio47", "gpio48";
 				function = "qup14";
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-07-26  7:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-25  7:22 [PATCH] arm64: dts: qcom: sm8150: add uart13 node qaz6750 lzy
2023-07-26  6:11 ` Bjorn Andersson
2023-07-26  7:46   ` qaz6750 lzy
2023-07-26  7:40 ` Krzysztof Kozlowski
2023-07-26  7:49   ` qaz6750 lzy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox