From: Kathiravan Thirumoorthy <kathiravan.thirumoorthy@oss.qualcomm.com>
To: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>,
Bjorn Andersson <andersson@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Philipp Zabel <p.zabel@pengutronix.de>,
Linus Walleij <linusw@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Ulf Hansson <ulf.hansson@linaro.org>,
Robert Marko <robimarko@gmail.com>,
Guru Das Srinagesh <linux@gurudas.dev>
Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-gpio@vger.kernel.org, linux-mmc@vger.kernel.org
Subject: Re: [PATCH 8/9] arm64: dts: qcom: add IPQ5210 SoC and rdp504 board support
Date: Mon, 16 Mar 2026 14:33:41 +0530 [thread overview]
Message-ID: <84f1407d-62c6-4ec2-8976-eabe66c74728@oss.qualcomm.com> (raw)
In-Reply-To: <6e33daf1-bb90-47d8-955c-12ccdd30ebce@oss.qualcomm.com>
On 3/13/2026 6:18 PM, Konrad Dybcio wrote:
> On 3/11/26 10:45 AM, Kathiravan Thirumoorthy wrote:
>> Add initial device tree support for the Qualcomm IPQ5210 SoC and
>> rdp504 board.
>>
>> Signed-off-by: Kathiravan Thirumoorthy <kathiravan.thirumoorthy@oss.qualcomm.com>
>> ---
>> arch/arm64/boot/dts/qcom/Makefile | 1 +
>> arch/arm64/boot/dts/qcom/ipq5210-rdp504.dts | 93 +++++++++
>> arch/arm64/boot/dts/qcom/ipq5210.dtsi | 304 ++++++++++++++++++++++++++++
>> 3 files changed, 398 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/Makefile b/arch/arm64/boot/dts/qcom/Makefile
>> index 02921a495b2cbabcbacc74fbbb99eafe1f6478ac..e7748af640cccffa5c83ec82c37aa441444c2b13 100644
>> --- a/arch/arm64/boot/dts/qcom/Makefile
>> +++ b/arch/arm64/boot/dts/qcom/Makefile
>> @@ -22,6 +22,7 @@ hamoa-iot-evk-el2-dtbs := hamoa-iot-evk.dtb x1-el2.dtbo
>> dtb-$(CONFIG_ARCH_QCOM) += hamoa-iot-evk-el2.dtb
>> dtb-$(CONFIG_ARCH_QCOM) += ipq5018-rdp432-c2.dtb
>> dtb-$(CONFIG_ARCH_QCOM) += ipq5018-tplink-archer-ax55-v1.dtb
>> +dtb-$(CONFIG_ARCH_QCOM) += ipq5210-rdp504.dtb
>> dtb-$(CONFIG_ARCH_QCOM) += ipq5332-rdp441.dtb
>> dtb-$(CONFIG_ARCH_QCOM) += ipq5332-rdp442.dtb
>> dtb-$(CONFIG_ARCH_QCOM) += ipq5332-rdp468.dtb
>> diff --git a/arch/arm64/boot/dts/qcom/ipq5210-rdp504.dts b/arch/arm64/boot/dts/qcom/ipq5210-rdp504.dts
>> new file mode 100644
>> index 0000000000000000000000000000000000000000..3d95939785bc5bd4f510e2f992f0a1e80848c8de
>> --- /dev/null
>> +++ b/arch/arm64/boot/dts/qcom/ipq5210-rdp504.dts
>> @@ -0,0 +1,93 @@
>> +// SPDX-License-Identifier: BSD-3-Clause
>> +/*
>> + * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
>> + */
>> +
>> +/dts-v1/;
>> +
>> +#include "ipq5210.dtsi"
>> +
>> +/ {
>> + model = "Qualcomm Technologies, Inc. IPQ5210 RDP504";
>> + compatible = "qcom,ipq5210-rdp504", "qcom,ipq5210";
>> +
>> + aliases {
>> + serial0 = &uart1;
>> + };
>> +
>> + chosen {
>> + stdout-path = "serial0";
>> + };
>> +
>> + soc@0 {
>> + qupv3: geniqup@1ac0000 {
>> + status = "okay";
>> +
>> + uart1: serial@1a84000 {
> Please define this in the SoC DTSI and enable it via a &uart1 {} reference
> from the board DT
Ack.
>
> [...]
>
>> + xo: xo {
> "xo_board" is the convention in other DTs
Ack.
>
> [...]
>
>> + L2_0: l2-cache {
> labels must apparently be lowercase nowadays
Ack.
>
>> + compatible = "cache";
>> + cache-level = <0x2>;
> = <2>
Ack.
>
>
>> + cache-unified;
>> + };
>> + };
>> +
>> + firmware {
>> + optee {
>> + compatible = "linaro,optee-tz";
>> + method = "smc";
>> + };
>> +
>> + scm {
>> + compatible = "qcom,scm-ipq5210", "qcom,scm";
>> + };
> OP-TEE *and* SCM? What does the former do?
For OP-TEE, we have use cases like getting the random numbers,
remoteproc PAS and few others.
For SCM, setting the download mode is one typical example where OP-TEE
doesn't come into picture.
Please let me know if this helps.
>
> [...]
>
>> + soc@0 {
>> + compatible = "simple-bus";
>> + #address-cells = <2>;
>> + #size-cells = <2>;
>> + ranges = <0 0 0 0 0x10 0>;
> should dma-ranges also be 36-bit?
Ack.
>
> [...]
>
>> + qupv3: geniqup@1ac0000 {
>> + compatible = "qcom,geni-se-qup";
>> + reg = <0x0 0x01ac0000 0x0 0x2000>;
>> + clocks = <&gcc GCC_QUPV3_AHB_MST_CLK>,
>> + <&gcc GCC_QUPV3_AHB_SLV_CLK>;
>> + clock-names = "m-ahb", "s-ahb";
>> + ranges;
>> + #address-cells = <2>;
>> + #size-cells = <2>;
>> +
>> + status = "disabled";
> I see there's only a single QUP wrapper - therefore I'm going to assume
> there will never be a SoC where this needs to be disabled
Ack.
>
> [...]
>
>> +
>> + uart1: serial@1a84000 {
>> + compatible = "qcom,geni-debug-uart";
>> + reg = <0x0 0x01a84000 0x0 0x4000>;
>> + clocks = <&gcc GCC_QUPV3_WRAP_SE1_CLK>;
>> + clock-names = "se";
>> + interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
>> + status = "disabled";
> Please uniformly keep a \n before status, file-wide
Ack.
>
> Konrad
next prev parent reply other threads:[~2026-03-16 9:03 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-11 9:45 [PATCH 0/9] Add minimal boot support for Qualcomm IPQ5210 Kathiravan Thirumoorthy
2026-03-11 9:45 ` [PATCH 1/9] dt-bindings: clock: add Qualcomm IPQ5210 GCC Kathiravan Thirumoorthy
2026-03-13 13:22 ` Krzysztof Kozlowski
2026-03-16 7:16 ` Kathiravan Thirumoorthy
2026-03-11 9:45 ` [PATCH 2/9] clk: qcom: add Global Clock controller (GCC) driver for IPQ5210 SoC Kathiravan Thirumoorthy
2026-03-11 14:50 ` Dmitry Baryshkov
2026-03-13 8:42 ` Kathiravan Thirumoorthy
2026-03-11 9:45 ` [PATCH 3/9] dt-bindings: pinctrl: qcom: add IPQ5210 pinctrl Kathiravan Thirumoorthy
2026-03-13 13:24 ` Krzysztof Kozlowski
2026-03-16 7:18 ` Kathiravan Thirumoorthy
2026-03-11 9:45 ` [PATCH 4/9] pinctrl: qcom: Introduce IPQ5210 TLMM driver Kathiravan Thirumoorthy
2026-03-11 14:45 ` Dmitry Baryshkov
2026-03-13 12:54 ` Konrad Dybcio
2026-03-16 8:58 ` Kathiravan Thirumoorthy
2026-03-16 9:46 ` Konrad Dybcio
2026-03-16 10:58 ` Kathiravan Thirumoorthy
2026-03-11 9:45 ` [PATCH 5/9] dt-bindings: qcom: add ipq5210 boards Kathiravan Thirumoorthy
2026-03-13 13:20 ` Krzysztof Kozlowski
2026-03-11 9:45 ` [PATCH 6/9] dt-bindings: mmc: sdhci-msm: add IPQ5210 compatible Kathiravan Thirumoorthy
2026-03-13 13:19 ` Krzysztof Kozlowski
2026-03-16 15:15 ` Ulf Hansson
2026-03-11 9:45 ` [PATCH 7/9] dt-bindings: firmware: qcom,scm: Document ipq5210 SCM Kathiravan Thirumoorthy
2026-03-13 13:19 ` Krzysztof Kozlowski
2026-03-11 9:45 ` [PATCH 8/9] arm64: dts: qcom: add IPQ5210 SoC and rdp504 board support Kathiravan Thirumoorthy
2026-03-13 12:48 ` Konrad Dybcio
2026-03-16 9:03 ` Kathiravan Thirumoorthy [this message]
2026-03-16 9:34 ` Konrad Dybcio
2026-03-22 5:31 ` Sumit Garg
2026-03-11 9:45 ` [PATCH 9/9] arm64: defconfig: enable IPQ5210 RDP504 base configs Kathiravan Thirumoorthy
2026-03-13 13:19 ` Krzysztof Kozlowski
2026-03-11 13:01 ` [PATCH 0/9] Add minimal boot support for Qualcomm IPQ5210 Linus Walleij
2026-03-13 6:55 ` Kathiravan Thirumoorthy
2026-03-13 13:25 ` Krzysztof Kozlowski
2026-03-16 7:27 ` Kathiravan Thirumoorthy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=84f1407d-62c6-4ec2-8976-eabe66c74728@oss.qualcomm.com \
--to=kathiravan.thirumoorthy@oss.qualcomm.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linusw@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux@gurudas.dev \
--cc=mturquette@baylibre.com \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--cc=robimarko@gmail.com \
--cc=sboyd@kernel.org \
--cc=ulf.hansson@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox