1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/timer/renesas,tmu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas R-Mobile/R-Car Timer Unit (TMU)
10 - Geert Uytterhoeven <geert+renesas@glider.be>
11 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
14 The TMU is a 32-bit timer/counter with configurable clock inputs and
15 programmable compare match.
17 Channels share hardware resources but their counter and compare match value
18 are independent. The TMU hardware supports up to three channels.
24 - renesas,tmu-r8a7740 # R-Mobile A1
25 - renesas,tmu-r8a774a1 # RZ/G2M
26 - renesas,tmu-r8a774b1 # RZ/G2N
27 - renesas,tmu-r8a774c0 # RZ/G2E
28 - renesas,tmu-r8a774e1 # RZ/G2H
29 - renesas,tmu-r8a7778 # R-Car M1A
30 - renesas,tmu-r8a7779 # R-Car H1
31 - renesas,tmu-r8a77970 # R-Car V3M
32 - renesas,tmu-r8a77980 # R-Car V3H
56 Number of channels implemented by the timer.
57 $ref: /schemas/types.yaml#/definitions/uint32
82 additionalProperties: false
86 #include <dt-bindings/clock/r8a7779-clock.h>
87 #include <dt-bindings/interrupt-controller/arm-gic.h>
88 #include <dt-bindings/power/r8a7779-sysc.h>
89 tmu0: timer@ffd80000 {
90 compatible = "renesas,tmu-r8a7779", "renesas,tmu";
91 reg = <0xffd80000 0x30>;
92 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>,
93 <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>,
94 <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
95 clocks = <&mstp0_clks R8A7779_CLK_TMU0>;
97 power-domains = <&sysc R8A7779_PD_ALWAYS_ON>;
98 #renesas,channels = <3>;