base-files: define yes/no as valid boolean options
[openwrt.git] / target / linux / mvebu / patches-3.10 / 0173-ARM-mvebu-Add-the-reference-25-MHz-fixed-clock-to-Ar.patch
1 From e4011be91332bacc5cf166e1ce92c3678fc7c646 Mon Sep 17 00:00:00 2001
2 From: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
3 Date: Tue, 20 Aug 2013 12:45:50 -0300
4 Subject: [PATCH 173/203] ARM: mvebu: Add the reference 25 MHz fixed-clock to
5  Armada XP
6
7 The Armada XP SoC has a reference 25 MHz fixed-clock that is used in
8 some controllers such as the timer and the watchdog. This commit adds
9 a DT representation of this clock through a fixed-clock compatible node.
10
11 Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com>
12 Reviewed-by: Mike Turquette <mturquette@linaro.org>
13 Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
14 Signed-off-by: Jason Cooper <jason@lakedaemon.net>
15 ---
16  arch/arm/boot/dts/armada-xp.dtsi | 9 +++++++++
17  1 file changed, 9 insertions(+)
18
19 --- a/arch/arm/boot/dts/armada-xp.dtsi
20 +++ b/arch/arm/boot/dts/armada-xp.dtsi
21 @@ -169,4 +169,13 @@
22                         };
23                 };
24         };
25 +
26 +       clocks {
27 +               /* 25 MHz reference crystal */
28 +               refclk: oscillator {
29 +                       compatible = "fixed-clock";
30 +                       #clock-cells = <0>;
31 +                       clock-frequency = <25000000>;
32 +               };
33 +       };
34  };