ARM: dts: msm8974: Add modem smp2p and smd nodes
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 29 Mar 2016 01:32:39 +0000 (18:32 -0700)
committerAndy Gross <andy.gross@linaro.org>
Wed, 20 Apr 2016 02:42:16 +0000 (21:42 -0500)
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm/boot/dts/qcom-msm8974.dtsi

index d8078d3..e98b373 100644 (file)
                hwlocks = <&tcsr_mutex 3>;
        };
 
+       smp2p-modem {
+               compatible = "qcom,smp2p";
+               qcom,smem = <435>, <428>;
+
+               interrupt-parent = <&intc>;
+               interrupts = <0 27 IRQ_TYPE_EDGE_RISING>;
+
+               qcom,ipc = <&apcs 8 14>;
+
+               qcom,local-pid = <0>;
+               qcom,remote-pid = <1>;
+
+               modem_smp2p_out: master-kernel {
+                       qcom,entry-name = "master-kernel";
+                       #qcom,state-cells = <1>;
+               };
+
+               modem_smp2p_in: slave-kernel {
+                       qcom,entry-name = "slave-kernel";
+
+                       interrupt-controller;
+                       #interrupt-cells = <2>;
+               };
+       };
+
        smp2p-wcnss {
                compatible = "qcom,smp2p";
                qcom,smem = <451>, <431>;
        smd {
                compatible = "qcom,smd";
 
+               modem {
+                       interrupts = <0 25 IRQ_TYPE_EDGE_RISING>;
+
+                       qcom,ipc = <&apcs 8 12>;
+                       qcom,smd-edge = <0>;
+               };
+
                rpm {
                        interrupts = <0 168 1>;
                        qcom,ipc = <&apcs 8 0>;