ARM: sun6i: a31: Add support for the High Speed Timers
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 17 Apr 2014 09:06:46 +0000 (11:06 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 22 Apr 2014 11:56:50 +0000 (13:56 +0200)
The Allwinner A31 has support for four high speed timers. Apart for the
number of timers (4 vs 2), it's basically the same logic than the high
speed timers found in the sun5i chips.

Now that we have a driver to support it, we can enable them in the
device tree.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
arch/arm/boot/dts/sun6i-a31.dtsi

index d45efa74827cb542655bf618b9b24d2d4c178c01..8cee8a15b90ba36fefcaee77a79b9c3f0921d533 100644 (file)
                        status = "disabled";
                };
 
+               timer@01c60000 {
+                       compatible = "allwinner,sun6i-a31-hstimer", "allwinner,sun7i-a20-hstimer";
+                       reg = <0x01c60000 0x1000>;
+                       interrupts = <0 51 4>,
+                                    <0 52 4>,
+                                    <0 53 4>,
+                                    <0 54 4>;
+                       clocks = <&ahb1_gates 19>;
+                       resets = <&ahb1_rst 19>;
+               };
+
                spi0: spi@01c68000 {
                        compatible = "allwinner,sun6i-a31-spi";
                        reg = <0x01c68000 0x1000>;