Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22b8ccbe authored by vagdhan kumar kanukurthi's avatar vagdhan kumar kanukurthi
Browse files

arm: dts: msm: Add QSEECom nodes for SA6155P virtual machine



Add device-tree support for QSEECom driver and heaps, to SA6155P
virtual machine.

Change-Id: I4e2dbee5f94be4b8181b4f6fc535cacf7b5fdbbf
Signed-off-by: default avatarVagdhan Kanukurthi <vagdhank@codeaurora.org>
parent e61c2a97
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
@@ -51,6 +51,22 @@
			reg = <0x0 0xa0000000 0x0 0x20000000>;
			label = "pmem_shared_mem";
		};

		qseecom_mem: qseecom_region@0x9e400000 {
			compatible = "shared-dma-pool";
			alloc-ranges = <0 0x00000000 0 0xffffffff>;
			reusable;
			alignment = <0 0x400000>;
			size = <0 0x1400000>;
		};

		qseecom_ta_mem: qseecom_ta_region {
			compatible = "shared-dma-pool";
			alloc-ranges = <0 0x00000000 0 0xffffffff>;
			reusable;
			alignment = <0 0x400000>;
			size = <0 0x1000000>;
		};
	};

	firmware: firmware {
@@ -109,6 +125,18 @@
			reg = <25>;
			qcom,ion-heap-type = "SYSTEM";
		};

		qcom,ion-heap@27 { /* QSEECOM HEAP */
			reg = <27>;
			memory-region = <&qseecom_mem>;
			qcom,ion-heap-type = "DMA";
		};

		qcom,ion-heap@19 { /* QSEECOM TA HEAP */
			reg = <19>;
			memory-region = <&qseecom_ta_mem>;
			qcom,ion-heap-type = "DMA";
		};
	};

	qcom,hab {
@@ -306,6 +334,19 @@
			regulator-max-microvolt = <3230000>;
			status = "ok";
	};

	qcom_seecom: qseecom@86d00000 {
			compatible = "qcom,qseecom";
			reg = <0x86d00000 0xe00000>;
			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>;
	};
};

#include "sa6155p-vm-pinctrl.dtsi"