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