xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/timer/arm,mps2-timer.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunARM MPS2 timer
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThe MPS2 platform has simple general-purpose 32 bits timers.
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunRequired properties:
6*4882a593Smuzhiyun- compatible	: Should be "arm,mps2-timer"
7*4882a593Smuzhiyun- reg		: Address and length of the register set
8*4882a593Smuzhiyun- interrupts	: Reference to the timer interrupt
9*4882a593Smuzhiyun
10*4882a593SmuzhiyunRequired clocking property, have to be one of:
11*4882a593Smuzhiyun- clocks	  : The input clock of the timer
12*4882a593Smuzhiyun- clock-frequency : The rate in HZ in input of the ARM MPS2 timer
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunExamples:
15*4882a593Smuzhiyun
16*4882a593Smuzhiyuntimer1: mps2-timer@40000000 {
17*4882a593Smuzhiyun	compatible = "arm,mps2-timer";
18*4882a593Smuzhiyun	reg = <0x40000000 0x1000>;
19*4882a593Smuzhiyun	interrupts = <8>;
20*4882a593Smuzhiyun	clocks = <&sysclk>;
21*4882a593Smuzhiyun};
22*4882a593Smuzhiyun
23*4882a593Smuzhiyuntimer2: mps2-timer@40001000 {
24*4882a593Smuzhiyun	compatible = "arm,mps2-timer";
25*4882a593Smuzhiyun	reg = <0x40001000 0x1000>;
26*4882a593Smuzhiyun	interrupts = <9>;
27*4882a593Smuzhiyun	clock-frequency = <25000000>;
28*4882a593Smuzhiyun};
29