[PATCH 3/3] arm64: dts: broadcom: bcm2712: Expose all 20 MIP1 outputs

Nicolai Buchwitz nb at tipi-net.de
Wed Dec 2 02:12:06 PST 2026


MIP1 serves pcie1, the external PCIe x1 port on Pi 5 and CM5, but only
8 of its outputs are described. A single multi-queue device can use
most of them, and further devices get fewer vectors or none.

Raising each MIP output on a CM5 and checking which SPI goes pending
shows 20 wired outputs. The others have no route. The mapping matches
the Broadcom documentation for BCM2712. On C1 every rpi-eeprom release
for Pi 5 sets the bit that enables it. On D0 it is always on.

  MIP output    GIC SPI
   0..1         196..197
   2..3         200..201
   4..5         206..207
   6            240
   7            246
   8..15        255..262
  16            275
  17            282
  18            263
  19            283

Signed-off-by: Nicolai Buchwitz <nb at tipi-net.de>
---
 arch/arm64/boot/dts/broadcom/bcm2712.dtsi | 13 +++++++++++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
index edae2f3584a8..dcbd1e674042 100644
--- a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
+++ b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi
@@ -690,8 +690,17 @@ mip1: msi-controller at 1000131000 {
 			reg = <0x10 0x00131000 0x00 0xc0>,
 			      <0xff 0xfffff000 0x00 0x1000>;
 			msi-controller;
-			msi-ranges = <&gicv2 GIC_SPI 247 IRQ_TYPE_EDGE_RISING 8>;
-			brcm,msi-offset = <8>;
+			/* In MIP output order, the SPIs are not contiguous */
+			msi-ranges = <&gicv2 GIC_SPI 196 IRQ_TYPE_EDGE_RISING 2>,
+				     <&gicv2 GIC_SPI 200 IRQ_TYPE_EDGE_RISING 2>,
+				     <&gicv2 GIC_SPI 206 IRQ_TYPE_EDGE_RISING 2>,
+				     <&gicv2 GIC_SPI 240 IRQ_TYPE_EDGE_RISING 1>,
+				     <&gicv2 GIC_SPI 246 IRQ_TYPE_EDGE_RISING 1>,
+				     <&gicv2 GIC_SPI 255 IRQ_TYPE_EDGE_RISING 8>,
+				     <&gicv2 GIC_SPI 275 IRQ_TYPE_EDGE_RISING 1>,
+				     <&gicv2 GIC_SPI 282 IRQ_TYPE_EDGE_RISING 1>,
+				     <&gicv2 GIC_SPI 263 IRQ_TYPE_EDGE_RISING 1>,
+				     <&gicv2 GIC_SPI 283 IRQ_TYPE_EDGE_RISING 1>;
 		};
 
 		isp: isp at 1000880000 {

-- 
2.53.0




More information about the linux-arm-kernel mailing list