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

qaz6750 lzy posted 1 patch 2 years, 6 months ago
arch/arm64/boot/dts/qcom/sm8150.dtsi | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
[PATCH] arm64: dts: qcom: sm8150: add uart13 node
Posted by qaz6750 lzy 2 years, 6 months ago
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
Re: [PATCH] arm64: dts: qcom: sm8150: add uart13 node
Posted by Krzysztof Kozlowski 2 years, 6 months ago
On 25/07/2023 09:22, qaz6750 lzy wrote:
> Bluetooth on SM8150 requires uart13
> 
> Signed-off-by: qaz6750 lzy <qaz6750@outlook.com>

Not much improved here. We talked about this, sorry.

Best regards,
Krzysztof
Re: [PATCH] arm64: dts: qcom: sm8150: add uart13 node
Posted by qaz6750 lzy 2 years, 6 months ago
>On 25/07/2023 09:22, qaz6750 lzy wrote:
>> Bluetooth on SM8150 requires uart13
>> 
>> Signed-off-by: qaz6750 lzy <qaz6750@outlook.com>
>
>Not much improved here. We talked about this, sorry.

Okay, I'm sorry to bother you

Thanks, 
qaz6750 lzy 
Re: [PATCH] arm64: dts: qcom: sm8150: add uart13 node
Posted by Bjorn Andersson 2 years, 6 months ago
On Tue, Jul 25, 2023 at 03:22:38PM +0800, qaz6750 lzy wrote:
> Bluetooth on SM8150 requires uart13
> 
> Signed-off-by: qaz6750 lzy <qaz6750@outlook.com>

Forgive me, but is that your actual name?

Regards,
Bjorn
Re: [PATCH] arm64: dts: qcom: sm8150: add uart13 node
Posted by qaz6750 lzy 2 years, 6 months ago
>>On Tue, Jul 25, 2023 at 03:22:38PM +0800, qaz6750 lzy wrote:
>> Bluetooth on SM8150 requires uart13
>> 
>> Signed-off-by: qaz6750 lzy <qaz6750@outlook.com>
>
>Forgive me, but is that your actual name?
>

Yes sir, I'm sorry

Thanks, 
qaz6750 lzy