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

Commit 66276d1d authored by Neeraj Soni's avatar Neeraj Soni Committed by Gerrit - the friendly Code Review server
Browse files

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

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

Change-Id: Ib3a89a6e4e521d114f5166e9dc65242a0e789c1a
parent 648e50fb
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -19,5 +19,17 @@
			memory-region = <&sdsp_mem>;
			qcom,ion-heap-type = "DMA";
		};

		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";
		};
	};
};
+30 −4
Original line number Diff line number Diff line
@@ -472,10 +472,20 @@
			reg = <0x0 0x8c000000 0x0 0xc900000>;
		};

		qseecom_mem: qseecom_mem_region@9e000000 {
			compatible = "removed-dma-pool";
			no-map;
			reg = <0x0 0x9e000000 0x0 0x1400000>;
		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>;
		};

		cdsp_sec_mem: cdsp_sec_regions@9f400000 {
@@ -699,6 +709,22 @@
		reg-names = "pshold-base", "tcsr-boot-misc-detect";
	};

	qcom_seecom: qseecom@82200000 {
		compatible = "qcom,qseecom";
		reg = <0x82200000 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,mpm2-sleep-counter@0xc221000 {
		compatible = "qcom,mpm2-sleep-counter";
		reg = <0xc221000 0x1000>;