xref: /linux/Documentation/devicetree/bindings/timer/csky,gx6605s-timer.txt (revision 3eb66e91a25497065c5322b1268cbc3953642227)
1*ab1e77c3SGuo Ren=================
2*ab1e77c3SGuo Rengx6605s SOC Timer
3*ab1e77c3SGuo Ren=================
4*ab1e77c3SGuo Ren
5*ab1e77c3SGuo RenThe timer is used in gx6605s soc as system timer and the driver
6*ab1e77c3SGuo Rencontain clk event and clk source.
7*ab1e77c3SGuo Ren
8*ab1e77c3SGuo Ren==============================
9*ab1e77c3SGuo Rentimer node bindings definition
10*ab1e77c3SGuo Ren==============================
11*ab1e77c3SGuo Ren
12*ab1e77c3SGuo Ren	Description: Describes gx6605s SOC timer
13*ab1e77c3SGuo Ren
14*ab1e77c3SGuo Ren	PROPERTIES
15*ab1e77c3SGuo Ren
16*ab1e77c3SGuo Ren	- compatible
17*ab1e77c3SGuo Ren		Usage: required
18*ab1e77c3SGuo Ren		Value type: <string>
19*ab1e77c3SGuo Ren		Definition: must be "csky,gx6605s-timer"
20*ab1e77c3SGuo Ren	- reg
21*ab1e77c3SGuo Ren		Usage: required
22*ab1e77c3SGuo Ren		Value type: <u32 u32>
23*ab1e77c3SGuo Ren		Definition: <phyaddr size> in soc from cpu view
24*ab1e77c3SGuo Ren	- clocks
25*ab1e77c3SGuo Ren		Usage: required
26*ab1e77c3SGuo Ren		Value type: phandle + clock specifier cells
27*ab1e77c3SGuo Ren		Definition: must be input clk node
28*ab1e77c3SGuo Ren	- interrupt
29*ab1e77c3SGuo Ren		Usage: required
30*ab1e77c3SGuo Ren		Value type: <u32>
31*ab1e77c3SGuo Ren		Definition: must be timer irq num defined by soc
32*ab1e77c3SGuo Ren
33*ab1e77c3SGuo RenExamples:
34*ab1e77c3SGuo Ren---------
35*ab1e77c3SGuo Ren
36*ab1e77c3SGuo Ren	timer0: timer@20a000 {
37*ab1e77c3SGuo Ren		compatible = "csky,gx6605s-timer";
38*ab1e77c3SGuo Ren		reg = <0x0020a000 0x400>;
39*ab1e77c3SGuo Ren		clocks = <&dummy_apb_clk>;
40*ab1e77c3SGuo Ren		interrupts = <10>;
41*ab1e77c3SGuo Ren		interrupt-parent = <&intc>;
42*ab1e77c3SGuo Ren	};
43