arm64: dts: msm8996: Add modem smp2p nodes
authorBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 3 Aug 2017 04:35:17 +0000 (21:35 -0700)
committerAndy Gross <andy.gross@linaro.org>
Tue, 8 Aug 2017 21:29:54 +0000 (16:29 -0500)
This patch adds the SMP2P nodes for the modem.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm64/boot/dts/qcom/msm8996.dtsi

index d5fd54d..d2d516b 100644 (file)
                };
        };
 
+       modem-smp2p {
+               compatible = "qcom,smp2p";
+               qcom,smem = <435>, <428>;
+
+               interrupts = <GIC_SPI 451 IRQ_TYPE_EDGE_RISING>;
+
+               qcom,ipc = <&apcs 16 14>;
+
+               qcom,local-pid = <0>;
+               qcom,remote-pid = <1>;
+
+               modem_smp2p_out: master-kernel {
+                       qcom,entry-name = "master-kernel";
+                       #qcom,smem-state-cells = <1>;
+               };
+
+               modem_smp2p_in: slave-kernel {
+                       qcom,entry-name = "slave-kernel";
+
+                       interrupt-controller;
+                       #interrupt-cells = <2>;
+               };
+       };
+
        smp2p-slpi {
                compatible = "qcom,smp2p";
                qcom,smem = <481>, <430>;