Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/rtc/cirrus,ep9301-rtc.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Cirrus EP93xx Real Time Clock controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Hartley Sweeten <hsweeten@visionengravers.com> |
| 11 | - Alexander Sverdlin <alexander.sverdlin@gmail.com> |
| 12 | |
| 13 | allOf: |
| 14 | - $ref: rtc.yaml# |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | oneOf: |
| 19 | - const: cirrus,ep9301-rtc |
| 20 | - items: |
| 21 | - enum: |
| 22 | - cirrus,ep9302-rtc |
| 23 | - cirrus,ep9307-rtc |
| 24 | - cirrus,ep9312-rtc |
| 25 | - cirrus,ep9315-rtc |
| 26 | - const: cirrus,ep9301-rtc |
| 27 | |
| 28 | reg: |
| 29 | maxItems: 1 |
| 30 | |
| 31 | required: |
| 32 | - compatible |
| 33 | - reg |
| 34 | |
| 35 | unevaluatedProperties: false |
| 36 | |
| 37 | examples: |
| 38 | - | |
| 39 | rtc@80920000 { |
| 40 | compatible = "cirrus,ep9301-rtc"; |
| 41 | reg = <0x80920000 0x100>; |
| 42 | }; |