lkml.org 
[lkml]   [2013]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5/5] ARM: sun7i: a20: Add support for the High Speed Timers
    Date
    The Allwinner A20 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>
    ---
    arch/arm/boot/dts/sun7i-a20.dtsi | 10 ++++++++++
    1 file changed, 10 insertions(+)

    diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
    index e46cfed..ee6cec7 100644
    --- a/arch/arm/boot/dts/sun7i-a20.dtsi
    +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
    @@ -395,6 +395,16 @@
    status = "disabled";
    };

    + hstimer@01c60000 {
    + compatible = "allwinner,sun7i-a20-hstimer";
    + reg = <0x01c60000 0x1000>;
    + interrupts = <0 81 1>,
    + <0 82 1>,
    + <0 83 1>,
    + <0 84 1>;
    + clocks = <&ahb_gates 28>;
    + };
    +
    gic: interrupt-controller@01c81000 {
    compatible = "arm,cortex-a7-gic", "arm,cortex-a15-gic";
    reg = <0x01c81000 0x1000>,
    --
    1.8.4


    \
     
     \ /
      Last update: 2013-09-25 18:41    [W:4.170 / U:0.516 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site