From: Georgi Djakov Date: Thu, 3 Dec 2015 14:02:52 +0000 (+0200) Subject: arm64: dts: qcom: msm8916: Add fixed rate on-board oscillators X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f4fb6aeafaaa1c795f4ada9388051295830460c7;p=linux-beck.git 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 Signed-off-by: Andy Gross --- 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 @@ ; }; + 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>;