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/timer/cirrus,ep9301-timer.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Cirrus Logic EP93xx timer |
| 8 | |
| 9 | maintainers: |
| 10 | - Alexander Sverdlin <alexander.sverdlin@gmail.com> |
| 11 | - Nikita Shubin <nikita.shubin@maquefel.me> |
| 12 | |
| 13 | properties: |
| 14 | compatible: |
| 15 | oneOf: |
| 16 | - const: cirrus,ep9301-timer |
| 17 | - items: |
| 18 | - enum: |
| 19 | - cirrus,ep9302-timer |
| 20 | - cirrus,ep9307-timer |
| 21 | - cirrus,ep9312-timer |
| 22 | - cirrus,ep9315-timer |
| 23 | - const: cirrus,ep9301-timer |
| 24 | |
| 25 | reg: |
| 26 | maxItems: 1 |
| 27 | |
| 28 | interrupts: |
| 29 | maxItems: 1 |
| 30 | |
| 31 | resets: |
| 32 | maxItems: 1 |
| 33 | |
| 34 | required: |
| 35 | - compatible |
| 36 | - reg |
| 37 | - interrupts |
| 38 | |
| 39 | additionalProperties: false |
| 40 | |
| 41 | examples: |
| 42 | - | |
| 43 | timer@80810000 { |
| 44 | compatible = "cirrus,ep9301-timer"; |
| 45 | reg = <0x80810000 0x100>; |
| 46 | interrupt-parent = <&vic1>; |
| 47 | interrupts = <19>; |
| 48 | }; |
| 49 | ... |