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

Add adsprpc-mem and CMA nodes for kera target.

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

View File

@@ -9,5 +9,11 @@
qcom,dma-heaps { qcom,dma-heaps {
compatible = "qcom,dma-heaps"; compatible = "qcom,dma-heaps";
depends-on-supply = <&qcom_scm>; 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

@@ -489,6 +489,12 @@
status = "ok"; status = "ok";
}; };
qcom,msm-adsprpc-mem {
compatible = "qcom,msm-adsprpc-mem-region";
memory-region = <&adsp_mem_heap>;
restrict-access;
};
clocks { clocks {
xo_board: xo_board { xo_board: xo_board {
compatible = "fixed-clock"; compatible = "fixed-clock";
@@ -721,6 +727,22 @@
no-map; no-map;
reg = <0x0 0x81c60000 0x0 0x20000>; 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 "kera-pinctrl.dtsi" #include "kera-pinctrl.dtsi"