1*8ccc0d23SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*8ccc0d23SEmmanuel Vadot%YAML 1.2 3*8ccc0d23SEmmanuel Vadot--- 4*8ccc0d23SEmmanuel Vadot$id: http://devicetree.org/schemas/interrupt-controller/brcm,bcm2712-msix.yaml# 5*8ccc0d23SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*8ccc0d23SEmmanuel Vadot 7*8ccc0d23SEmmanuel Vadottitle: Broadcom bcm2712 MSI-X Interrupt Peripheral support 8*8ccc0d23SEmmanuel Vadot 9*8ccc0d23SEmmanuel Vadotmaintainers: 10*8ccc0d23SEmmanuel Vadot - Stanimir Varbanov <svarbanov@suse.de> 11*8ccc0d23SEmmanuel Vadot 12*8ccc0d23SEmmanuel Vadotdescription: 13*8ccc0d23SEmmanuel Vadot This interrupt controller is used to provide interrupt vectors to the 14*8ccc0d23SEmmanuel Vadot generic interrupt controller (GIC) on bcm2712. It will be used as 15*8ccc0d23SEmmanuel Vadot external MSI-X controller for PCIe root complex. 16*8ccc0d23SEmmanuel Vadot 17*8ccc0d23SEmmanuel VadotallOf: 18*8ccc0d23SEmmanuel Vadot - $ref: /schemas/interrupt-controller/msi-controller.yaml# 19*8ccc0d23SEmmanuel Vadot 20*8ccc0d23SEmmanuel Vadotproperties: 21*8ccc0d23SEmmanuel Vadot compatible: 22*8ccc0d23SEmmanuel Vadot const: brcm,bcm2712-mip 23*8ccc0d23SEmmanuel Vadot 24*8ccc0d23SEmmanuel Vadot reg: 25*8ccc0d23SEmmanuel Vadot items: 26*8ccc0d23SEmmanuel Vadot - description: Base register address 27*8ccc0d23SEmmanuel Vadot - description: PCIe message address 28*8ccc0d23SEmmanuel Vadot 29*8ccc0d23SEmmanuel Vadot "#msi-cells": 30*8ccc0d23SEmmanuel Vadot const: 0 31*8ccc0d23SEmmanuel Vadot 32*8ccc0d23SEmmanuel Vadot brcm,msi-offset: 33*8ccc0d23SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 34*8ccc0d23SEmmanuel Vadot description: Shift the allocated MSI's. 35*8ccc0d23SEmmanuel Vadot 36*8ccc0d23SEmmanuel VadotunevaluatedProperties: false 37*8ccc0d23SEmmanuel Vadot 38*8ccc0d23SEmmanuel Vadotrequired: 39*8ccc0d23SEmmanuel Vadot - compatible 40*8ccc0d23SEmmanuel Vadot - reg 41*8ccc0d23SEmmanuel Vadot - msi-controller 42*8ccc0d23SEmmanuel Vadot - msi-ranges 43*8ccc0d23SEmmanuel Vadot 44*8ccc0d23SEmmanuel Vadotexamples: 45*8ccc0d23SEmmanuel Vadot - | 46*8ccc0d23SEmmanuel Vadot #include <dt-bindings/interrupt-controller/arm-gic.h> 47*8ccc0d23SEmmanuel Vadot 48*8ccc0d23SEmmanuel Vadot axi { 49*8ccc0d23SEmmanuel Vadot #address-cells = <2>; 50*8ccc0d23SEmmanuel Vadot #size-cells = <2>; 51*8ccc0d23SEmmanuel Vadot 52*8ccc0d23SEmmanuel Vadot msi-controller@1000130000 { 53*8ccc0d23SEmmanuel Vadot compatible = "brcm,bcm2712-mip"; 54*8ccc0d23SEmmanuel Vadot reg = <0x10 0x00130000 0x00 0xc0>, 55*8ccc0d23SEmmanuel Vadot <0xff 0xfffff000 0x00 0x1000>; 56*8ccc0d23SEmmanuel Vadot msi-controller; 57*8ccc0d23SEmmanuel Vadot #msi-cells = <0>; 58*8ccc0d23SEmmanuel Vadot msi-ranges = <&gicv2 GIC_SPI 128 IRQ_TYPE_EDGE_RISING 64>; 59*8ccc0d23SEmmanuel Vadot }; 60*8ccc0d23SEmmanuel Vadot }; 61