xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/timer/renesas,tpu.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun* Renesas H8/300 Timer Pulse Unit
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunThe TPU is a 16bit timer/counter with configurable clock inputs and
4*4882a593Smuzhiyunprogrammable compare match.
5*4882a593SmuzhiyunThis implementation support only cascade mode.
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunRequired Properties:
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun  - compatible: must contain "renesas,tpu"
10*4882a593Smuzhiyun  - reg: base address and length of the registers block in 2 channel.
11*4882a593Smuzhiyun  - clocks: a list of phandle, one for each entry in clock-names.
12*4882a593Smuzhiyun  - clock-names: must contain "peripheral_clk" for the functional clock.
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunExample:
16*4882a593Smuzhiyun	tpu: tpu@ffffe0 {
17*4882a593Smuzhiyun		compatible = "renesas,tpu";
18*4882a593Smuzhiyun		reg = <0xffffe0 16>, <0xfffff0 12>;
19*4882a593Smuzhiyun		clocks = <&pclk>;
20*4882a593Smuzhiyun		clock-names = "peripheral_clk";
21*4882a593Smuzhiyun	};
22