hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ARC Timer
 
Required properties:
 
- compatible : should be "snps,arc-timer".
- reg : Specifies timer ID, could be either 0 or 1.
- clocks : Specifies clocks that drives the counter.
 
Examples:
 
timer@0 {
   compatible = "snps,arc-timer";
   clocks = <&core_clk>;
   reg = <0>;
};
 
timer@1 {
   compatible = "snps,arc-timer";
   clocks = <&core_clk>;
   reg = <1>;
};
 
NOTE: if you specify both timers, clocks always should be the same
as each timer is driven by the same core clock.