Commit 355e5d72 authored by Kaushal Kumar's avatar Kaushal Kumar Committed by Bjorn Andersson
Browse files

arm64: dts: qcom: sdx75: Add modem SMP2P node



Add SMP2P node for the SDX75 platform to communicate with the modem.

Signed-off-by: default avatarKaushal Kumar <quic_kaushalk@quicinc.com>
Link: https://lore.kernel.org/r/20240426112837.17478-1-quic_kaushalk@quicinc.com


Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
parent 91f767eb
Loading
Loading
Loading
Loading
+35 −0
Original line number Diff line number Diff line
@@ -406,6 +406,41 @@ hyp_smmu_s2_pt_mem: hyp-smmu-s2-pt@bfc00000 {
		};
	};

	smp2p-modem {
		compatible = "qcom,smp2p";
		qcom,smem = <435>, <428>;
		interrupts-extended = <&ipcc IPCC_CLIENT_MPSS
					     IPCC_MPROC_SIGNAL_SMP2P
					     IRQ_TYPE_EDGE_RISING>;
		mboxes = <&ipcc IPCC_CLIENT_MPSS
				IPCC_MPROC_SIGNAL_SMP2P>;

		qcom,local-pid = <0>;
		qcom,remote-pid = <1>;

		smp2p_modem_out: master-kernel {
			qcom,entry-name = "master-kernel";
			#qcom,smem-state-cells = <1>;
		};

		smp2p_modem_in: slave-kernel {
			qcom,entry-name = "slave-kernel";
			interrupt-controller;
			#interrupt-cells = <2>;
		};

		ipa_smp2p_out: ipa-ap-to-modem {
			qcom,entry-name = "ipa";
			#qcom,smem-state-cells = <1>;
		};

		ipa_smp2p_in: ipa-modem-to-ap {
			qcom,entry-name = "ipa";
			interrupt-controller;
			#interrupt-cells = <2>;
		};
	};

	smem: qcom,smem {
		compatible = "qcom,smem";
		memory-region = <&smem_mem>;