Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 <alexandre.belloni@bootlin.com> |
| 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 | - 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 | |
| 38 | required: |
| 39 | - compatible |
| 40 | - reg |
| 41 | - interrupts |
| 42 | - clocks |
| 43 | |
| 44 | additionalProperties: false |
| 45 | |
| 46 | examples: |
| 47 | - | |
| 48 | rtc@fffffe00 { |
| 49 | compatible = "atmel,at91rm9200-rtc"; |
| 50 | reg = <0xfffffe00 0x100>; |
| 51 | interrupts = <1 4 7>; |
| 52 | clocks = <&clk32k>; |
| 53 | }; |
| 54 | ... |