Linus Walleij | 7c23b0e | 2019-02-01 19:12:58 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 | # Copyright 2018 Linaro Ltd. |
| 3 | %YAML 1.2 |
| 4 | --- |
Rob Herring | e1ff739 | 2019-07-26 17:36:52 -0600 | [diff] [blame] | 5 | $id: "http://devicetree.org/schemas/timer/intel,ixp4xx-timer.yaml#" |
Linus Walleij | 7c23b0e | 2019-02-01 19:12:58 +0100 | [diff] [blame] | 6 | $schema: "http://devicetree.org/meta-schemas/core.yaml#" |
| 7 | |
| 8 | title: Intel IXP4xx XScale Networking Processors Timers |
| 9 | |
| 10 | maintainers: |
| 11 | - Linus Walleij <linus.walleij@linaro.org> |
| 12 | |
| 13 | description: This timer is found in the Intel IXP4xx processors. |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | items: |
| 18 | - const: intel,ixp4xx-timer |
| 19 | |
| 20 | reg: |
Rob Herring | 0499220 | 2021-01-04 16:02:53 -0700 | [diff] [blame] | 21 | maxItems: 1 |
Linus Walleij | 7c23b0e | 2019-02-01 19:12:58 +0100 | [diff] [blame] | 22 | |
| 23 | interrupts: |
| 24 | minItems: 1 |
Linus Walleij | 7c23b0e | 2019-02-01 19:12:58 +0100 | [diff] [blame] | 25 | items: |
| 26 | - description: Timer 1 interrupt |
| 27 | - description: Timer 2 interrupt |
| 28 | |
| 29 | required: |
| 30 | - compatible |
| 31 | - reg |
| 32 | - interrupts |
| 33 | |
Rob Herring | 7f46453 | 2020-03-25 16:05:41 -0600 | [diff] [blame] | 34 | additionalProperties: false |
| 35 | |
Linus Walleij | 7c23b0e | 2019-02-01 19:12:58 +0100 | [diff] [blame] | 36 | examples: |
| 37 | - | |
| 38 | #include <dt-bindings/interrupt-controller/irq.h> |
| 39 | timer@c8005000 { |
| 40 | compatible = "intel,ixp4xx-timer"; |
| 41 | reg = <0xc8005000 0x100>; |
| 42 | interrupts = <5 IRQ_TYPE_LEVEL_HIGH>; |
| 43 | }; |