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

Commit 796ef326 authored by Runmin Wang's avatar Runmin Wang
Browse files

ARM: dts: msm: Add support for LPASS PIL on sdm855



Add devicetree node for LPASS PIL which facilitates the loading of
LPASS firmware, authentication and bringing it out of reset.

Change-Id: Ie9ad8ab7e7a3a986d5f3c14fc78a1eca6abd14b8
Signed-off-by: default avatarRunmin Wang <runminw@codeaurora.org>
parent 80d140d5
Loading
Loading
Loading
Loading
+37 −0
Original line number Diff line number Diff line
@@ -592,6 +592,43 @@
		qcom,smem-state-names = "qcom,force-stop";
	};

	qcom,lpass@17300000 {
		compatible = "qcom,pil-tz-generic";
		reg = <0x17300000 0x00100>;

		vdd_cx-supply = <&pm855l_s4_level>;
		qcom,proxy-reg-names = "vdd_cx";

		clocks = <&clock_rpmh RPMH_CXO_CLK>;
		clock-names = "xo";
		qcom,proxy-clock-names = "xo";

		qcom,pas-id = <1>;
		qcom,proxy-timeout-ms = <10000>;
		qcom,smem-id = <423>;
		qcom,sysmon-id = <1>;
		qcom,ssctl-instance-id = <0x14>;
		qcom,firmware-name = "adsp";
		memory-region = <&pil_adsp_mem>;

		/* Inputs from lpass */
		interrupts-extended = <&intc 0 162 1>,
				<&adsp_smp2p_in 2 0>,
				<&adsp_smp2p_in 1 0>,
				<&adsp_smp2p_in 3 0>,
				<&adsp_smp2p_in 0 0>;

		interrupt-names = "qcom,wdog",
				"qcom,err-fatal",
				"qcom,proxy-unvote",
				"qcom,err-ready",
				"qcom,stop-ack";

		/* Outputs from lpass */
		qcom,smem-states = <&adsp_smp2p_out 0>;
		qcom,smem-state-names = "qcom,force-stop";
	};

	kryo-erp {
		compatible = "arm,arm64-kryo-cpu-erp";
		interrupts = <1 6 4>,