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

Commit 99f11d79 authored by Sonal Gupta's avatar Sonal Gupta Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Add qcedev context bank information for sdm845



The context bank information is required to map
and unmap Ion memory. Crypto driver will support
two context banks, one each for secure and non-secure
memory.

CRs-Fixed: 1072414
Change-Id: Icd69e7a514624ab7a3e2da4b55ebc86d9ed8fb23
Signed-off-by: default avatarSonal Gupta <sonalg@codeaurora.org>
parent eff149ef
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
@@ -2565,9 +2565,31 @@
			 <&clock_gcc GCC_CE1_AXI_CLK>;
		qcom,ce-opp-freq = <171430000>;
		qcom,request-bw-before-clk;

		qcom,smmu-s1-enable;
		iommus = <&apps_smmu 0x706 0x1>,
			 <&apps_smmu 0x716 0x1>;

		qcom_cedev_ns_cb {
			compatible = "qcom,qcedev,context-bank";
			label = "ns_context";
			iommus = <&apps_smmu 0x712 0>,
			       <&apps_smmu 0x71f 0>;
			virtual-addr = <0x60000000>;
			virtual-size = <0x40000000>;
		};

		qcom_cedev_s_cb {
			compatible = "qcom,qcedev,context-bank";
			label = "secure_context";
			iommus = <&apps_smmu 0x713 0>,
			       <&apps_smmu 0x71c 0>,
			       <&apps_smmu 0x71d 0>,
			       <&apps_smmu 0x71e 0>;
			virtual-addr = <0x60200000>;
			virtual-size = <0x40000000>;
			qcom,secure-context-bank;
		};
	};

	qcom_msmhdcp: qcom,msm_hdcp {