base-files: define yes/no as valid boolean options
[openwrt.git] / target / linux / mvebu / patches-3.10 / 0097-ARM-mvebu-Add-a-2-GHz-fixed-clock-Armada-370-XP.patch
1 From 455ad812cb2ec97339f780e2a79169620f1e7485 Mon Sep 17 00:00:00 2001
2 From: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
3 Date: Fri, 18 Oct 2013 20:02:30 -0300
4 Subject: [PATCH 097/203] ARM: mvebu: Add a 2 GHz fixed-clock Armada 370/XP
5
6 Armada 370/XP SoCs have a 2 GHz fixed PLL that is used to feed
7 other clocks. This commit adds a DT representation of this clock
8 through a fixed-clock compatible node.
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 | 9 +++++++++
15  1 file changed, 9 insertions(+)
16
17 --- a/arch/arm/boot/dts/armada-370-xp.dtsi
18 +++ b/arch/arm/boot/dts/armada-370-xp.dtsi
19 @@ -251,4 +251,13 @@
20  
21                 };
22         };
23 +
24 +       clocks {
25 +               /* 2 GHz fixed main PLL */
26 +               mainpll: mainpll {
27 +                       compatible = "fixed-clock";
28 +                       #clock-cells = <0>;
29 +                       clock-frequency = <2000000000>;
30 +               };
31 +       };
32   };