Commit | Line | Data |
---|---|---|
7647204c RP |
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 | ||
dd3cb467 | 7 | title: Mstar MSC313e Timer |
7647204c RP |
8 | |
9 | maintainers: | |
10 | - Daniel Palmer <daniel@0x0f.com> | |
11 | - Romain Perier <romain.perier@gmail.com> | |
12 | ||
13 | properties: | |
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 | ||
28 | required: | |
29 | - compatible | |
30 | - reg | |
31 | - interrupts | |
32 | - clocks | |
33 | ||
34 | additionalProperties: false | |
35 | ||
36 | examples: | |
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 | ... |