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/imxdi-rtc.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: i.MX25 Real Time Clock controller |
| 8 | |
| 9 | maintainers: |
| 10 | - Roland Stigge <stigge@antcom.de> |
| 11 | |
| 12 | properties: |
| 13 | compatible: |
| 14 | const: fsl,imx25-rtc |
| 15 | |
| 16 | reg: |
| 17 | maxItems: 1 |
| 18 | |
| 19 | interrupts: |
| 20 | items: |
| 21 | - description: rtc alarm interrupt |
| 22 | - description: dryice security violation interrupt |
| 23 | minItems: 1 |
| 24 | |
| 25 | clocks: |
| 26 | maxItems: 1 |
| 27 | |
| 28 | required: |
| 29 | - compatible |
| 30 | - reg |
| 31 | - interrupts |
| 32 | - clocks |
| 33 | |
| 34 | additionalProperties: false |
| 35 | |
| 36 | examples: |
| 37 | - | |
| 38 | rtc@53ffc000 { |
| 39 | compatible = "fsl,imx25-rtc"; |
| 40 | reg = <0x53ffc000 0x4000>; |
| 41 | clocks = <&clks 81>; |
| 42 | interrupts = <25>, <56>; |
| 43 | }; |