xref: /linux/Documentation/devicetree/bindings/interrupt-controller/intel,ixp4xx-interrupt.yaml (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
1167c6b5eSLinus Walleij# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2167c6b5eSLinus Walleij# Copyright 2018 Linaro Ltd.
3167c6b5eSLinus Walleij%YAML 1.2
4167c6b5eSLinus Walleij---
5*43d78445SRob Herring$id: http://devicetree.org/schemas/interrupt-controller/intel,ixp4xx-interrupt.yaml#
6*43d78445SRob Herring$schema: http://devicetree.org/meta-schemas/core.yaml#
7167c6b5eSLinus Walleij
8167c6b5eSLinus Walleijtitle: Intel IXP4xx XScale Networking Processors Interrupt Controller
9167c6b5eSLinus Walleij
10167c6b5eSLinus Walleijmaintainers:
11167c6b5eSLinus Walleij  - Linus Walleij <linus.walleij@linaro.org>
12167c6b5eSLinus Walleij
13167c6b5eSLinus Walleijdescription: |
14167c6b5eSLinus Walleij  This interrupt controller is found in the Intel IXP4xx processors.
15167c6b5eSLinus Walleij  Some processors have 32 interrupts, some have up to 64 interrupts.
16167c6b5eSLinus Walleij  The exact number of interrupts is determined from the compatible
17167c6b5eSLinus Walleij  string.
18167c6b5eSLinus Walleij
19167c6b5eSLinus Walleij  The distinct IXP4xx families with different interrupt controller
20167c6b5eSLinus Walleij  variations are IXP42x, IXP43x, IXP45x and IXP46x. Those four
21167c6b5eSLinus Walleij  families were the only ones to reach the developer and consumer
22167c6b5eSLinus Walleij  market.
23167c6b5eSLinus Walleij
24167c6b5eSLinus Walleijproperties:
25167c6b5eSLinus Walleij  compatible:
26167c6b5eSLinus Walleij    items:
27167c6b5eSLinus Walleij      - enum:
28167c6b5eSLinus Walleij          - intel,ixp42x-interrupt
29167c6b5eSLinus Walleij          - intel,ixp43x-interrupt
30167c6b5eSLinus Walleij          - intel,ixp45x-interrupt
31167c6b5eSLinus Walleij          - intel,ixp46x-interrupt
32167c6b5eSLinus Walleij
33167c6b5eSLinus Walleij  reg:
34167c6b5eSLinus Walleij    maxItems: 1
35167c6b5eSLinus Walleij
36167c6b5eSLinus Walleij  interrupt-controller: true
37167c6b5eSLinus Walleij
38167c6b5eSLinus Walleij  '#interrupt-cells':
39167c6b5eSLinus Walleij    const: 2
40167c6b5eSLinus Walleij
41167c6b5eSLinus Walleijrequired:
42167c6b5eSLinus Walleij  - compatible
43167c6b5eSLinus Walleij  - reg
44167c6b5eSLinus Walleij  - interrupt-controller
45167c6b5eSLinus Walleij  - '#interrupt-cells'
46167c6b5eSLinus Walleij
477f464532SRob HerringadditionalProperties: false
487f464532SRob Herring
49167c6b5eSLinus Walleijexamples:
50167c6b5eSLinus Walleij  - |
51167c6b5eSLinus Walleij    intcon: interrupt-controller@c8003000 {
52167c6b5eSLinus Walleij        compatible = "intel,ixp43x-interrupt";
53167c6b5eSLinus Walleij        reg = <0xc8003000 0x100>;
54167c6b5eSLinus Walleij        interrupt-controller;
55167c6b5eSLinus Walleij        #interrupt-cells = <2>;
56167c6b5eSLinus Walleij    };
57