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

Commit 2642dab9 authored by Prateek Sood's avatar Prateek Sood
Browse files

ARM: dts: msm: Add cdsp pil node for sdmmagpie



Add cdsp pil node to facilitate CDSP subsystem
loading for sdmmagpie.

Change-Id: Iea9d8a3f837ca6d27cf43d806ec6ac36e7e66bc1
Signed-off-by: default avatarPrateek Sood <prsood@codeaurora.org>
parent cecc0b27
Loading
Loading
Loading
Loading
+43 −0
Original line number Diff line number Diff line
@@ -1510,6 +1510,49 @@
		#interrupt-cells = <4>;
		cell-index = <0>;
	};

	qcom,turing@8300000 {
		compatible = "qcom,pil-tz-generic";
		reg = <0x8300000 0x100000>;

		vdd_cx-supply = <&VDD_CX_LEVEL>;
		qcom,vdd_cx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
		vdd_mx-supply = <&VDD_MX_LEVEL>;
		qcom,vdd_mx-uV-uA = <RPMH_REGULATOR_LEVEL_TURBO 100000>;
		qcom,proxy-reg-names = "vdd_cx", "vdd_mx";

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

		qcom,pas-id = <18>;
		qcom,proxy-timeout-ms = <10000>;
		qcom,smem-id = <601>;
		qcom,sysmon-id = <7>;
		qcom,ssctl-instance-id = <0x17>;
		qcom,firmware-name = "cdsp";
		memory-region = <&pil_cdsp_mem>;

		/* Inputs from turing */
		interrupts-extended = <&pdc GIC_SPI 578 IRQ_TYPE_EDGE_RISING>,
				      <&cdsp_smp2p_in 0 0>,
				      <&cdsp_smp2p_in 1 0>,
				      <&cdsp_smp2p_in 2 0>,
				      <&cdsp_smp2p_in 3 0>;

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

		/* Outputs to turing */
		qcom,smem-states = <&cdsp_smp2p_out 0>;
		qcom,smem-state-names = "qcom,force-stop";

		mboxes = <&qmp_aop 0>;
		mbox-names = "cdsp-pil";
	};
};

#include "sdmmagpie-pinctrl.dtsi"