]> Pileus Git - ~andy/linux/commitdiff
ARM: mvebu: Add the core-divider clock to Armada 370/XP
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Fri, 18 Oct 2013 23:02:31 +0000 (20:02 -0300)
committerJason Cooper <jason@lakedaemon.net>
Wed, 23 Oct 2013 11:04:31 +0000 (11:04 +0000)
The Armada 370/XP SoC has a clock provider called "Core Divider",
that is derived from a fixed 2 GHz PLL clock.

Reviewed-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-370-xp.dtsi

index 13efe05a8c9f494be749dbaad99ba368f64a973a..00d6a798c705b9b04408a8d28af70cd7b7cc6868 100644 (file)
                                status = "disabled";
                        };
 
+                       coredivclk: corediv-clock@18740 {
+                               compatible = "marvell,armada-370-corediv-clock";
+                               reg = <0x18740 0xc>;
+                               #clock-cells = <1>;
+                               clocks = <&mainpll>;
+                               clock-output-names = "nand";
+                       };
+
                        timer@20300 {
                                reg = <0x20300 0x30>, <0x21040 0x30>;
                                interrupts = <37>, <38>, <39>, <40>, <5>, <6>;