| # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| $id: http://devicetree.org/schemas/timer/renesas,mtu2.yaml# |
| $schema: http://devicetree.org/meta-schemas/core.yaml# |
| title: Renesas Multi-Function Timer Pulse Unit 2 (MTU2) |
| - Geert Uytterhoeven <geert+renesas@glider.be> |
| - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> |
| The MTU2 is a multi-purpose, multi-channel timer/counter with configurable clock inputs |
| and programmable compare match. |
| Channels share hardware resources but their counter and compare match value are |
| independent. The MTU2 hardware supports five channels indexed from 0 to 4. |
| - renesas,mtu2-r7s72100 # RZ/A1H |
| description: One entry for each enabled channel. |
| additionalProperties: false |
| #include <dt-bindings/clock/r7s72100-clock.h> |
| #include <dt-bindings/interrupt-controller/arm-gic.h> |
| compatible = "renesas,mtu2-r7s72100", "renesas,mtu2"; |
| reg = <0xfcff0000 0x400>; |
| interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; |
| interrupt-names = "tgi0a"; |
| clocks = <&mstp3_clks R7S72100_CLK_MTU2>; |
| power-domains = <&cpg_clocks>; |