blob: 620814e948c073a42b399944771a7529d72b876c [file] [log] [blame]
Rick Chene5315452017-11-23 10:22:17 +08001Andestech ATCPIT100 timer
2------------------------------------------------------------------
3ATCPIT100 is a generic IP block from Andes Technology, embedded in
4Andestech AE3XX, AE250 platforms and other designs.
5
6This timer is a set of compact multi-function timers, which can be
7used as pulse width modulators (PWM) as well as simple timers.
8
9It supports up to 4 PIT channels. Each PIT channel is a
10multi-function timer and provide the following usage scenarios:
11One 32-bit timer
12Two 16-bit timers
13Four 8-bit timers
14One 16-bit PWM
15One 16-bit timer and one 8-bit PWM
16Two 8-bit timer and one 8-bit PWM
17
18Required properties:
19- compatible : Should be "andestech,atcpit100"
20- reg : Address and length of the register set
21- interrupts : Reference to the timer interrupt
22- clock-frequency : The rate in HZ in input of the Andestech ATCPIT100 timer
23
24Examples:
25
26timer0: timer@f0400000 {
27 compatible = "andestech,atcpit100";
28 reg = <0xf0400000 0x1000>;
29 interrupts = <2 4>;
30 clock-frequency = <30000000>;
31}: