]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
arm: dts: qcom: apq8064: Add fixed rate on-board oscillators
authorGeorgi Djakov <georgi.djakov@linaro.org>
Mon, 7 Dec 2015 15:24:10 +0000 (15:24 +0000)
committerSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 14 Jan 2016 10:47:35 +0000 (10:47 +0000)
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.

arch/arm/boot/dts/qcom-apq8064.dtsi

index 4c9785832786959927143dea9d49c1f565aa60e4..c05992d373555edac629e1444d7d55655337bbc3 100644 (file)
                };
        };
 
+       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>;
+               };
+       };
+
        soc: soc {
                #address-cells = <1>;
                #size-cells = <1>;