ARM: mvebu: Add a 2 GHz fixed-clock on Armada 38x SoCs
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Thu, 13 Mar 2014 20:24:29 +0000 (17:24 -0300)
committerJason Cooper <jason@lakedaemon.net>
Thu, 13 Mar 2014 23:37:15 +0000 (23:37 +0000)
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>
arch/arm/boot/dts/armada-38x.dtsi

index 812ce280b34945c3823030876f0c7656dda8fc1d..38fc3a0ba1842bcaee4ec62666cadffef7ca35b9 100644 (file)
        };
 
        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";