xref: /linux/Documentation/devicetree/bindings/timer/intel,ixp4xx-timer.yaml (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
17c23b0e1SLinus Walleij# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
27c23b0e1SLinus Walleij# Copyright 2018 Linaro Ltd.
37c23b0e1SLinus Walleij%YAML 1.2
47c23b0e1SLinus Walleij---
5*975b1e50SRob Herring$id: http://devicetree.org/schemas/timer/intel,ixp4xx-timer.yaml#
6*975b1e50SRob Herring$schema: http://devicetree.org/meta-schemas/core.yaml#
77c23b0e1SLinus Walleij
87c23b0e1SLinus Walleijtitle: Intel IXP4xx XScale Networking Processors Timers
97c23b0e1SLinus Walleij
107c23b0e1SLinus Walleijmaintainers:
117c23b0e1SLinus Walleij  - Linus Walleij <linus.walleij@linaro.org>
127c23b0e1SLinus Walleij
137c23b0e1SLinus Walleijdescription: This timer is found in the Intel IXP4xx processors.
147c23b0e1SLinus Walleij
157c23b0e1SLinus Walleijproperties:
167c23b0e1SLinus Walleij  compatible:
177c23b0e1SLinus Walleij    items:
187c23b0e1SLinus Walleij      - const: intel,ixp4xx-timer
197c23b0e1SLinus Walleij
207c23b0e1SLinus Walleij  reg:
210499220dSRob Herring    maxItems: 1
227c23b0e1SLinus Walleij
237c23b0e1SLinus Walleij  interrupts:
247c23b0e1SLinus Walleij    minItems: 1
257c23b0e1SLinus Walleij    items:
267c23b0e1SLinus Walleij      - description: Timer 1 interrupt
277c23b0e1SLinus Walleij      - description: Timer 2 interrupt
287c23b0e1SLinus Walleij
297c23b0e1SLinus Walleijrequired:
307c23b0e1SLinus Walleij  - compatible
317c23b0e1SLinus Walleij  - reg
327c23b0e1SLinus Walleij  - interrupts
337c23b0e1SLinus Walleij
347f464532SRob HerringadditionalProperties: false
357f464532SRob Herring
367c23b0e1SLinus Walleijexamples:
377c23b0e1SLinus Walleij  - |
387c23b0e1SLinus Walleij    #include <dt-bindings/interrupt-controller/irq.h>
397c23b0e1SLinus Walleij    timer@c8005000 {
407c23b0e1SLinus Walleij        compatible = "intel,ixp4xx-timer";
417c23b0e1SLinus Walleij        reg = <0xc8005000 0x100>;
427c23b0e1SLinus Walleij        interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
437c23b0e1SLinus Walleij    };
44