xref: /linux/Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml (revision 917b10d90990fd2138b5dbc2d22cfa428c070ade)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/rtc/atmel,at91rm9200-rtc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Atmel AT91 RTC
8
9allOf:
10  - $ref: rtc.yaml#
11
12maintainers:
13  - Alexandre Belloni <alexandre.belloni@bootlin.com>
14
15properties:
16  compatible:
17    oneOf:
18      - enum:
19          - atmel,at91rm9200-rtc
20          - atmel,at91sam9x5-rtc
21          - atmel,sama5d4-rtc
22          - atmel,sama5d2-rtc
23          - microchip,sam9x60-rtc
24          - microchip,sama7g5-rtc
25      - items:
26          - enum:
27              - microchip,sam9x7-rtc
28              - microchip,sama7d65-rtc
29          - const: microchip,sam9x60-rtc
30
31  reg:
32    maxItems: 1
33
34  interrupts:
35    maxItems: 1
36
37  clocks:
38    maxItems: 1
39
40required:
41  - compatible
42  - reg
43  - interrupts
44  - clocks
45
46additionalProperties: false
47
48examples:
49  - |
50    rtc@fffffe00 {
51        compatible = "atmel,at91rm9200-rtc";
52        reg = <0xfffffe00 0x100>;
53        interrupts = <1 4 7>;
54        clocks = <&clk32k>;
55    };
56...
57