summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2014-03-14 00:24:29 +0400
committerJason Cooper <jason@lakedaemon.net>2014-03-14 03:37:15 +0400
commit5bc94c992ad1dc97d0431512d02b41b7101a0457 (patch)
tree5a2873f25bbbe6c534fad167f1e2277759b96717 /arch
parentdf76299fecb3d921e4762ae540e33d8b9b1c3c1e (diff)
downloadlinux-5bc94c992ad1dc97d0431512d02b41b7101a0457.tar.xz
ARM: mvebu: Add a 2 GHz fixed-clock on Armada 38x SoCs
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> Link: https://lkml.kernel.org/r/1394742273-5113-3-git-send-email-ezequiel.garcia@free-electrons.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/armada-38x.dtsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
index 812ce280b349..38fc3a0ba184 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";