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

Commit f2e2f9d4 authored by Saurabh Ambulkar's avatar Saurabh Ambulkar Committed by Shreyas K K
Browse files

ARM: dts: msm: Add modem device node for PIL SM8150

Add  PIL device tree node to load firmware images of
modem on SM8150.

Change-Id: I2e6c2c0c5e20c948213bd9fa7873d86ac13bb140
parent a92910f5
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -57,3 +57,7 @@
&qupv3_se12_2uart {
	status = "ok";
};

&pil_modem {
	status = "disabled";
};
+5 −0
Original line number Diff line number Diff line
@@ -101,6 +101,11 @@
	parent-supply = <&VDD_GFX_LEVEL>;
};


&pil_modem {
	vdd_mss-supply = <&pm8150_1_s8_level>;
};

&ufsphy_mem {
	vdda-phy-supply = <&pm8150_2_l18>;
};
+49 −0
Original line number Diff line number Diff line
@@ -1678,6 +1678,55 @@
			vote = <44>;
		};
	};

	pil_modem: qcom,mss@4080000 {
		compatible = "qcom,pil-tz-generic";
		reg = <0x4080000 0x100>;

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

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

		qcom,firmware-name = "modem";
		memory-region = <&pil_modem_mem>;
		qcom,proxy-timeout-ms = <10000>;
		qcom,sysmon-id = <0>;
		qcom,minidump-id = <3>;
		qcom,aux-minidump-ids = <4>;
		qcom,ssctl-instance-id = <0x12>;
		qcom,pas-id = <4>;
		qcom,smem-id = <421>;
		qcom,signal-aop;
		qcom,complete-ramdump;

		/* Inputs from mss */
		interrupts-extended = <&pdc 0 266 1>,
				<&modem_smp2p_in 0 0>,
				<&modem_smp2p_in 2 0>,
				<&modem_smp2p_in 1 0>,
				<&modem_smp2p_in 3 0>,
				<&modem_smp2p_in 7 0>;

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

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

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

&firmware {