Skip to content

Commit 429863e

Browse files
ardbiesheuvelarndb
authored andcommitted
dt: amd-seattle: add description of the SATA/CCP SMMUs
Add descriptions of the SMMUs that cover the SATA controller(s) on the AMD Seattle SOC. The CCP crypto accelerator shares its SMMU with the second SATA controller, which is only enabled on B1 silicon. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent dd5c160 commit 429863e

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

arch/arm64/boot/dts/amd/amd-seattle-soc.dtsi

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
reg = <0 0xe0300000 0 0xf0000>;
7171
interrupts = <0 355 4>;
7272
clocks = <&sataclk_333mhz>;
73+
iommus = <&sata0_smmu 0x0 0x1f>;
7374
dma-coherent;
7475
};
7576

@@ -80,6 +81,27 @@
8081
reg = <0 0xe0d00000 0 0xf0000>;
8182
interrupts = <0 354 4>;
8283
clocks = <&sataclk_333mhz>;
84+
iommus = <&sata1_smmu 0x0e>,
85+
<&sata1_smmu 0x0f>,
86+
<&sata1_smmu 0x1e>;
87+
dma-coherent;
88+
};
89+
90+
sata0_smmu: iommu@e0200000 {
91+
compatible = "arm,mmu-401";
92+
reg = <0 0xe0200000 0 0x10000>;
93+
#global-interrupts = <1>;
94+
interrupts = <0 332 4>, <0 332 4>;
95+
#iommu-cells = <2>;
96+
dma-coherent;
97+
};
98+
99+
sata1_smmu: iommu@e0c00000 {
100+
compatible = "arm,mmu-401";
101+
reg = <0 0xe0c00000 0 0x10000>;
102+
#global-interrupts = <1>;
103+
interrupts = <0 331 4>, <0 331 4>;
104+
#iommu-cells = <1>;
83105
dma-coherent;
84106
};
85107

@@ -201,6 +223,10 @@
201223
reg = <0 0xe0100000 0 0x10000>;
202224
interrupts = <0 3 4>;
203225
dma-coherent;
226+
iommus = <&sata1_smmu 0x00>,
227+
<&sata1_smmu 0x02>,
228+
<&sata1_smmu 0x40>,
229+
<&sata1_smmu 0x42>;
204230
};
205231

206232
pcie0: pcie@f0000000 {

0 commit comments

Comments
 (0)