dt: amd-seattle: add a description of the PCIe SMMU
authorArd Biesheuvel <ardb@kernel.org>
Tue, 3 Dec 2019 15:23:03 +0000 (15:23 +0000)
committerArnd Bergmann <arnd@arndb.de>
Thu, 24 Mar 2022 18:49:54 +0000 (19:49 +0100)
Add a description of the SMMU that covers the PCIe host bridge
on AMD Seattle.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi

index 9fa6890..124e58a 100644 (file)
                                <0x02000000 0x00 0x40000000 0x00 0x40000000 0x00 0x80000000>,
                                /* 64-bit MMIO (size= 508G) */
                                <0x03000000 0x01 0x00000000 0x01 0x00000000 0x7f 0x00000000>;
+                       iommu-map = <0x0 &pcie_smmu 0x0 0x10000>;
+               };
+
+               pcie_smmu: iommu@e0a00000 {
+                       compatible = "arm,mmu-401";
+                       reg = <0 0xe0a00000 0 0x10000>;
+                       #global-interrupts = <1>;
+                       interrupts = <0 333 4>, <0 333 4>;
+                       #iommu-cells = <1>;
+                       dma-coherent;
                };
 
                /* Perf CCN504 PMU */