arm64: dts: qcom: msm8916: Add fixed rate on-board oscillators
authorGeorgi Djakov <georgi.djakov@linaro.org>
Thu, 3 Dec 2015 14:02:52 +0000 (16:02 +0200)
committerAndy Gross <andy.gross@linaro.org>
Thu, 17 Dec 2015 05:01:42 +0000 (23:01 -0600)
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>
arch/arm64/boot/dts/qcom/msm8916.dtsi

index 82881948aaeb0aa62e234b5af6018312dd56becf..f9844097640dab37f25db9b3235129f3ce11215a 100644 (file)
                             <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>;