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