Merge tag 'block-5.14-2021-08-07' of git://git.kernel.dk/linux-block
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / timer / renesas,tpu.yaml
1 # 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
7 title: Renesas H8/300 Timer Pulse Unit
8
9 maintainers:
10   - Yoshinori Sato <ysato@users.sourceforge.jp>
11
12 description:
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
17 select:
18   properties:
19     compatible:
20       contains:
21         const: renesas,tpu
22     '#pwm-cells': false
23   required:
24     - compatible
25
26 properties:
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
41 required:
42   - compatible
43   - reg
44   - clocks
45   - clock-names
46
47 additionalProperties: false
48
49 examples:
50   - |
51     tpu: tpu@ffffe0 {
52             compatible = "renesas,tpu";
53             reg = <0xffffe0 16>, <0xfffff0 12>;
54             clocks = <&pclk>;
55             clock-names = "fck";
56     };