xref: /freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/intel,ixp4xx-interrupt.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/interrupt-controller/intel,ixp4xx-interrupt.yaml#
6*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
7c66ec88fSEmmanuel Vadot
8c66ec88fSEmmanuel Vadottitle: Intel IXP4xx XScale Networking Processors Interrupt Controller
9c66ec88fSEmmanuel Vadot
10c66ec88fSEmmanuel Vadotmaintainers:
11c66ec88fSEmmanuel Vadot  - Linus Walleij <linus.walleij@linaro.org>
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel Vadotdescription: |
14c66ec88fSEmmanuel Vadot  This interrupt controller is found in the Intel IXP4xx processors.
15c66ec88fSEmmanuel Vadot  Some processors have 32 interrupts, some have up to 64 interrupts.
16c66ec88fSEmmanuel Vadot  The exact number of interrupts is determined from the compatible
17c66ec88fSEmmanuel Vadot  string.
18c66ec88fSEmmanuel Vadot
19c66ec88fSEmmanuel Vadot  The distinct IXP4xx families with different interrupt controller
20c66ec88fSEmmanuel Vadot  variations are IXP42x, IXP43x, IXP45x and IXP46x. Those four
21c66ec88fSEmmanuel Vadot  families were the only ones to reach the developer and consumer
22c66ec88fSEmmanuel Vadot  market.
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadotproperties:
25c66ec88fSEmmanuel Vadot  compatible:
26c66ec88fSEmmanuel Vadot    items:
27c66ec88fSEmmanuel Vadot      - enum:
28c66ec88fSEmmanuel Vadot          - intel,ixp42x-interrupt
29c66ec88fSEmmanuel Vadot          - intel,ixp43x-interrupt
30c66ec88fSEmmanuel Vadot          - intel,ixp45x-interrupt
31c66ec88fSEmmanuel Vadot          - intel,ixp46x-interrupt
32c66ec88fSEmmanuel Vadot
33c66ec88fSEmmanuel Vadot  reg:
34c66ec88fSEmmanuel Vadot    maxItems: 1
35c66ec88fSEmmanuel Vadot
36c66ec88fSEmmanuel Vadot  interrupt-controller: true
37c66ec88fSEmmanuel Vadot
38c66ec88fSEmmanuel Vadot  '#interrupt-cells':
39c66ec88fSEmmanuel Vadot    const: 2
40c66ec88fSEmmanuel Vadot
41c66ec88fSEmmanuel Vadotrequired:
42c66ec88fSEmmanuel Vadot  - compatible
43c66ec88fSEmmanuel Vadot  - reg
44c66ec88fSEmmanuel Vadot  - interrupt-controller
45c66ec88fSEmmanuel Vadot  - '#interrupt-cells'
46c66ec88fSEmmanuel Vadot
47c66ec88fSEmmanuel VadotadditionalProperties: false
48c66ec88fSEmmanuel Vadot
49c66ec88fSEmmanuel Vadotexamples:
50c66ec88fSEmmanuel Vadot  - |
51c66ec88fSEmmanuel Vadot    intcon: interrupt-controller@c8003000 {
52c66ec88fSEmmanuel Vadot        compatible = "intel,ixp43x-interrupt";
53c66ec88fSEmmanuel Vadot        reg = <0xc8003000 0x100>;
54c66ec88fSEmmanuel Vadot        interrupt-controller;
55c66ec88fSEmmanuel Vadot        #interrupt-cells = <2>;
56c66ec88fSEmmanuel Vadot    };
57