kernel: update 3.14 to 3.14.18
[openwrt.git] / target / linux / sunxi / patches-3.14 / 106-dt-sun7i-add-arch-timer-node.patch
1 From 0f9bb2cf6171f47d932df46e34cc5cfce384ff3d Mon Sep 17 00:00:00 2001
2 From: Marc Zyngier <marc.zyngier@arm.com>
3 Date: Tue, 18 Feb 2014 14:04:44 +0000
4 Subject: [PATCH] ARM: sun7i: add arch timer node
5
6 The Allwinner A20 SoC is built around a pair of Cortex-A7 cores,
7 which have the usual generic timers. Report this in the DT.
8
9 Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
10 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
11 ---
12  arch/arm/boot/dts/sun7i-a20.dtsi | 8 ++++++++
13  1 file changed, 8 insertions(+)
14
15 --- a/arch/arm/boot/dts/sun7i-a20.dtsi
16 +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
17 @@ -49,6 +49,14 @@
18                 reg = <0x40000000 0x80000000>;
19         };
20  
21 +       timer {
22 +               compatible = "arm,armv7-timer";
23 +               interrupts = <1 13 0xf08>,
24 +                            <1 14 0xf08>,
25 +                            <1 11 0xf08>,
26 +                            <1 10 0xf08>;
27 +       };
28 +
29         clocks {
30                 #address-cells = <1>;
31                 #size-cells = <1>;