devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] arm: dts: am43xx-clock: Add qspi clock node.
@ 2015-06-24 17:45 Mugunthan V N
       [not found] ` <1435167933-5249-1-git-send-email-mugunthanvnm-l0cyMroinI0@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Mugunthan V N @ 2015-06-24 17:45 UTC (permalink / raw)
  To: linux-omap
  Cc: Tony Lindgren, Keerthy, Tero Kristo, devicetree, linux-arm-kernel,
	linux-kernel

From: Sourav Poddar <sourav.poddar@ti.com>

Add clock node for qspi controller driver on am437x.

Cc: Keerthy <j-keerthy@ti.com>
Cc: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
---
 arch/arm/boot/dts/am4372.dtsi        | 2 ++
 arch/arm/boot/dts/am43xx-clocks.dtsi | 8 ++++++++
 2 files changed, 10 insertions(+)

diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
index 649e7b9..8ab7831 100644
--- a/arch/arm/boot/dts/am4372.dtsi
+++ b/arch/arm/boot/dts/am4372.dtsi
@@ -903,6 +903,8 @@
 			#address-cells = <1>;
 			#size-cells = <0>;
 			ti,hwmods = "qspi";
+			clocks = <&qspi_fclk>;
+			clock-names = "fck";
 			interrupts = <0 138 0x4>;
 			num-cs = <4>;
 			status = "disabled";
diff --git a/arch/arm/boot/dts/am43xx-clocks.dtsi b/arch/arm/boot/dts/am43xx-clocks.dtsi
index cc88728..1506585 100644
--- a/arch/arm/boot/dts/am43xx-clocks.dtsi
+++ b/arch/arm/boot/dts/am43xx-clocks.dtsi
@@ -763,4 +763,12 @@
 		ti,bit-shift = <8>;
 		reg = <0x8a68>;
 	};
+
+	qspi_fclk: qspi_fclk {
+		#clock-cells = <0>;
+		compatible = "ti,fixed-factor-clock";
+		clocks = <&dpll_per_m2_div4_ck>;
+		clock-mult = <1>;
+		clock-div = <1>;
+	};
 };
-- 
2.4.2.387.gf86f31a

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-26  7:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-24 17:45 [PATCH 1/1] arm: dts: am43xx-clock: Add qspi clock node Mugunthan V N
     [not found] ` <1435167933-5249-1-git-send-email-mugunthanvnm-l0cyMroinI0@public.gmane.org>
2015-06-26  6:20   ` Keerthy
2015-06-26  7:33     ` Roger Quadros

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).