xref: /linux/Documentation/devicetree/bindings/interrupt-controller/microchip,lan966x-oic.yaml (revision d53b8e36925256097a08d7cb749198d85cbf9b2b)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/interrupt-controller/microchip,lan966x-oic.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Microchip LAN966x outband interrupt controller
8
9maintainers:
10  - Herve Codina <herve.codina@bootlin.com>
11
12allOf:
13  - $ref: /schemas/interrupt-controller.yaml#
14
15description: |
16  The Microchip LAN966x outband interrupt controller (OIC) maps the internal
17  interrupt sources of the LAN966x device to an external interrupt.
18  When the LAN966x device is used as a PCI device, the external interrupt is
19  routed to the PCI interrupt.
20
21properties:
22  compatible:
23    const: microchip,lan966x-oic
24
25  '#interrupt-cells':
26    const: 2
27
28  interrupt-controller: true
29
30  reg:
31    maxItems: 1
32
33  interrupts:
34    maxItems: 1
35
36required:
37  - compatible
38  - '#interrupt-cells'
39  - interrupt-controller
40  - interrupts
41  - reg
42
43additionalProperties: false
44
45examples:
46  - |
47    interrupt-controller@e00c0120 {
48        compatible = "microchip,lan966x-oic";
49        reg = <0xe00c0120 0x190>;
50        #interrupt-cells = <2>;
51        interrupt-controller;
52        interrupts = <0>;
53        interrupt-parent = <&intc>;
54    };
55...
56