Add nodes for remoteprocs: ADSP and CDSP for QCS615 SoC to enable proper
remoteproc functionality.
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Signed-off-by: Lijuan Gao <quic_lijuang@quicinc.com>
---
arch/arm64/boot/dts/qcom/qcs615.dtsi | 86 ++++++++++++++++++++++++++++++++++++
1 file changed, 86 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/qcs615.dtsi b/arch/arm64/boot/dts/qcom/qcs615.dtsi
index dd54cfe7b7a6f03c1aa658ce3014d50478df5931..b7d649822a35fd30366ecab2eeb7b2fced1b369d 100644
--- a/arch/arm64/boot/dts/qcom/qcs615.dtsi
+++ b/arch/arm64/boot/dts/qcom/qcs615.dtsi
@@ -473,6 +473,16 @@ smem_region: smem@86000000 {
no-map;
hwlocks = <&tcsr_mutex 3>;
};
+
+ rproc_cdsp_mem: rproc-cdsp@93b00000 {
+ reg = <0x0 0x93b00000 0x0 0x1e00000>;
+ no-map;
+ };
+
+ rproc_adsp_mem: rproc-adsp@95900000 {
+ reg = <0x0 0x95900000 0x0 0x1e00000>;
+ no-map;
+ };
};
soc: soc@0 {
@@ -3117,6 +3127,44 @@ cti@7900000 {
clock-names = "apb_pclk";
};
+ remoteproc_cdsp: remoteproc@8300000 {
+ compatible = "qcom,qcs615-cdsp-pas", "qcom,sm8150-cdsp-pas";
+ reg = <0x0 0x08300000 0x0 0x4040>;
+
+ interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>,
+ <&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
+ <&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
+ <&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
+ <&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
+ interrupt-names = "wdog",
+ "fatal",
+ "ready",
+ "handover",
+ "stop-ack";
+
+ clocks = <&rpmhcc RPMH_CXO_CLK>;
+ clock-names = "xo";
+
+ power-domains = <&rpmhpd RPMHPD_CX>;
+ power-domain-names = "cx";
+
+ memory-region = <&rproc_cdsp_mem>;
+
+ qcom,qmp = <&aoss_qmp>;
+
+ qcom,smem-states = <&cdsp_smp2p_out 0>;
+ qcom,smem-state-names = "stop";
+
+ status = "disabled";
+
+ glink-edge {
+ interrupts = <GIC_SPI 574 IRQ_TYPE_EDGE_RISING>;
+ mboxes = <&apss_shared 4>;
+ label = "cdsp";
+ qcom,remote-pid = <5>;
+ };
+ };
+
pmu@90b6300 {
compatible = "qcom,qcs615-cpu-bwmon", "qcom,sdm845-bwmon";
reg = <0x0 0x090b6300 0x0 0x600>;
@@ -3751,6 +3799,44 @@ usb_2_dwc3: usb@a800000 {
maximum-speed = "high-speed";
};
};
+
+ remoteproc_adsp: remoteproc@62400000 {
+ compatible = "qcom,qcs615-adsp-pas", "qcom,sm8150-adsp-pas";
+ reg = <0x0 0x62400000 0x0 0x4040>;
+
+ interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
+ <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
+ <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
+ <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
+ <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
+ interrupt-names = "wdog",
+ "fatal",
+ "ready",
+ "handover",
+ "stop-ack";
+
+ clocks = <&rpmhcc RPMH_CXO_CLK>;
+ clock-names = "xo";
+
+ power-domains = <&rpmhpd RPMHPD_CX>;
+ power-domain-names = "cx";
+
+ memory-region = <&rproc_adsp_mem>;
+
+ qcom,qmp = <&aoss_qmp>;
+
+ qcom,smem-states = <&adsp_smp2p_out 0>;
+ qcom,smem-state-names = "stop";
+
+ status = "disabled";
+
+ glink_edge: glink-edge {
+ interrupts = <GIC_SPI 170 IRQ_TYPE_EDGE_RISING>;
+ mboxes = <&apss_shared 24>;
+ label = "lpass";
+ qcom,remote-pid = <2>;
+ };
+ };
};
arch_timer: timer {
--
2.34.1
On Fri, May 16, 2025 at 11:27:06AM +0800, Lijuan Gao wrote: > Add nodes for remoteprocs: ADSP and CDSP for QCS615 SoC to enable proper > remoteproc functionality. > > Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> > Signed-off-by: Lijuan Gao <quic_lijuang@quicinc.com> > --- > arch/arm64/boot/dts/qcom/qcs615.dtsi | 86 ++++++++++++++++++++++++++++++++++++ > 1 file changed, 86 insertions(+) Is the MPSS not present on the QCS615? It was a part of the SM6150 design. -- With best wishes Dmitry
On 5/17/25 12:11 AM, Dmitry Baryshkov wrote: > On Fri, May 16, 2025 at 11:27:06AM +0800, Lijuan Gao wrote: >> Add nodes for remoteprocs: ADSP and CDSP for QCS615 SoC to enable proper >> remoteproc functionality. >> >> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> >> Signed-off-by: Lijuan Gao <quic_lijuang@quicinc.com> >> --- >> arch/arm64/boot/dts/qcom/qcs615.dtsi | 86 ++++++++++++++++++++++++++++++++++++ >> 1 file changed, 86 insertions(+) > > Is the MPSS not present on the QCS615? It was a part of the SM6150 > design. Hmm.. good point.. It's surely not there on QC*S* it is there on SM6150 though, quite obviously downstream ref: https://github.com/ianmacd/gts6lwifi/blob/master/arch/arm64/boot/dts/qcom/sm6150.dtsi Konrad
在 5/18/2025 12:59 AM, Konrad Dybcio 写道: > On 5/17/25 12:11 AM, Dmitry Baryshkov wrote: >> On Fri, May 16, 2025 at 11:27:06AM +0800, Lijuan Gao wrote: >>> Add nodes for remoteprocs: ADSP and CDSP for QCS615 SoC to enable proper >>> remoteproc functionality. >>> >>> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> >>> Signed-off-by: Lijuan Gao <quic_lijuang@quicinc.com> >>> --- >>> arch/arm64/boot/dts/qcom/qcs615.dtsi | 86 ++++++++++++++++++++++++++++++++++++ >>> 1 file changed, 86 insertions(+) >> >> Is the MPSS not present on the QCS615? It was a part of the SM6150 >> design. > > Hmm.. good point.. > > It's surely not there on QC*S* > > it is there on SM6150 though, quite obviously > > downstream ref: > > https://github.com/ianmacd/gts6lwifi/blob/master/arch/arm64/boot/dts/qcom/sm6150.dtsi > > Konrad Hi Konrad and Dmitry, I have confirmed with the relavant folks, and this variant of the QCS615 does not support modem. -- Thx and BRs Lijuan Gao
On Mon, May 19, 2025 at 03:12:39PM +0800, Lijuan Gao wrote: > > > 在 5/18/2025 12:59 AM, Konrad Dybcio 写道: > > On 5/17/25 12:11 AM, Dmitry Baryshkov wrote: > > > On Fri, May 16, 2025 at 11:27:06AM +0800, Lijuan Gao wrote: > > > > Add nodes for remoteprocs: ADSP and CDSP for QCS615 SoC to enable proper > > > > remoteproc functionality. > > > > > > > > Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> > > > > Signed-off-by: Lijuan Gao <quic_lijuang@quicinc.com> > > > > --- > > > > arch/arm64/boot/dts/qcom/qcs615.dtsi | 86 ++++++++++++++++++++++++++++++++++++ > > > > 1 file changed, 86 insertions(+) > > > > > > Is the MPSS not present on the QCS615? It was a part of the SM6150 > > > design. > > > > Hmm.. good point.. > > > > It's surely not there on QC*S* > > > > it is there on SM6150 though, quite obviously > > > > downstream ref: > > > > https://github.com/ianmacd/gts6lwifi/blob/master/arch/arm64/boot/dts/qcom/sm6150.dtsi > > > > Konrad > > Hi Konrad and Dmitry, > > I have confirmed with the relavant folks, and this variant of the QCS615 > does not support modem. Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> -- With best wishes Dmitry
在 5/18/2025 12:59 AM, Konrad Dybcio 写道: > On 5/17/25 12:11 AM, Dmitry Baryshkov wrote: >> On Fri, May 16, 2025 at 11:27:06AM +0800, Lijuan Gao wrote: >>> Add nodes for remoteprocs: ADSP and CDSP for QCS615 SoC to enable proper >>> remoteproc functionality. >>> >>> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> >>> Signed-off-by: Lijuan Gao <quic_lijuang@quicinc.com> >>> --- >>> arch/arm64/boot/dts/qcom/qcs615.dtsi | 86 ++++++++++++++++++++++++++++++++++++ >>> 1 file changed, 86 insertions(+) >> >> Is the MPSS not present on the QCS615? It was a part of the SM6150 >> design. > > Hmm.. good point.. > > It's surely not there on QC*S* > > it is there on SM6150 though, quite obviously > > downstream ref: > > https://github.com/ianmacd/gts6lwifi/blob/master/arch/arm64/boot/dts/qcom/sm6150.dtsi > > Konrad Thanks Konrad and Dmitry, I will add MPSS in next patch. -- Thx and BRs Lijuan Gao
© 2016 - 2025 Red Hat, Inc.