]> git.karo-electronics.de Git - linux-beck.git/commitdiff
arm: dts: qcom: apq8064: Add fixed rate on-board oscillators
authorGeorgi Djakov <georgi.djakov@linaro.org>
Thu, 3 Dec 2015 14:02:55 +0000 (16:02 +0200)
committerAndy Gross <andy.gross@linaro.org>
Wed, 16 Dec 2015 05:35:18 +0000 (23:35 -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/arm/boot/dts/qcom-apq8064.dtsi

index e6c7476036a40720eb0825ebacd64b39c6341468..edfc6ee56ea16c819844af403189739935bb53e7 100644 (file)
                interrupts = <1 10 0x304>;
        };
 
+       clocks {
+               cxo_board {
+                       compatible = "fixed-clock";
+                       #clock-cells = <0>;
+                       clock-frequency = <19200000>;
+               };
+
+               pxo_board {
+                       compatible = "fixed-clock";
+                       #clock-cells = <0>;
+                       clock-frequency = <27000000>;
+               };
+
+               sleep_clk {
+                       compatible = "fixed-clock";
+                       #clock-cells = <0>;
+                       clock-frequency = <32768>;
+               };
+       };
+
        sfpb_mutex: hwmutex {
                compatible = "qcom,sfpb-mutex";
                syscon = <&sfpb_wrapper_mutex 0x604 0x4>;