Skip to content

Commit 37a1519

Browse files
KyleDengChunkaiKomal-Bajaj
authored andcommitted
arm64: dts: qcom: qcs615: Add mproc node for SEMP2P
The Shared Memory Point to Point (SMP2P) protocol facilitates communication of a single 32-bit value between two processors. Add these two nodes for remoteproc enablement on QCS615 SoC. Signed-off-by: Kyle Deng <quic_chunkaid@quicinc.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Signed-off-by: Lijuan Gao <quic_lijuang@quicinc.com> Link: https://lore.kernel.org/r/20250526-add_qcs615_remoteproc_support-v4-3-06a7d8bed0b5@quicinc.com
1 parent b97add4 commit 37a1519

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

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

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,50 @@
332332
qcom,bcm-voters = <&apps_bcm_voter>;
333333
};
334334

335+
smp2p-adsp {
336+
compatible = "qcom,smp2p";
337+
qcom,smem = <443>, <429>;
338+
interrupts = <GIC_SPI 172 IRQ_TYPE_EDGE_RISING>;
339+
/* On this platform, bit 26 (normally SLPI) is repurposed for ADSP */
340+
mboxes = <&apss_shared 26>;
341+
342+
qcom,local-pid = <0>;
343+
qcom,remote-pid = <2>;
344+
345+
adsp_smp2p_out: master-kernel {
346+
qcom,entry-name = "master-kernel";
347+
#qcom,smem-state-cells = <1>;
348+
};
349+
350+
adsp_smp2p_in: slave-kernel {
351+
qcom,entry-name = "slave-kernel";
352+
interrupt-controller;
353+
#interrupt-cells = <2>;
354+
};
355+
};
356+
357+
smp2p-cdsp {
358+
compatible = "qcom,smp2p";
359+
qcom,smem = <94>, <432>;
360+
interrupts = <GIC_SPI 576 IRQ_TYPE_EDGE_RISING>;
361+
mboxes = <&apss_shared 6>;
362+
363+
qcom,local-pid = <0>;
364+
qcom,remote-pid = <5>;
365+
366+
cdsp_smp2p_out: master-kernel {
367+
qcom,entry-name = "master-kernel";
368+
#qcom,smem-state-cells = <1>;
369+
};
370+
371+
cdsp_smp2p_in: slave-kernel {
372+
qcom,entry-name = "slave-kernel";
373+
interrupt-controller;
374+
#interrupt-cells = <2>;
375+
};
376+
377+
};
378+
335379
qup_opp_table: opp-table-qup {
336380
compatible = "operating-points-v2";
337381
opp-shared;

0 commit comments

Comments
 (0)