Add SMP2P node for the SDX75 platform to communicate with the modem.
Signed-off-by: Kaushal Kumar <[email protected]>
---
This patch is dependent on the series published [1].
[1]: https://lore.kernel.org/all/[email protected]/
arch/arm64/boot/dts/qcom/sdx75.dtsi | 35 +++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sdx75.dtsi b/arch/arm64/boot/dts/qcom/sdx75.dtsi
index 96e3eec57008..536f41f856c8 100644
--- a/arch/arm64/boot/dts/qcom/sdx75.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdx75.dtsi
@@ -406,6 +406,41 @@
};
};
+ 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>;
--
2.17.1
On Fri, 26 Apr 2024 16:58:37 +0530, Kaushal Kumar wrote:
> Add SMP2P node for the SDX75 platform to communicate with the modem.
>
>
Applied, thanks!
[1/1] arm64: dts: qcom: sdx75: Add modem SMP2P node
commit: 355e5d72a4e52c6b7e56913036cb0daa36317b29
Best regards,
--
Bjorn Andersson <[email protected]>