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