blob: 01554dff23d8a954ce0ae2de1be0cd1510f721a2 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/timer/renesas,tpu.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Renesas H8/300 Timer Pulse Unit
8
9maintainers:
10 - Yoshinori Sato <ysato@users.sourceforge.jp>
11
12description:
13 The TPU is a 16bit timer/counter with configurable clock inputs and
14 programmable compare match.
15 This implementation supports only cascade mode.
16
17select:
18 properties:
19 compatible:
20 contains:
21 const: renesas,tpu
22 '#pwm-cells': false
23 required:
24 - compatible
25
26properties:
27 compatible:
28 const: renesas,tpu
29
30 reg:
31 items:
32 - description: First channel
33 - description: Second channel
34
35 clocks:
36 maxItems: 1
37
38 clock-names:
39 const: fck
40
41required:
42 - compatible
43 - reg
44 - clocks
45 - clock-names
46
47additionalProperties: false
48
49examples:
50 - |
51 tpu: tpu@ffffe0 {
52 compatible = "renesas,tpu";
53 reg = <0xffffe0 16>, <0xfffff0 12>;
54 clocks = <&pclk>;
55 clock-names = "fck";
56 };