Debian Codegraph @

Documentation/devicetree/bindings/rtc/atmel,at91rm9200-rtc.yaml

raw
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
7 title: Atmel AT91 RTC
8
9 allOf:
10 - $ref: rtc.yaml#
11
12 maintainers:
13 - Alexandre Belloni <[email protected]>
14
15 properties:
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
40 required:
41 - compatible
42 - reg
43 - interrupts
44 - clocks
45
46 additionalProperties: false
47
48 examples:
49 - |
50 rtc@fffffe00 {
51 compatible = "atmel,at91rm9200-rtc";
52 reg = <0xfffffe00 0x100>;
53 interrupts = <1 4 7>;
54 clocks = <&clk32k>;
55 };
56 ...