usb: phy: rcar-gen2-usb: always use 'dev' variable in probe() method
[platform/adaptation/renesas_rcar/renesas_kernel.git] / Documentation / devicetree / bindings / timer / renesas,tmu.txt
1 * Renesas R-Car Timer Unit (TMU)
2
3 The TMU is a 32-bit timer/counter with configurable clock inputs and
4 programmable compare match.
5
6 Channels share hardware resources but their counter and compare match value
7 are independent. The TMU hardware supports up to three channels.
8
9 Required Properties:
10
11   - compatible: must contain "renesas,tmu"
12
13   - reg: base address and length of the registers block for the timer module.
14
15   - interrupts: interrupt-specifier for the timer, one per channel.
16
17   - clocks: a list of phandle + clock-specifier pairs, one for each entry
18     in clock-names.
19   - clock-names: must contain "fck" for the functional clock.
20
21 Optional Properties:
22
23   - #renesas,channels: number of channels implemented by the timer, must be 2
24     or 3 (if not specified the value defaults to 3).
25
26
27 Example: R8A7779 (R-Car H1) TMU0 node
28
29         tmu0: timer@ffd80000 {
30                 compatible = "renesas,tmu";
31                 reg = <0xffd80000 0x30>;
32                 interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>,
33                              <0 33 IRQ_TYPE_LEVEL_HIGH>,
34                              <0 34 IRQ_TYPE_LEVEL_HIGH>;
35                 clocks = <&mstp0_clks R8A7779_CLK_TMU0>;
36                 clock-names = "fck";
37
38                 #renesas,channels = <3>;
39         };