xref: /freebsd/sys/contrib/device-tree/Bindings/timer/renesas,16bit-timer.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Renesas H8/300 16bit timer
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThe 16bit timer is a 16bit timer/counter with configurable clock inputs and
4*c66ec88fSEmmanuel Vadotprogrammable compare match.
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotRequired Properties:
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel Vadot  - compatible: must contain "renesas,16bit-timer"
9*c66ec88fSEmmanuel Vadot  - reg: base address and length of the registers block for the timer module.
10*c66ec88fSEmmanuel Vadot  - interrupts: interrupt-specifier for the timer, IMIA
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  - renesas,channel: timer channel number.
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotExample:
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadot	timer16: timer@ffff68 {
18*c66ec88fSEmmanuel Vadot		compatible = "reneas,16bit-timer";
19*c66ec88fSEmmanuel Vadot		reg = <0xffff68 8>, <0xffff60 8>;
20*c66ec88fSEmmanuel Vadot		interrupts = <24>;
21*c66ec88fSEmmanuel Vadot		renesas,channel = <0>;
22*c66ec88fSEmmanuel Vadot		clocks = <&pclk>;
23*c66ec88fSEmmanuel Vadot		clock-names = "peripheral_clk";
24*c66ec88fSEmmanuel Vadot	};
25*c66ec88fSEmmanuel Vadot
26