xref: /freebsd/sys/contrib/device-tree/Bindings/timer/renesas,tpu.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Renesas H8/300 Timer Pulse Unit
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThe TPU is a 16bit timer/counter with configurable clock inputs and
4*c66ec88fSEmmanuel Vadotprogrammable compare match.
5*c66ec88fSEmmanuel VadotThis implementation support only cascade mode.
6*c66ec88fSEmmanuel Vadot
7*c66ec88fSEmmanuel VadotRequired Properties:
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot  - compatible: must contain "renesas,tpu"
10*c66ec88fSEmmanuel Vadot  - reg: base address and length of the registers block in 2 channel.
11*c66ec88fSEmmanuel Vadot  - clocks: a list of phandle, one for each entry in clock-names.
12*c66ec88fSEmmanuel Vadot  - clock-names: must contain "peripheral_clk" for the functional clock.
13*c66ec88fSEmmanuel Vadot
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotExample:
16*c66ec88fSEmmanuel Vadot	tpu: tpu@ffffe0 {
17*c66ec88fSEmmanuel Vadot		compatible = "renesas,tpu";
18*c66ec88fSEmmanuel Vadot		reg = <0xffffe0 16>, <0xfffff0 12>;
19*c66ec88fSEmmanuel Vadot		clocks = <&pclk>;
20*c66ec88fSEmmanuel Vadot		clock-names = "peripheral_clk";
21*c66ec88fSEmmanuel Vadot	};
22