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

Commit bf41bfd6 authored by Prerna Kalla's avatar Prerna Kalla
Browse files

ARM: dts: msm: Add qseecom device and qseecom heap for lagoon

Add qseecom device and qseecom heap setting into device tree
to enable qseecom.

Change-Id: I0606ceb02f91b25b5d0e61e0e518cbb19264ac61
parent 8b5ea8a7
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -14,6 +14,18 @@
			qcom,ion-heap-type = "SYSTEM_SECURE";
		};

		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,ion-heap@14 { /* SECURE CARVEOUT HEAP */
			reg = <14>;
			qcom,ion-heap-type = "SECURE_CARVEOUT";
+32 −0
Original line number Diff line number Diff line
@@ -504,6 +504,22 @@
			reg = <0x0 0xc0000000 0x0 0x3900000>;
		};

		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>;
		};

		secure_display_memory: secure_display_region {
			compatible = "shared-dma-pool";
			alloc-ranges = <0 0x00000000 0 0xffffffff>;
@@ -1024,6 +1040,22 @@
		reg-names = "pshold-base", "tcsr-boot-misc-detect";
	};

	qcom_seecom: qseecom@c1700000 {
		compatible = "qcom,qseecom";
		reg = <0xc1700000 0x2200000>;
		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,support-fde;
		qcom,no-clock-support;
		qcom,fde-key-size;
		qcom,commonlib64-loaded-by-uefi;
		qcom,qsee-reentrancy-support = <2>;
	};

	qcom_rng: qrng@793000 {
		compatible = "qcom,msm-rng";
		reg = <0x793000 0x1000>;