[PATCH 1/3] dt-bindings: interrupt-controller: brcm,bcm2712-msix: Allow multiple ranges

From: Nicolai Buchwitz

Date: Wed Dec 02 2026 - 05:12:49 EST


The MIP outputs are not wired to one contiguous block of GIC SPIs, so a
single msi-ranges entry cannot describe all of them. Define how several
entries map to the outputs. Allow the legacy brcm,msi-offset only with
a single entry, which is the only case the driver has handled.

Signed-off-by: Nicolai Buchwitz <nb@xxxxxxxxxxx>
---
.../bindings/interrupt-controller/brcm,bcm2712-msix.yaml | 16 +++++++++++++++-
1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2712-msix.yaml b/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2712-msix.yaml
index c84614663b5d..5ad380b28c57 100644
--- a/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2712-msix.yaml
+++ b/Documentation/devicetree/bindings/interrupt-controller/brcm,bcm2712-msix.yaml
@@ -16,6 +16,13 @@ description:

allOf:
- $ref: /schemas/interrupt-controller/msi-controller.yaml#
+ - if:
+ required:
+ - brcm,msi-offset
+ then:
+ properties:
+ msi-ranges:
+ maxItems: 1

properties:
compatible:
@@ -29,9 +36,16 @@ properties:
"#msi-cells":
const: 0

+ msi-ranges:
+ description:
+ Each entry maps the next consecutive MIP outputs, starting at
+ output 0, to the given GIC SPIs.
+
brcm,msi-offset:
$ref: /schemas/types.yaml#/definitions/uint32
- description: Shift the allocated MSI's.
+ description:
+ Legacy. Shifts both the MIP output and the GIC SPI of a single
+ msi-ranges entry. Not allowed with more than one entry.

unevaluatedProperties: false


--
2.53.0