xref: /freebsd/sys/contrib/device-tree/Bindings/timer/cirrus,ep9301-timer.yaml (revision 5b56413d04e608379c9a306373554a8e4d321bc0)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/timer/cirrus,ep9301-timer.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Cirrus Logic EP93xx timer
8
9maintainers:
10  - Alexander Sverdlin <alexander.sverdlin@gmail.com>
11  - Nikita Shubin <nikita.shubin@maquefel.me>
12
13properties:
14  compatible:
15    oneOf:
16      - const: cirrus,ep9301-timer
17      - items:
18          - enum:
19              - cirrus,ep9302-timer
20              - cirrus,ep9307-timer
21              - cirrus,ep9312-timer
22              - cirrus,ep9315-timer
23          - const: cirrus,ep9301-timer
24
25  reg:
26    maxItems: 1
27
28  interrupts:
29    maxItems: 1
30
31  resets:
32    maxItems: 1
33
34required:
35  - compatible
36  - reg
37  - interrupts
38
39additionalProperties: false
40
41examples:
42  - |
43    timer@80810000 {
44      compatible = "cirrus,ep9301-timer";
45      reg = <0x80810000 0x100>;
46      interrupt-parent = <&vic1>;
47      interrupts = <19>;
48    };
49...
50