Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff2969c4 authored by Tomer Maimon's avatar Tomer Maimon Committed by Daniel Lezcano
Browse files

dt-binding: timer: document NPCM7xx timer DT bindings



Added device tree binding documentation for Nuvoton NPCM7xx timer.

Signed-off-by: default avatarTomer Maimon <tmaimon77@gmail.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarBrendan Higgins <brendanhiggins@google.com>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent bd031430
Loading
Loading
Loading
Loading
+21 −0
Original line number Diff line number Diff line
Nuvoton NPCM7xx timer

Nuvoton NPCM7xx have three timer modules, each timer module provides five 24-bit
timer counters.

Required properties:
- compatible      : "nuvoton,npcm750-timer" for Poleg NPCM750.
- reg             : Offset and length of the register set for the device.
- interrupts      : Contain the timer interrupt with flags for
                    falling edge.
- clocks          : phandle of timer reference clock (usually a 25 MHz clock).

Example:

timer@f0008000 {
    compatible = "nuvoton,npcm750-timer";
    interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
    reg = <0xf0008000 0x50>;
    clocks = <&clk NPCM7XX_CLK_TIMER>;
};