clocksource: sh_tmu: Document R-Mobile r8a7740 binding
[deliverable/linux.git] / Documentation / devicetree / bindings / timer / renesas,tmu.txt
CommitLineData
ec95a345 1* Renesas R-Mobile/R-Car Timer Unit (TMU)
3e29b554
LP
2
3The TMU is a 32-bit timer/counter with configurable clock inputs and
4programmable compare match.
5
6Channels share hardware resources but their counter and compare match value
7are independent. The TMU hardware supports up to three channels.
8
9Required Properties:
10
fb0eee2f 11 - compatible: must contain one or more of the following:
ec95a345 12 - "renesas,tmu-r8a7740" for the r8a7740 TMU
fb0eee2f
SH
13 - "renesas,tmu-r8a7779" for the r8a7779 TMU
14 - "renesas,tmu" for any TMU.
15 This is a fallback for the above renesas,tmu-* entries
3e29b554
LP
16
17 - reg: base address and length of the registers block for the timer module.
18
19 - interrupts: interrupt-specifier for the timer, one per channel.
20
21 - clocks: a list of phandle + clock-specifier pairs, one for each entry
22 in clock-names.
23 - clock-names: must contain "fck" for the functional clock.
24
25Optional Properties:
26
27 - #renesas,channels: number of channels implemented by the timer, must be 2
28 or 3 (if not specified the value defaults to 3).
29
30
31Example: R8A7779 (R-Car H1) TMU0 node
32
33 tmu0: timer@ffd80000 {
fb0eee2f 34 compatible = "renesas,tmu-r8a7779", "renesas,tmu";
3e29b554
LP
35 reg = <0xffd80000 0x30>;
36 interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>,
37 <0 33 IRQ_TYPE_LEVEL_HIGH>,
38 <0 34 IRQ_TYPE_LEVEL_HIGH>;
39 clocks = <&mstp0_clks R8A7779_CLK_TMU0>;
40 clock-names = "fck";
41
42 #renesas,channels = <3>;
43 };
This page took 0.049261 seconds and 5 git commands to generate.