Add devicetree support for SDX65 Modem and MTP
Subsystems (5)
v2 cover Add devicetree support for SDX65 Modem and MTP
From: Vamsi Krishna Lanka <[email protected]>
Hello,
Changes from v1:
- Addressed Bjorn's comments
This series adds devicetree support for Qualcomm SDX65 platform and MTP board. This series functionally depends on Add Pdc, GCC and RPMh Clock support series [1] and Add pinctrl support for SDX65 [2] which are under review.
With this current devicetree support, the MTP can boot into initramfs shell.
Thanks,
Vamsi
Vamsi krishna Lanka (3):
dt-bindings: arm: qcom: Document SDX65 platform and boards
ARM: dts: qcom: Add SDX65 platform and MTP board support
ARM: dts: qcom: sdx65: Add pincontrol node
.../devicetree/bindings/arm/qcom.yaml | 6 + arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/qcom-sdx65-mtp.dts | 25 +++ arch/arm/boot/dts/qcom-sdx65.dtsi | 210 ++++++++++++++++++ 4 files changed, 243 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/qcom-sdx65-mtp.dts create mode 100644 arch/arm/boot/dts/qcom-sdx65.dtsi
Signature · 1 line
2.32.0
PATCH v2 1/3 dt-bindings: arm: qcom: Document SDX65 platform and boards
From: Vamsi krishna Lanka <[email protected]>
Document the SDX65 platform binding and also the boards using it.
--- Documentation/devicetree/bindings/arm/qcom.yaml | 6 ++++++ 1 file changed, 6 insertions(+)
Documentation/devicetree/bindings/arm/qcom.yaml +6 -0
@@ -41,6 +41,7 @@ description: | sdm660 sdm845 sdx55 + sdx65 sm8250 sm8350
@@ -174,6 +175,11 @@ properties: - qcom,sdx55-mtp - const: qcom,sdx55 + - items: + - enum: + - qcom,sdx65-mtp + - const: qcom,sdx65 + - items: - enum: - qcom,ipq6018-cp01-c1
Signature · 1 line
2.32.0
PATCH v2 2/3 ARM: dts: qcom: Add SDX65 platform and MTP board support
In reply to [email protected]From: Vamsi krishna Lanka <[email protected]>
Add basic devicetree support for SDX65 platform and MTP board from Qualcomm. The SDX65 platform features an ARM Cortex A7 CPU which forms the Application Processor Sub System (APSS) along with standard Qualcomm peripherals like GCC, TLMM, BLSP, QPIC, and BAM etc... Also, there exists the networking parts such as IPA, MHI, PCIE-EP, EMAC, and Modem etc..
This commit adds basic devicetree support that includes GCC, RPMh clock, INTC and Debug UART.
--- arch/arm/boot/dts/Makefile | 3 +- arch/arm/boot/dts/qcom-sdx65-mtp.dts | 25 ++++ arch/arm/boot/dts/qcom-sdx65.dtsi | 198 +++++++++++++++++++++++++++ 3 files changed, 225 insertions(+), 1 deletion(-) create mode 100644 arch/arm/boot/dts/qcom-sdx65-mtp.dts create mode 100644 arch/arm/boot/dts/qcom-sdx65.dtsi
arch/arm/boot/dts/Makefile +2 -1
@@ -929,7 +929,8 @@ dtb-$(CONFIG_ARCH_QCOM) += \ qcom-msm8974-sony-xperia-castor.dtb \ qcom-msm8974-sony-xperia-honami.dtb \ qcom-mdm9615-wp8548-mangoh-green.dtb \ - qcom-sdx55-mtp.dtb + qcom-sdx55-mtp.dtb \ + qcom-sdx65-mtp.dtb dtb-$(CONFIG_ARCH_RDA) += \ rda8810pl-orangepi-2g-iot.dtb \ rda8810pl-orangepi-i96.dtb
arch/arm/boot/dts/qcom-sdx65-mtp.dts new file +25 -0
@@ -0,0 +1,25 @@ +// SPDX-License-Identifier: BSD-3-Clause +/* + * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved. + */ +/dts-v1/; + +#include "qcom-sdx65.dtsi" + +/ { + model = "Qualcomm Technologies, Inc. SDX65 MTP"; + compatible = "qcom,sdx65-mtp", "qcom,sdx65"; + qcom,board-id = <0x2010008 0x302>; + + aliases { + serial0 = &blsp1_uart3; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&blsp1_uart3 { + status = "ok"; +};
arch/arm/boot/dts/qcom-sdx65.dtsi new file +198 -0
198 lines not on this page · raw message
Signature · 1 line
2.32.0
PATCH v2 3/3 ARM: dts: qcom: sdx65: Add pincontrol node
In reply to [email protected]From: Vamsi krishna Lanka <[email protected]>
This commit adds pincontrol node to SDX65 dts.
--- arch/arm/boot/dts/qcom-sdx65.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+)
arch/arm/boot/dts/qcom-sdx65.dtsi +12 -0
@@ -79,6 +79,18 @@ blsp1_uart3: serial@831000 { status = "disabled"; }; + tlmm: pinctrl@f100000 { + compatible = "qcom,sdx65-tlmm"; + reg = <0xf100000 0x300000>; + interrupts = <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>; + gpio-controller; + #gpio-cells = <2>; + gpio-ranges = <&tlmm 0 0 109>; + interrupt-controller; + interrupt-parent = <&intc>; + #interrupt-cells = <2>; + }; + pdc: interrupt-controller@b210000 { compatible = "qcom,sdx65-pdc", "qcom,pdc"; reg = <0xb210000 0x10000>;
Signature · 1 line
2.32.0