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 <[email protected]>
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 a PCI interrupt when the LAN966x
18  device is used as a PCI device.
19
20properties:
21  compatible:
22    const: microchip,lan966x-oic
23
24  '#interrupt-cells':
25    const: 2
26
27  interrupt-controller: true
28
29  reg:
30    maxItems: 1
31
32  interrupts:
33    maxItems: 1
34
35required:
36  - compatible
37  - '#interrupt-cells'
38  - interrupt-controller
39  - interrupts
40  - reg
41
42additionalProperties: false
43
44examples:
45  - |
46    interrupt-controller@e00c0120 {
47        compatible = "microchip,lan966x-oic";
48        reg = <0xe00c0120 0x190>;
49        #interrupt-cells = <2>;
50        interrupt-controller;
51        interrupts = <0>;
52        interrupt-parent = <&intc>;
53    };
54...
55