xref: /freebsd/sys/contrib/device-tree/Bindings/rtc/atmel,at91rm9200-rtc.yaml (revision a90b9d0159070121c221b966469c3e36d912bf82)
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          - const: microchip,sam9x7-rtc
27          - const: microchip,sam9x60-rtc
28
29  reg:
30    maxItems: 1
31
32  interrupts:
33    maxItems: 1
34
35  clocks:
36    maxItems: 1
37
38required:
39  - compatible
40  - reg
41  - interrupts
42  - clocks
43
44additionalProperties: false
45
46examples:
47  - |
48    rtc@fffffe00 {
49        compatible = "atmel,at91rm9200-rtc";
50        reg = <0xfffffe00 0x100>;
51        interrupts = <1 4 7>;
52        clocks = <&clk32k>;
53    };
54...
55