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/hpe,gxp-timer.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: HPE GXP Timer |
| 8 | |
| 9 | maintainers: |
| 10 | - Nick Hawkins <nick.hawkins@hpe.com> |
| 11 | - Jean-Marie Verdun <verdun@hpe.com> |
| 12 | |
| 13 | properties: |
| 14 | compatible: |
| 15 | const: hpe,gxp-timer |
| 16 | |
| 17 | reg: |
| 18 | maxItems: 1 |
| 19 | |
| 20 | interrupts: |
| 21 | maxItems: 1 |
| 22 | |
| 23 | clocks: |
| 24 | maxItems: 1 |
| 25 | |
| 26 | clock-names: |
| 27 | const: iop |
| 28 | |
| 29 | required: |
| 30 | - compatible |
| 31 | - reg |
| 32 | - interrupts |
| 33 | - clocks |
| 34 | - clock-names |
| 35 | |
| 36 | additionalProperties: false |
| 37 | |
| 38 | examples: |
| 39 | - | |
| 40 | timer@c0000000 { |
| 41 | compatible = "hpe,gxp-timer"; |
| 42 | reg = <0x80 0x16>; |
| 43 | interrupts = <0>; |
| 44 | interrupt-parent = <&vic0>; |
| 45 | clocks = <&iopclk>; |
| 46 | clock-names = "iop"; |
| 47 | }; |