ARM: mvebu: Add the reference 25 MHz fixed-clock to Armada XP
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Tue, 20 Aug 2013 15:45:50 +0000 (12:45 -0300)
committerJason Cooper <jason@lakedaemon.net>
Wed, 18 Sep 2013 16:41:13 +0000 (16:41 +0000)
The Armada XP SoC has a reference 25 MHz fixed-clock that is used in
some controllers such as the timer and the watchdog. 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>
Reviewed-by: Mike Turquette <mturquette@linaro.org>
Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-xp.dtsi

index def125c0eeaa1596892f5cda162667d99853827c..c8923bd32278e7e27035cc992ed6a11869b0cfe2 100644 (file)
                        };
                };
        };
+
+       clocks {
+               /* 25 MHz reference crystal */
+               refclk: oscillator {
+                       compatible = "fixed-clock";
+                       #clock-cells = <0>;
+                       clock-frequency = <25000000>;
+               };
+       };
 };