ARM: dts: msm8974: Add ADSP PIL node
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 23 Aug 2016 05:57:46 +0000 (22:57 -0700)
committerAndy Gross <andy.gross@linaro.org>
Fri, 13 Jan 2017 18:38:15 +0000 (12:38 -0600)
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 7b41314..9f1b49a 100644 (file)
@@ -31,7 +31,7 @@
                        no-map;
                };
 
-               adsp@0dc00000 {
+               adsp_region: adsp@0dc00000 {
                        reg = <0x0dc00000 0x1900000>;
                        no-map;
                };
                clock-frequency = <19200000>;
        };
 
+       adsp-pil {
+               compatible = "qcom,msm8974-adsp-pil";
+
+               interrupts-extended = <&intc 0 162 IRQ_TYPE_EDGE_RISING>,
+                                     <&adsp_smp2p_in 0 IRQ_TYPE_EDGE_RISING>,
+                                     <&adsp_smp2p_in 1 IRQ_TYPE_EDGE_RISING>,
+                                     <&adsp_smp2p_in 2 IRQ_TYPE_EDGE_RISING>,
+                                     <&adsp_smp2p_in 3 IRQ_TYPE_EDGE_RISING>;
+               interrupt-names = "wdog", "fatal", "ready", "handover", "stop-ack";
+
+               cx-supply = <&pm8841_s2>;
+
+               memory-region = <&adsp_region>;
+
+               qcom,smem-states = <&adsp_smp2p_out 0>;
+               qcom,smem-state-names = "stop";
+       };
+
        smem {
                compatible = "qcom,smem";