arm64: dts: qcom: msm8916: Update hexagon node
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 30 Jan 2017 16:44:59 +0000 (08:44 -0800)
committerAndy Gross <andy.gross@linaro.org>
Tue, 28 Mar 2017 20:46:19 +0000 (15:46 -0500)
It's necessary to reference the xo clock and cx supply, so specify these
in the node. Also move the Hexagon smd-edge into the hexagon node, to
enable SSR.

As cxo is not yet available we reference the fixed version of cxo for
now, which will work until proper power management is implemented.

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

index 93f3026..ab30939 100644 (file)
 
                        clocks = <&gcc GCC_MSS_CFG_AHB_CLK>,
                                 <&gcc GCC_MSS_Q6_BIMC_AXI_CLK>,
-                                <&gcc GCC_BOOT_ROM_AHB_CLK>;
-                       clock-names = "iface", "bus", "mem";
+                                <&gcc GCC_BOOT_ROM_AHB_CLK>,
+                                <&xo_board>;
+                       clock-names = "iface", "bus", "mem", "xo";
 
                        qcom,smem-states = <&hexagon_smp2p_out 0>;
                        qcom,smem-state-names = "stop";
                        resets = <&scm 0>;
                        reset-names = "mss_restart";
 
+                       cx-supply = <&pm8916_s1>;
                        mx-supply = <&pm8916_l3>;
                        pll-supply = <&pm8916_l7>;
 
                        mpss {
                                memory-region = <&mpss_mem>;
                        };
+
+                       smd-edge {
+                               interrupts = <0 25 IRQ_TYPE_EDGE_RISING>;
+
+                               qcom,smd-edge = <0>;
+                               qcom,ipc = <&apcs 8 12>;
+                               qcom,remote-pid = <1>;
+
+                               label = "hexagon";
+                       };
                };
 
                pronto: wcnss@a21b000 {
                                };
                        };
                };
-
-               hexagon {
-                       interrupts = <0 25 IRQ_TYPE_EDGE_RISING>;
-
-                       qcom,smd-edge = <0>;
-                       qcom,ipc = <&apcs 8 12>;
-                       qcom,remote-pid = <1>;
-               };
        };
 
        hexagon-smp2p {