mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 09:04:24 +00:00
ARM: dts: msm: Add support for QSEECom, TA, and Secure Display DMA Heaps
Add support for QSEECom, QSEECom TA, and display DMA heaps for the AutoGVM platforms. Change-Id: I68e3b7febb7f45f3c1e3abaf4ffc3bde7258f4e4
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
55bfb2c746
commit
07743391a5
@@ -1,5 +1,6 @@
|
||||
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/arm/msm/qcom_dma_heap_dt_constants.h>
|
||||
|
||||
/ {
|
||||
#address-cells = <2>;
|
||||
@@ -16,7 +17,7 @@
|
||||
|
||||
soc: soc { };
|
||||
|
||||
reserved-memory {
|
||||
reserved_memory: reserved-memory {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
ranges;
|
||||
@@ -28,13 +29,28 @@
|
||||
alignment = <0x0 0x400000>;
|
||||
size = <0x0 0x2000000>;
|
||||
linux,cma-default;
|
||||
phandle = <0x4>;
|
||||
};
|
||||
|
||||
pmem_shared: pmem_shared_region {
|
||||
reg = <0x1 0x6a500000 0x0 0x51400000>;
|
||||
label = "pmem_shared_mem";
|
||||
};
|
||||
|
||||
qseecom_mem: qseecom_region {
|
||||
compatible = "shared-dma-pool";
|
||||
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
|
||||
reusable;
|
||||
alignment = <0x0 0x400000>;
|
||||
size = <0x0 0x1400000>;
|
||||
};
|
||||
|
||||
qseecom_ta_mem: qseecom_ta_region {
|
||||
compatible = "shared-dma-pool";
|
||||
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
|
||||
reusable;
|
||||
alignment = <0x0 0x400000>;
|
||||
size = <0x0 0x1000000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -51,8 +67,20 @@
|
||||
interrupt-controller;
|
||||
};
|
||||
|
||||
qcom,dma-heaps {
|
||||
qcom_dma_heaps: qcom,dma-heaps {
|
||||
compatible = "qcom,dma-heaps";
|
||||
|
||||
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>;
|
||||
};
|
||||
};
|
||||
|
||||
qcom,msm-imem@14680000 {
|
||||
|
||||
@@ -1,2 +1,21 @@
|
||||
&reserved_memory {
|
||||
secure_display_memory: secure_display_region {
|
||||
compatible = "shared-dma-pool";
|
||||
alloc-ranges = <0x0 0x00000000 0x0 0xffffffff>;
|
||||
reusable;
|
||||
alignment = <0x0 0x400000>;
|
||||
size = <0x0 0x0a000000>;
|
||||
};
|
||||
};
|
||||
|
||||
&qcom_dma_heaps {
|
||||
qcom,display {
|
||||
qcom,dma-heap-name = "qcom,display";
|
||||
qcom,dma-heap-type = <HEAP_TYPE_CMA>;
|
||||
qcom,max-align = <9>;
|
||||
memory-region = <&secure_display_memory>;
|
||||
};
|
||||
};
|
||||
|
||||
&soc {
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user