* [PATCH v2] arm64: dts: qcom: sm8450: add uart20 node
@ 2022-05-02 19:51 Dmitry Baryshkov
2022-06-27 20:02 ` (subset) " Bjorn Andersson
0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Baryshkov @ 2022-05-02 19:51 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Rob Herring, Krzysztof Kozlowski
Cc: linux-arm-msm, devicetree, Vinod Koul, Konrad Dybcio
Add device tree node for uart20, which is typically used for Bluetooth attachment.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
Changes since v1:
- Fixed the order of dts nodes
- removed extra mux level from the pinctrl definition.
---
arch/arm64/boot/dts/qcom/sm8450.dtsi | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sm8450.dtsi b/arch/arm64/boot/dts/qcom/sm8450.dtsi
index 7f52c3cfdfb7..9c69856307c8 100644
--- a/arch/arm64/boot/dts/qcom/sm8450.dtsi
+++ b/arch/arm64/boot/dts/qcom/sm8450.dtsi
@@ -976,6 +976,19 @@ i2c20: i2c@894000 {
status = "disabled";
};
+ uart20: serial@894000 {
+ compatible = "qcom,geni-uart";
+ reg = <0 0x00894000 0 0x4000>;
+ clock-names = "se";
+ clocks = <&gcc GCC_QUPV3_WRAP2_S5_CLK>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&qup_uart20_default>;
+ interrupts = <GIC_SPI 587 IRQ_TYPE_LEVEL_HIGH>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "disabled";
+ };
+
spi20: spi@894000 {
compatible = "qcom,geni-spi";
reg = <0 0x00894000 0 0x4000>;
@@ -2738,6 +2751,12 @@ qup_uart7_tx: qup-uart7-tx {
drive-strength = <2>;
bias-disable;
};
+
+ qup_uart20_default: qup-uart20-default {
+ pins = "gpio76", "gpio77", "gpio78", "gpio79";
+ function = "qup20";
+ };
+
};
apps_smmu: iommu@15000000 {
--
2.35.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: (subset) [PATCH v2] arm64: dts: qcom: sm8450: add uart20 node
2022-05-02 19:51 [PATCH v2] arm64: dts: qcom: sm8450: add uart20 node Dmitry Baryshkov
@ 2022-06-27 20:02 ` Bjorn Andersson
0 siblings, 0 replies; 2+ messages in thread
From: Bjorn Andersson @ 2022-06-27 20:02 UTC (permalink / raw)
To: Krzysztof Kozlowski, Andy Gross, Rob Herring, Dmitry Baryshkov
Cc: Konrad Dybcio, devicetree, linux-arm-msm, Vinod Koul
On Mon, 2 May 2022 22:51:33 +0300, Dmitry Baryshkov wrote:
> Add device tree node for uart20, which is typically used for Bluetooth attachment.
>
>
Applied, thanks!
[1/1] arm64: dts: qcom: sm8450: add uart20 node
commit: f5837418479a3f0fafca601ec83eaee0465b5a9e
Best regards,
--
Bjorn Andersson <bjorn.andersson@linaro.org>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-27 20:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-02 19:51 [PATCH v2] arm64: dts: qcom: sm8450: add uart20 node Dmitry Baryshkov
2022-06-27 20:02 ` (subset) " Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).