xref: /freebsd/sys/contrib/device-tree/Bindings/timer/ralink,rt2880-timer.yaml (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/timer/ralink,rt2880-timer.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Timer present in Ralink family SoCs
8
9maintainers:
10  - Sergio Paracuellos <sergio.paracuellos@gmail.com>
11
12properties:
13  compatible:
14    const: ralink,rt2880-timer
15
16  reg:
17    maxItems: 1
18
19  clocks:
20    maxItems: 1
21
22  interrupts:
23    maxItems: 1
24
25required:
26  - compatible
27  - reg
28  - clocks
29  - interrupts
30
31additionalProperties: false
32
33examples:
34  - |
35    timer@100 {
36        compatible = "ralink,rt2880-timer";
37        reg = <0x100 0x20>;
38
39        clocks = <&sysc 3>;
40
41        interrupt-parent = <&intc>;
42        interrupts = <1>;
43    };
44...
45