ARM: dts: msm: Enable qseecom on sdxlemur

Add device tree entries to enable qseecom on
sdxlemur target.

Change-Id: Idba0e66e50d55fa75b9cd762a1b1efde75863436
This commit is contained in:
Anmolpreet Kaur 2020-12-09 17:29:30 +05:30 • committed by Gerrit - the friendly Code Review server
commit 53eb0440cb
2 changed files with 57 additions and 0 deletions

View file

@ -14,6 +14,23 @@
qcom,ion-heap@8 { /* AUDIO HEAP */
reg = <ION_AUDIO_HEAP_ID>;
memory-region = <&audio_mem>;
};
qcom,ion-heap@26 { /* USER CONTIG HEAP */
reg = <ION_USER_CONTIG_HEAP_ID>;
memory-region = <&user_contig_mem>;
qcom,ion-heap-type = "DMA";
};
qcom,ion-heap@27 { /* QSEECOM HEAP */
reg = <ION_QSECOM_HEAP_ID>;
memory-region = <&qseecom_mem>;
qcom,ion-heap-type = "DMA";
};
qcom,ion-heap@19 { /* QSEECOM TA HEAP */
reg = <ION_QSECOM_TA_HEAP_ID>;
memory-region = <&qseecom_ta_mem>;
qcom,ion-heap-type = "DMA";
};
};

View file

@ -53,6 +53,31 @@
linux,cma-default;
};
user_contig_mem: user_contig_region {
compatible = "shared-dma-pool";
alloc-ranges = <0x00000000 0xffffffff>;
reusable;
alignment = <0x400000>;
size = <0x1400000>;
};
qseecom_mem: qseecom_region {
compatible = "shared-dma-pool";
alloc-ranges = <0x00000000 0xffffffff>;
reusable;
alignment = <0x400000>;
size = <0x1400000>;
};
qseecom_ta_mem: qseecom_ta_region {
compatible = "shared-dma-pool";
alloc-ranges = <0x00000000 0xffffffff>;
reusable;
alignment = <0x400000>;
size = <0x1000000>;
};
audio_mem: audio_region@0 {
compatible = "shared-dma-pool";
alloc-ranges = <0x00000000 0xffffffff>;
@ -1344,6 +1369,21 @@
<&apps_smmu 0x0074 0x0011>;
};
qcom_qseecom: qseecom@90000000 {
compatible = "qcom,qseecom";
reg = <0x90000000 0x500000>;
reg-names = "secapp-region";
memory-region = <&qseecom_mem>;
qcom,hlos-num-ce-hw-instances = <1>;
qcom,hlos-ce-hw-instance = <0>;
qcom,qsee-ce-hw-instance = <0>;
qcom,disk-encrypt-pipe-pair = <2>;
qcom,no-clock-support;
qcom,qsee-reentrancy-support = <2>;
interconnect-names = "data_path";
interconnects = <&system_noc MASTER_CRYPTO &mc_virt SLAVE_EBI1>;
};
qcom,rmtfs_sharedmem@0 {
compatible = "qcom,sharedmem-uio";
reg = <0x0 0x400000>;