base-files: define yes/no as valid boolean options
[openwrt.git] / target / linux / mvebu / patches-3.10 / 0098-ARM-mvebu-Add-the-core-divider-clock-to-Armada-370-X.patch
1 From 408b807592d9cdbc1a69b119f4a862b2ab1e4d87 Mon Sep 17 00:00:00 2001
2 From: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
3 Date: Fri, 18 Oct 2013 20:02:31 -0300
4 Subject: [PATCH 098/203] ARM: mvebu: Add the core-divider clock to Armada
5  370/XP
6
7 The Armada 370/XP SoC has a clock provider called "Core Divider",
8 that is derived from a fixed 2 GHz PLL clock.
9
10 Reviewed-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
11 Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
12 Signed-off-by: Jason Cooper <jason@lakedaemon.net>
13 ---
14  arch/arm/boot/dts/armada-370-xp.dtsi | 8 ++++++++
15  1 file changed, 8 insertions(+)
16
17 --- a/arch/arm/boot/dts/armada-370-xp.dtsi
18 +++ b/arch/arm/boot/dts/armada-370-xp.dtsi
19 @@ -134,6 +134,14 @@
20                                 status = "disabled";
21                         };
22  
23 +                       coredivclk: corediv-clock@18740 {
24 +                               compatible = "marvell,armada-370-corediv-clock";
25 +                               reg = <0x18740 0xc>;
26 +                               #clock-cells = <1>;
27 +                               clocks = <&mainpll>;
28 +                               clock-output-names = "nand";
29 +                       };
30 +
31                         timer@20300 {
32                                 compatible = "marvell,armada-370-xp-timer";
33                                 reg = <0x20300 0x30>, <0x21040 0x30>;