arm64: dts: msm8996: Add SMP2P and APCS nodes
authorspjoshi@codeaurora.org <spjoshi@codeaurora.org>
Fri, 21 Oct 2016 23:19:19 +0000 (16:19 -0700)
committerAndy Gross <andy.gross@linaro.org>
Sun, 13 Nov 2016 04:56:42 +0000 (22:56 -0600)
Add SMP2P and APCS DT nodes required for Qualcomm ADSP
Peripheral Image Loader.

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

index 2306ecc36ff3f086fb2c8288972c615fa8927c27..cde4114bae5a12a6a80baaaff3a8dbdab9b80b5b 100644 (file)
                        interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
                };
 
+               apcs: syscon@9820000 {
+                       compatible = "syscon";
+                       reg = <0x9820000 0x1000>;
+               };
+
                gcc: clock-controller@300000 {
                        compatible = "qcom,gcc-msm8996";
                        #clock-cells = <1>;
                                               <825000000>;
                };
        };
+
+       adsp-smp2p {
+               compatible = "qcom,smp2p";
+               qcom,smem = <443>, <429>;
+
+               interrupts = <0 158 IRQ_TYPE_EDGE_RISING>;
+
+               qcom,ipc = <&apcs 16 10>;
+
+               qcom,local-pid = <0>;
+               qcom,remote-pid = <2>;
+
+               adsp_smp2p_out: master-kernel {
+                       qcom,entry-name = "master-kernel";
+                       #qcom,state-cells = <1>;
+               };
+
+               adsp_smp2p_in: slave-kernel {
+                       qcom,entry-name = "slave-kernel";
+
+                       interrupt-controller;
+                       #interrupt-cells = <2>;
+               };
+       };
 };
 #include "msm8996-pins.dtsi"