xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/timer/brcm,bcm2835-system-timer.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunBCM2835 System Timer
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThe System Timer peripheral provides four 32-bit timer channels and a
4*4882a593Smuzhiyunsingle 64-bit free running counter. Each channel has an output compare
5*4882a593Smuzhiyunregister, which is compared against the 32 least significant bits of the
6*4882a593Smuzhiyunfree running counter values, and generates an interrupt.
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunRequired properties:
9*4882a593Smuzhiyun
10*4882a593Smuzhiyun- compatible : should be "brcm,bcm2835-system-timer"
11*4882a593Smuzhiyun- reg : Specifies base physical address and size of the registers.
12*4882a593Smuzhiyun- interrupts : A list of 4 interrupt sinks; one per timer channel.
13*4882a593Smuzhiyun- clock-frequency : The frequency of the clock that drives the counter, in Hz.
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunExample:
16*4882a593Smuzhiyun
17*4882a593Smuzhiyuntimer {
18*4882a593Smuzhiyun	compatible = "brcm,bcm2835-system-timer";
19*4882a593Smuzhiyun	reg = <0x7e003000 0x1000>;
20*4882a593Smuzhiyun	interrupts = <1 0>, <1 1>, <1 2>, <1 3>;
21*4882a593Smuzhiyun	clock-frequency = <1000000>;
22*4882a593Smuzhiyun};
23