From 4db272ba40c09eafda1ec0a4d59c0423561c8f7a Mon Sep 17 00:00:00 2001 From: Daniel Drake Date: Sun, 27 Sep 2026 14:09:05 +0100 Subject: [PATCH] arm64: dts: broadcom: bcm2712: Add GPU IOMMU and IOMMU cache nodes Define the IOMMU and IOMMUC nodes for the Broadcom BCM2712 SoC found in the Raspberry Pi 5. Enable use of the IOMMU for the HVS device that handles memory allocations for the display block. Signed-off-by: Daniel Drake Link: https://lore.kernel.org/r/20260927-bcm2712-iommu-submit-v7-6-dfa2b975cbc9@reactivated.net Signed-off-by: Florian Fainelli --- arch/arm64/boot/dts/broadcom/bcm2712.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi index 9f83379df7aa..edae2f3584a8 100644 --- a/arch/arm64/boot/dts/broadcom/bcm2712.dtsi +++ b/arch/arm64/boot/dts/broadcom/bcm2712.dtsi @@ -663,6 +663,19 @@ status = "disabled"; }; + iommu4: iommu@1000005200 { + /* IOMMU for VC4 (HVS & MPL/TXP), Unicam, PISP-FE, MiniBVN */ + compatible = "brcm,bcm2712-iommu"; + reg = <0x10 0x5200 0x0 0x80>; + #iommu-cells = <0>; + brcm,iommu-cache = <&iommuc>; + }; + + iommuc: iommuc@1000005b00 { + compatible = "brcm,bcm2712-iommuc"; + reg = <0x10 0x5b00 0x0 0x80>; + }; + mip0: msi-controller@1000130000 { compatible = "brcm,bcm2712-mip"; reg = <0x10 0x00130000 0x00 0xc0>, @@ -752,6 +765,7 @@ interrupt-parent = <&disp_intr>; interrupts = <2>, <9>, <16>; interrupt-names = "ch0-eof", "ch1-eof", "ch2-eof"; + iommus = <&iommu4>; status = "disabled"; }; -- knotmirror 0.0.1