xref: /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/timer/arc_timer.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunARC Timer
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun- compatible : should be "snps,arc-timer".
6*4882a593Smuzhiyun- reg : Specifies timer ID, could be either 0 or 1.
7*4882a593Smuzhiyun- clocks : Specifies clocks that drives the counter.
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunExamples:
10*4882a593Smuzhiyun
11*4882a593Smuzhiyuntimer@0 {
12*4882a593Smuzhiyun	compatible = "snps,arc-timer";
13*4882a593Smuzhiyun	clocks = <&core_clk>;
14*4882a593Smuzhiyun	reg = <0>;
15*4882a593Smuzhiyun};
16*4882a593Smuzhiyun
17*4882a593Smuzhiyuntimer@1 {
18*4882a593Smuzhiyun	compatible = "snps,arc-timer";
19*4882a593Smuzhiyun	clocks = <&core_clk>;
20*4882a593Smuzhiyun	reg = <1>;
21*4882a593Smuzhiyun};
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunNOTE: if you specify both timers, clocks always should be the same
24*4882a593Smuzhiyunas each timer is driven by the same core clock.
25