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