Merge tag 'for-5.3-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / timer / intel,ixp4xx-timer.yaml
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
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:
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
30 required:
31   - compatible
32   - reg
33   - interrupts
34
35 examples:
36   - |
37     #include <dt-bindings/interrupt-controller/irq.h>
38     timer@c8005000 {
39         compatible = "intel,ixp4xx-timer";
40         reg = <0xc8005000 0x100>;
41         interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
42     };