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