Skip to content

Commit 18b011d

Browse files
lijuanggandersson
authored andcommitted
arm64: dts: qcom: qcs615: add ADSP and CDSP nodes
Add nodes for remoteprocs: ADSP and CDSP for QCS615 SoC to enable proper remoteproc functionality. Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Lijuan Gao <quic_lijuang@quicinc.com> Link: https://lore.kernel.org/r/20250526-add_qcs615_remoteproc_support-v4-5-06a7d8bed0b5@quicinc.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent a129ca1 commit 18b011d

1 file changed

Lines changed: 86 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/qcs615.dtsi

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,16 @@
473473
no-map;
474474
hwlocks = <&tcsr_mutex 3>;
475475
};
476+
477+
rproc_cdsp_mem: rproc-cdsp@93b00000 {
478+
reg = <0x0 0x93b00000 0x0 0x1e00000>;
479+
no-map;
480+
};
481+
482+
rproc_adsp_mem: rproc-adsp@95900000 {
483+
reg = <0x0 0x95900000 0x0 0x1e00000>;
484+
no-map;
485+
};
476486
};
477487

478488
soc: soc@0 {
@@ -3118,6 +3128,44 @@
31183128
clock-names = "apb_pclk";
31193129
};
31203130

3131+
remoteproc_cdsp: remoteproc@8300000 {
3132+
compatible = "qcom,qcs615-cdsp-pas", "qcom,sm8150-cdsp-pas";
3133+
reg = <0x0 0x08300000 0x0 0x4040>;
3134+
3135+
interrupts-extended = <&intc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>,
3136+
<&cdsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
3137+
<&cdsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
3138+
<&cdsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
3139+
<&cdsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
3140+
interrupt-names = "wdog",
3141+
"fatal",
3142+
"ready",
3143+
"handover",
3144+
"stop-ack";
3145+
3146+
clocks = <&rpmhcc RPMH_CXO_CLK>;
3147+
clock-names = "xo";
3148+
3149+
power-domains = <&rpmhpd RPMHPD_CX>;
3150+
power-domain-names = "cx";
3151+
3152+
memory-region = <&rproc_cdsp_mem>;
3153+
3154+
qcom,qmp = <&aoss_qmp>;
3155+
3156+
qcom,smem-states = <&cdsp_smp2p_out 0>;
3157+
qcom,smem-state-names = "stop";
3158+
3159+
status = "disabled";
3160+
3161+
glink-edge {
3162+
interrupts = <GIC_SPI 574 IRQ_TYPE_EDGE_RISING>;
3163+
mboxes = <&apss_shared 4>;
3164+
label = "cdsp";
3165+
qcom,remote-pid = <5>;
3166+
};
3167+
};
3168+
31213169
pmu@90b6300 {
31223170
compatible = "qcom,qcs615-cpu-bwmon", "qcom,sdm845-bwmon";
31233171
reg = <0x0 0x090b6300 0x0 0x600>;
@@ -3751,6 +3799,44 @@
37513799
maximum-speed = "high-speed";
37523800
};
37533801
};
3802+
3803+
remoteproc_adsp: remoteproc@62400000 {
3804+
compatible = "qcom,qcs615-adsp-pas", "qcom,sm8150-adsp-pas";
3805+
reg = <0x0 0x62400000 0x0 0x4040>;
3806+
3807+
interrupts-extended = <&intc GIC_SPI 162 IRQ_TYPE_EDGE_RISING>,
3808+
<&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
3809+
<&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
3810+
<&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
3811+
<&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
3812+
interrupt-names = "wdog",
3813+
"fatal",
3814+
"ready",
3815+
"handover",
3816+
"stop-ack";
3817+
3818+
clocks = <&rpmhcc RPMH_CXO_CLK>;
3819+
clock-names = "xo";
3820+
3821+
power-domains = <&rpmhpd RPMHPD_CX>;
3822+
power-domain-names = "cx";
3823+
3824+
memory-region = <&rproc_adsp_mem>;
3825+
3826+
qcom,qmp = <&aoss_qmp>;
3827+
3828+
qcom,smem-states = <&adsp_smp2p_out 0>;
3829+
qcom,smem-state-names = "stop";
3830+
3831+
status = "disabled";
3832+
3833+
glink_edge: glink-edge {
3834+
interrupts = <GIC_SPI 170 IRQ_TYPE_EDGE_RISING>;
3835+
mboxes = <&apss_shared 24>;
3836+
label = "lpass";
3837+
qcom,remote-pid = <2>;
3838+
};
3839+
};
37543840
};
37553841

37563842
arch_timer: timer {

0 commit comments

Comments
 (0)