Skip to content

Commit 17972a5

Browse files
hcodinaKAGA-KOKO
authored andcommitted
dt-bindings: interrupt-controller: Add support for Microchip LAN966x OIC
The Microchip LAN966x outband interrupt controller (OIC) maps the internal interrupt sources of the LAN966x device to an external interrupt. When the LAN966x device is used as a PCI device, the external interrupt is routed to the PCI interrupt. Signed-off-by: Herve Codina <herve.codina@bootlin.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20240614173232.1184015-22-herve.codina@bootlin.com
1 parent 0b4b172 commit 17972a5

1 file changed

Lines changed: 55 additions & 0 deletions

File tree

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
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+
7+
title: Microchip LAN966x outband interrupt controller
8+
9+
maintainers:
10+
- Herve Codina <herve.codina@bootlin.com>
11+
12+
allOf:
13+
- $ref: /schemas/interrupt-controller.yaml#
14+
15+
description: |
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+
21+
properties:
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+
36+
required:
37+
- compatible
38+
- '#interrupt-cells'
39+
- interrupt-controller
40+
- interrupts
41+
- reg
42+
43+
additionalProperties: false
44+
45+
examples:
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+
...

0 commit comments

Comments
 (0)