xref: /freebsd/sys/contrib/device-tree/Bindings/timer/mstar,msc313e-timer.yaml (revision e1e636193db45630c7881246d25902e57c43d24e)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/timer/mstar,msc313e-timer.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Mstar MSC313e Timer
8
9maintainers:
10  - Daniel Palmer <daniel@0x0f.com>
11  - Romain Perier <romain.perier@gmail.com>
12
13properties:
14  compatible:
15    enum:
16      - mstar,msc313e-timer
17      - sstar,ssd20xd-timer
18
19  reg:
20    maxItems: 1
21
22  interrupts:
23    maxItems: 1
24
25  clocks:
26    maxItems: 1
27
28required:
29  - compatible
30  - reg
31  - interrupts
32  - clocks
33
34additionalProperties: false
35
36examples:
37  - |
38    #include <dt-bindings/interrupt-controller/arm-gic.h>
39
40    timer@6040 {
41        compatible = "mstar,msc313e-timer";
42        reg = <0x6040 0x40>;
43        clocks = <&xtal_div2>;
44        interrupts-extended = <&intc_fiq GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
45    };
46...
47