aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorgi Djakov <georgi.djakov@linaro.org>2015-12-03 09:02:52 -0500
committerAndy Gross <andy.gross@linaro.org>2015-12-17 00:01:42 -0500
commitf4fb6aeafaaa1c795f4ada9388051295830460c7 (patch)
tree69728999a28a8f8053bbf0bd9c42599fc57b21e9
parent2bce84c1a0c3ff04d29e6ef02823074588e90aa1 (diff)
arm64: dts: qcom: msm8916: Add fixed rate on-board oscillators
Currently the rates of the xo and sleep clocks are hard-coded in the GCC driver, but this is a board layout description that actually should be in the DT. Moving them into DT also allows us to insert the RPM controlled clocks between the DT and GCC clocks. Signed-off-by: Georgi Djakov <georgi.djakov@linaro.org> Signed-off-by: Andy Gross <agross@codeaurora.org>
-rw-r--r--arch/arm64/boot/dts/qcom/msm8916.dtsi14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi
index 82881948aaeb..f9844097640d 100644
--- a/arch/arm64/boot/dts/qcom/msm8916.dtsi
+++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi
@@ -74,6 +74,20 @@
74 <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; 74 <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
75 }; 75 };
76 76
77 clocks {
78 xo_board: xo_board {
79 compatible = "fixed-clock";
80 #clock-cells = <0>;
81 clock-frequency = <19200000>;
82 };
83
84 sleep_clk: sleep_clk {
85 compatible = "fixed-clock";
86 #clock-cells = <0>;
87 clock-frequency = <32768>;
88 };
89 };
90
77 soc: soc { 91 soc: soc {
78 #address-cells = <1>; 92 #address-cells = <1>;
79 #size-cells = <1>; 93 #size-cells = <1>;