xref: /freebsd/sys/contrib/device-tree/Bindings/timer/renesas,8bit-timer.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Renesas H8/300 8bit timer
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotThe 8bit timer is a 8bit timer/counter with configurable clock inputs and
4*c66ec88fSEmmanuel Vadotprogrammable compare match.
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotThis implement only supported cascade mode.
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel VadotRequired Properties:
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadot  - compatible: must contain "renesas,8bit-timer"
11*c66ec88fSEmmanuel Vadot  - reg: base address and length of the registers block for the timer module.
12*c66ec88fSEmmanuel Vadot  - interrupts: interrupt-specifier for the timer, CMIA and TOVI
13*c66ec88fSEmmanuel Vadot  - clocks: a list of phandle, one for each entry in clock-names.
14*c66ec88fSEmmanuel Vadot  - clock-names: must contain "fck" for the functional clock.
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel VadotExample:
17*c66ec88fSEmmanuel Vadot
18*c66ec88fSEmmanuel Vadot	timer8_0: timer@ffff80 {
19*c66ec88fSEmmanuel Vadot		compatible = "renesas,8bit-timer";
20*c66ec88fSEmmanuel Vadot		reg = <0xffff80 10>;
21*c66ec88fSEmmanuel Vadot		interrupts = <36>;
22*c66ec88fSEmmanuel Vadot		clocks = <&fclk>;
23*c66ec88fSEmmanuel Vadot		clock-names = "fck";
24*c66ec88fSEmmanuel Vadot	};
25*c66ec88fSEmmanuel Vadot
26