xref: /linux/Documentation/devicetree/bindings/arm/atmel,at91rm9200-st.yaml (revision 31b43c079f9aa55754c20404a42bca9a49e01f60)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/arm/atmel,at91rm9200-st.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Atmel System Timer
8
9maintainers:
10  - Nicolas Ferre <nicolas.ferre@microchip.com>
11  - Claudiu Beznea <claudiu.beznea@tuxon.dev>
12
13description:
14  The System Timer (ST) module in AT91RM9200 provides periodic tick and
15  alarm capabilities. It is exposed as a simple multi-function device
16  (simple-mfd + syscon) because it shares its register space and interrupt
17  with other System Controller blocks.
18
19properties:
20  compatible:
21    items:
22      - const: atmel,at91rm9200-st
23      - const: syscon
24      - const: simple-mfd
25
26  reg:
27    maxItems: 1
28
29  interrupts:
30    maxItems: 1
31
32  clocks:
33    maxItems: 1
34
35  "#address-cells":
36    const: 1
37
38  "#size-cells":
39    const: 1
40
41patternProperties:
42  "^watchdog@[0-9a-f]+$":
43    $ref: /schemas/watchdog/atmel,at91rm9200-wdt.yaml#
44
45required:
46  - compatible
47  - reg
48  - interrupts
49  - clocks
50
51unevaluatedProperties: false
52
53examples:
54  - |
55    #include <dt-bindings/interrupt-controller/irq.h>
56    timer@fffffd00 {
57        compatible = "atmel,at91rm9200-st", "syscon", "simple-mfd";
58        reg = <0xfffffd00 0x100>;
59        interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
60        clocks = <&slow_xtal>;
61        #address-cells = <1>;
62        #size-cells = <1>;
63
64        watchdog@fffffd40 {
65            compatible = "atmel,at91rm9200-wdt";
66            reg = <0xfffffd40 0x40>;
67        };
68    };
69...
70