diff mbox

[5/5] ARM: mvebu: Add NAND clock to Armada 370/XP

Message ID 1380144502-24109-6-git-send-email-ezequiel.garcia@free-electrons.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ezequiel Garcia Sept. 25, 2013, 9:28 p.m. UTC
Add the NAND clock available at Armada 370/XP SoC, which is a
fixed-factor derived from the NAND ECC clock. This is the clock
feeding the NAND controller.

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

Patch

diff --git a/arch/arm/boot/dts/armada-370-xp.dtsi b/arch/arm/boot/dts/armada-370-xp.dtsi
index d0f81cc..8f14092 100644
--- a/arch/arm/boot/dts/armada-370-xp.dtsi
+++ b/arch/arm/boot/dts/armada-370-xp.dtsi
@@ -268,5 +268,13 @@ 
 			#clock-cells = <0>;
 			clock-frequency = <2000000000>;
 		};
+
+		ndclk: nand_clock {
+			compatible = "fixed-factor-clock";
+			#clock-cells = <0>;
+			clocks = <&coredivclk 0>;
+	                clock-div = <2>;
+	                clock-mult = <1>;
+		};
 	};
  };