Patchwork [v2,2/6] ARM: mvebu: Add a 2 GHz fixed-clock on Armada 38x SoCs

login
register
mail settings
Submitter Ezequiel García
Date March 13, 2014, 7:38 p.m.
Message ID <1394739542-30017-3-git-send-email-ezequiel@vanguardiasur.com.ar>
Download mbox | patch
Permalink /patch/330097/
State Not Applicable
Headers show

Comments

Ezequiel García - March 13, 2014, 7:38 p.m.
From: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>

Armada 38x SoCs have a 2 GHz fixed main PLL that is used to feed
other clocks. This commit adds a DT representation of this clock
through a fixed-clock compatible node.

Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
---
 arch/arm/boot/dts/armada-38x.dtsi | 7 +++++++
 1 file changed, 7 insertions(+)

Patch

diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
index 812ce28..38fc3a0 100644
--- a/arch/arm/boot/dts/armada-38x.dtsi
+++ b/arch/arm/boot/dts/armada-38x.dtsi
@@ -341,6 +341,13 @@ 
 	};
 
 	clocks {
+		/* 2 GHz fixed main PLL */
+		mainpll: mainpll {
+			compatible = "fixed-clock";
+			#clock-cells = <0>;
+			clock-frequency = <2000000000>;
+		};
+
 		/* 25 MHz reference crystal */
 		refclk: oscillator {
 			compatible = "fixed-clock";