Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa269127 authored by Georgi Djakov's avatar Georgi Djakov Committed by Andy Gross
Browse files

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: default avatarGeorgi Djakov <georgi.djakov@linaro.org>
Signed-off-by: default avatarAndy Gross <agross@codeaurora.org>
parent 580df59f
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -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>;