Skip to content

Commit

Permalink
arm64: dts: qcom: msm8916: Add fixed rate on-board oscillators
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Georgi Djakov authored and Andy Gross committed Dec 17, 2015
1 parent 2bce84c commit f4fb6ae
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions arch/arm64/boot/dts/qcom/msm8916.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,20 @@
<GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
};

clocks {
xo_board: xo_board {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <19200000>;
};

sleep_clk: sleep_clk {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <32768>;
};
};

soc: soc {
#address-cells = <1>;
#size-cells = <1>;
Expand Down

0 comments on commit f4fb6ae

Please sign in to comment.