mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
Allocate memory from CMA instead of secure carveout for secure use case. Change-Id: I259bf1a3fd62e5b34738d09a5aa25cbafd99d030
57 lines
1.3 KiB
Plaintext
57 lines
1.3 KiB
Plaintext
#include <dt-bindings/arm/msm/qcom_dma_heap_dt_constants.h>
|
|
|
|
&soc {
|
|
qcom,dma-heaps {
|
|
compatible = "qcom,dma-heaps";
|
|
|
|
qcom,secure_cdsp {
|
|
qcom,dma-heap-name = "qcom,cma-secure-cdsp";
|
|
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
|
|
memory-region = <&cdsp_secure_heap>;
|
|
};
|
|
|
|
qcom,adsp {
|
|
qcom,dma-heap-name = "qcom,adsp";
|
|
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
|
|
memory-region = <&adsp_mem>;
|
|
};
|
|
|
|
qcom,sp_hlos {
|
|
qcom,dma-heap-name = "qcom,sp-hlos";
|
|
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
|
|
memory-region = <&sp_mem>;
|
|
};
|
|
|
|
qcom,secure_sp_tz {
|
|
qcom,dma-heap-name = "qcom,secure-sp-tz";
|
|
qcom,dma-heap-type = <HEAP_TYPE_SECURE_CARVEOUT>;
|
|
memory-region = <&spu_tz_shared_mem>;
|
|
qcom,token = <0x01000000>;
|
|
};
|
|
|
|
qcom,audio_ml {
|
|
qcom,dma-heap-name = "qcom,audio-ml";
|
|
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
|
|
memory-region = <&audio_cma_mem>;
|
|
};
|
|
|
|
qcom,user_contig {
|
|
qcom,dma-heap-name = "qcom,user-contig";
|
|
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
|
|
memory-region = <&user_contig_mem>;
|
|
};
|
|
|
|
qcom,qseecom {
|
|
qcom,dma-heap-name = "qcom,qseecom";
|
|
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
|
|
memory-region = <&qseecom_mem>;
|
|
};
|
|
|
|
qcom,qseecom_ta {
|
|
qcom,dma-heap-name = "qcom,qseecom-ta";
|
|
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
|
|
memory-region = <&qseecom_ta_mem>;
|
|
};
|
|
};
|
|
};
|