1 * Renesas R-Car Multi-Function Timer Pulse Unit 2 (MTU2)
3 The MTU2 is a multi-purpose, multi-channel timer/counter with configurable
4 clock inputs and programmable compare match.
6 Channels share hardware resources but their counter and compare match value
7 are independent. The MTU2 hardware supports five channels indexed from 0 to 4.
11 - compatible: must contain "renesas,mtu2"
13 - reg: base address and length of the registers block for the timer module.
15 - interrupts: interrupt specifiers for the timer, one for each entry in
17 - interrupt-names: must contain one entry named "tgi?a" for each enabled
18 channel, where "?" is the channel index expressed as one digit from "0" to
21 - clocks: a list of phandle + clock-specifier pairs, one for each entry
23 - clock-names: must contain "fck" for the functional clock.
26 Example: R7S72100 (RZ/A1H) MTU2 node
28 mtu2: timer@fcff0000 {
29 compatible = "renesas,mtu2";
30 reg = <0xfcff0000 0x400>;
31 interrupts = <0 139 IRQ_TYPE_LEVEL_HIGH>,
32 <0 146 IRQ_TYPE_LEVEL_HIGH>,
33 <0 150 IRQ_TYPE_LEVEL_HIGH>,
34 <0 154 IRQ_TYPE_LEVEL_HIGH>,
35 <0 159 IRQ_TYPE_LEVEL_HIGH>;
36 interrupt-names = "tgi0a", "tgi1a", "tgi2a", "tgi3a", "tgi4a";
37 clocks = <&mstp3_clks R7S72100_CLK_MTU2>;