ARM: dts: msm: Add adsprpc-mem and adsprpc-mem CMA nodes

Add adsprpc-mem and CMA nodes for tuna target.

Change-Id: I6da8838d50578b4f621bdd2b48215c4ba002ed7b
Signed-off-by: Patan Saddam <quic_psaddam@quicinc.com>
This commit is contained in:
Patan Saddam
2024-08-16 13:20:18 +05:30
committed by Saddam Patan
parent a4b731a3d6
commit fc55b42d53
2 changed files with 28 additions and 0 deletions

View File

@@ -9,5 +9,11 @@
qcom,dma-heaps {
compatible = "qcom,dma-heaps";
depends-on-supply = <&qcom_scm>;
qcom,secure_cdsp {
qcom,dma-heap-name = "qcom,cma-secure-cdsp";
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
memory-region = <&cdsp_secure_heap_cma>;
};
};
};

View File

@@ -701,6 +701,12 @@
interrupt-names = "smp2p-sleepstate-in";
};
qcom,msm-adsprpc-mem {
compatible = "qcom,msm-adsprpc-mem-region";
memory-region = <&adsp_mem_heap>;
restrict-access;
};
clocks {
xo_board: xo_board {
compatible = "fixed-clock";
@@ -1407,6 +1413,22 @@
no-map;
reg = <0x0 0x81c60000 0x0 0x20000>;
};
adsp_mem_heap: adsp_heap_region {
compatible = "shared-dma-pool";
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
reusable;
alignment = <0x0 0x400000>;
size = <0x0 0xC00000>;
};
cdsp_secure_heap_cma: secure_cdsp_region { /* Secure DSP */
compatible = "shared-dma-pool";
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
reusable;
alignment = <0x0 0x400000>;
size = <0x0 0x4800000>;
};
};
#include "tuna-pinctrl.dtsi"