Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0-only |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/rtc/sa1100-rtc.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Marvell Real Time Clock controller |
| 8 | |
| 9 | allOf: |
| 10 | - $ref: rtc.yaml# |
| 11 | |
| 12 | maintainers: |
| 13 | - Alessandro Zummo <a.zummo@towertech.it> |
| 14 | - Alexandre Belloni <alexandre.belloni@bootlin.com> |
Tom Rini | 6bb92fc | 2024-05-20 09:54:58 -0600 | [diff] [blame] | 15 | - Rob Herring <robh@kernel.org> |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 16 | |
| 17 | properties: |
| 18 | compatible: |
| 19 | enum: |
| 20 | - mrvl,sa1100-rtc |
| 21 | - mrvl,mmp-rtc |
| 22 | |
| 23 | reg: |
| 24 | maxItems: 1 |
| 25 | |
| 26 | clocks: |
| 27 | maxItems: 1 |
| 28 | |
| 29 | resets: |
| 30 | maxItems: 1 |
| 31 | |
| 32 | interrupts: |
| 33 | minItems: 2 |
| 34 | |
| 35 | interrupt-names: |
| 36 | items: |
| 37 | - const: rtc 1Hz |
| 38 | - const: rtc alarm |
| 39 | |
| 40 | required: |
| 41 | - compatible |
| 42 | - reg |
| 43 | - interrupts |
| 44 | - interrupt-names |
| 45 | |
| 46 | additionalProperties: false |
| 47 | |
| 48 | examples: |
| 49 | - | |
| 50 | rtc: rtc@d4010000 { |
| 51 | compatible = "mrvl,mmp-rtc"; |
| 52 | reg = <0xd4010000 0x1000>; |
| 53 | interrupts = <5>, <6>; |
| 54 | interrupt-names = "rtc 1Hz", "rtc alarm"; |
| 55 | }; |
| 56 | |
| 57 | ... |