xref: /freebsd/sys/contrib/device-tree/Bindings/timer/intel,ixp4xx-timer.yaml (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2# Copyright 2018 Linaro Ltd.
3%YAML 1.2
4---
5$id: "http://devicetree.org/schemas/timer/intel,ixp4xx-timer.yaml#"
6$schema: "http://devicetree.org/meta-schemas/core.yaml#"
7
8title: Intel IXP4xx XScale Networking Processors Timers
9
10maintainers:
11  - Linus Walleij <linus.walleij@linaro.org>
12
13description: This timer is found in the Intel IXP4xx processors.
14
15properties:
16  compatible:
17    items:
18      - const: intel,ixp4xx-timer
19
20  reg:
21    description: Should contain registers location and length
22
23  interrupts:
24    minItems: 1
25    maxItems: 2
26    items:
27      - description: Timer 1 interrupt
28      - description: Timer 2 interrupt
29
30required:
31  - compatible
32  - reg
33  - interrupts
34
35additionalProperties: false
36
37examples:
38  - |
39    #include <dt-bindings/interrupt-controller/irq.h>
40    timer@c8005000 {
41        compatible = "intel,ixp4xx-timer";
42        reg = <0xc8005000 0x100>;
43        interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
44    };
45