xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/timer/cirrus,clps711x-timer.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Cirrus Logic CLPS711X Timer Counter
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun- compatible: Shall contain "cirrus,ep7209-timer".
5*4882a593Smuzhiyun- reg       : Address and length of the register set.
6*4882a593Smuzhiyun- interrupts: The interrupt number of the timer.
7*4882a593Smuzhiyun- clocks    : phandle of timer reference clock.
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunNote: Each timer should have an alias correctly numbered in "aliases" node.
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunExample:
12*4882a593Smuzhiyun	aliases {
13*4882a593Smuzhiyun		timer0 = &timer1;
14*4882a593Smuzhiyun		timer1 = &timer2;
15*4882a593Smuzhiyun	};
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun	timer1: timer@80000300 {
18*4882a593Smuzhiyun		compatible = "cirrus,ep7312-timer", "cirrus,ep7209-timer";
19*4882a593Smuzhiyun		reg = <0x80000300 0x4>;
20*4882a593Smuzhiyun		interrupts = <8>;
21*4882a593Smuzhiyun		clocks = <&clks 5>;
22*4882a593Smuzhiyun	};
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun	timer2: timer@80000340 {
25*4882a593Smuzhiyun		compatible = "cirrus,ep7312-timer", "cirrus,ep7209-timer";
26*4882a593Smuzhiyun		reg = <0x80000340 0x4>;
27*4882a593Smuzhiyun		interrupts = <9>;
28*4882a593Smuzhiyun		clocks = <&clks 6>;
29*4882a593Smuzhiyun	};
30