summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/qcom-apq8064.dtsi
diff options
context:
space:
mode:
authorGeorgi Djakov <georgi.djakov@linaro.org>2015-12-03 16:02:55 +0200
committerAndy Gross <andy.gross@linaro.org>2015-12-15 23:35:18 -0600
commitaa2691279eaf50ff7983890c38491fbee73d1025 (patch)
treea989831be48d7dfa97f41de54b8018fba2485a26 /arch/arm/boot/dts/qcom-apq8064.dtsi
parent580df59fa74e53bb71c21fb4e97d74ca3c9665b2 (diff)
downloadlinux-0-day-aa2691279eaf50ff7983890c38491fbee73d1025.tar.gz
linux-0-day-aa2691279eaf50ff7983890c38491fbee73d1025.tar.xz
arm: dts: qcom: apq8064: 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 <georgi.djakov@linaro.org> Signed-off-by: Andy Gross <agross@codeaurora.org>
Diffstat (limited to 'arch/arm/boot/dts/qcom-apq8064.dtsi')
-rw-r--r--arch/arm/boot/dts/qcom-apq8064.dtsi20
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi
index e6c7476036a40..edfc6ee56ea16 100644
--- a/arch/arm/boot/dts/qcom-apq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-apq8064.dtsi
@@ -91,6 +91,26 @@
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>;