sunxi: move a lost CONFIG_CHARGER symbol to generic
[openwrt.git] / target / linux / sunxi / patches-3.13 / 146-2-dt-sun5i-a13-add-hstimer.patch
1 From 22a3eff19679e0e592e061201690670a2f5fdba7 Mon Sep 17 00:00:00 2001
2 From: Maxime Ripard <maxime.ripard@free-electrons.com>
3 Date: Thu, 7 Nov 2013 12:01:48 +0100
4 Subject: [PATCH] ARM: sun5i: a13: Add support for the High Speed Timers
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 The Allwinner A13 has support for two high speed timers. Now that we
10 have a driver to support it, we can enable them in the device tree.
11
12 Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
13 Tested-by: Emilio López <emilio@elopez.com.ar>
14 Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
15 ---
16  arch/arm/boot/dts/sun5i-a13.dtsi | 7 +++++++
17  1 file changed, 7 insertions(+)
18
19 --- a/arch/arm/boot/dts/sun5i-a13.dtsi
20 +++ b/arch/arm/boot/dts/sun5i-a13.dtsi
21 @@ -391,5 +391,12 @@
22                         clock-frequency = <100000>;
23                         status = "disabled";
24                 };
25 +
26 +               timer@01c60000 {
27 +                       compatible = "allwinner,sun5i-a13-hstimer";
28 +                       reg = <0x01c60000 0x1000>;
29 +                       interrupts = <82>, <83>;
30 +                       clocks = <&ahb_gates 28>;
31 +               };
32         };
33  };