[PATCH] arm64: dts: qcom: sm8150: add uart13 node

From: qaz6750 lzy
Date: Tue Jul 25 2023 - 03:27:13 EST


Bluetooth on SM8150 requires uart13

Signed-off-by: qaz6750 lzy <qaz6750@xxxxxxxxxxx>
---
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