xref: /freebsd/sys/contrib/device-tree/Bindings/timer/arm,mps2-timer.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotARM MPS2 timer
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThe MPS2 platform has simple general-purpose 32 bits timers.
4*c66ec88fSEmmanuel Vadot
5*c66ec88fSEmmanuel VadotRequired properties:
6*c66ec88fSEmmanuel Vadot- compatible	: Should be "arm,mps2-timer"
7*c66ec88fSEmmanuel Vadot- reg		: Address and length of the register set
8*c66ec88fSEmmanuel Vadot- interrupts	: Reference to the timer interrupt
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotRequired clocking property, have to be one of:
11*c66ec88fSEmmanuel Vadot- clocks	  : The input clock of the timer
12*c66ec88fSEmmanuel Vadot- clock-frequency : The rate in HZ in input of the ARM MPS2 timer
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel VadotExamples:
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadottimer1: mps2-timer@40000000 {
17*c66ec88fSEmmanuel Vadot	compatible = "arm,mps2-timer";
18*c66ec88fSEmmanuel Vadot	reg = <0x40000000 0x1000>;
19*c66ec88fSEmmanuel Vadot	interrupts = <8>;
20*c66ec88fSEmmanuel Vadot	clocks = <&sysclk>;
21*c66ec88fSEmmanuel Vadot};
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel Vadottimer2: mps2-timer@40001000 {
24*c66ec88fSEmmanuel Vadot	compatible = "arm,mps2-timer";
25*c66ec88fSEmmanuel Vadot	reg = <0x40001000 0x1000>;
26*c66ec88fSEmmanuel Vadot	interrupts = <9>;
27*c66ec88fSEmmanuel Vadot	clock-frequency = <25000000>;
28*c66ec88fSEmmanuel Vadot};
29