Tom Rini | 762f85b | 2024-07-20 11:15:10 -0600 | [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/marvell,pxa-rtc.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: PXA Real Time Clock |
| 8 | |
| 9 | maintainers: |
| 10 | - Javier Carrasco <javier.carrasco.cruz@gmail.com> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: rtc.yaml# |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | const: marvell,pxa-rtc |
| 18 | |
| 19 | reg: |
| 20 | maxItems: 1 |
| 21 | |
| 22 | interrupts: |
| 23 | items: |
| 24 | - description: 1 Hz |
| 25 | - description: Alarm |
| 26 | |
| 27 | required: |
| 28 | - compatible |
| 29 | - reg |
| 30 | - interrupts |
| 31 | |
| 32 | unevaluatedProperties: false |
| 33 | |
| 34 | examples: |
| 35 | - | |
| 36 | rtc@40900000 { |
| 37 | compatible = "marvell,pxa-rtc"; |
| 38 | reg = <0x40900000 0x3c>; |
| 39 | interrupts = <30>, <31>; |
| 40 | }; |