xref: /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/timer/altera_timer.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunAltera Timer
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun- compatible : should be "altr,timer-1.0"
6*4882a593Smuzhiyun- reg : Specifies base physical address and size of the registers.
7*4882a593Smuzhiyun- interrupt-parent: phandle of the interrupt controller
8*4882a593Smuzhiyun- interrupts : Should contain the timer interrupt number
9*4882a593Smuzhiyun- clock-frequency : The frequency of the clock that drives the counter, in Hz.
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunExample:
12*4882a593Smuzhiyun
13*4882a593Smuzhiyuntimer {
14*4882a593Smuzhiyun	compatible = "altr,timer-1.0";
15*4882a593Smuzhiyun	reg = <0x00400000 0x00000020>;
16*4882a593Smuzhiyun	interrupt-parent = <&cpu>;
17*4882a593Smuzhiyun	interrupts = <11>;
18*4882a593Smuzhiyun	clock-frequency = <125000000>;
19*4882a593Smuzhiyun};
20