[PATCH 2/2] arm64: dts: qcom: shikra: Add MDSP carveout memory and update APM DAIs memory regions

From: Ajay Kumar Nandam

Date: Thu Jun 18 2026 - 07:36:49 EST


Add a dedicated MDSP carveout memory region for audio usecases on
Shikra and mark both existing audio heap and MDSP carveout regions
as shared DMA pools.

Update the Q6 APM DAI node to reference multiple memory regions,
where index 0 is used for control path buffers and index 1 is used
for MDSP data path buffers. This separation ensures proper memory
allocation and access for APM communication between APSS and MDSP.

Also add shared-dma-pool compatibility to the existing audio heap
region to align with upstream DMA pool usage.

Signed-off-by: Ajay Kumar Nandam <ajay.nandam@xxxxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/shikra.dtsi | 14 ++++++++++++--
1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/shikra.dtsi b/arch/arm64/boot/dts/qcom/shikra.dtsi
index 88954ee943ef..d744f7e38ca6 100644
--- a/arch/arm64/boot/dts/qcom/shikra.dtsi
+++ b/arch/arm64/boot/dts/qcom/shikra.dtsi
@@ -365,7 +365,14 @@ smem_mem: smem@86000000 {
};

audio_heap_mem: audio-heap@86200000 {
- reg = <0x0 0x86200000 0x0 0x100000>;
+ compatible = "shared-dma-pool";
+ reg = <0x0 0x86200000 0x0 0x40000>;
+ no-map;
+ };
+
+ audio_mdsp_carveout_mem: audio-mdsp-carveout@86240000 {
+ compatible = "shared-dma-pool";
+ reg = <0x0 0x86240000 0x0 0x100000>;
no-map;
};

@@ -1935,7 +1942,10 @@ q6apmbedai: bedais {

q6apmdai: dais {
compatible = "qcom,q6apm-dais";
- qcom,vmid = <QCOM_SCM_VMID_MSS_MSA>;
+ memory-region = <&audio_heap_mem
+ &audio_mdsp_carveout_mem>;
+ qcom,vmid = <QCOM_SCM_VMID_LPASS
+ QCOM_SCM_VMID_MSS_MSA>;
};
};

--
2.34.1