Skip to content

Commit acd9208

Browse files
ardbiesheuvelarndb
authored andcommitted
dt: amd-seattle: fix PCIe legacy interrupt routing
The AMD Seattle SOC can be configured to expose up to 3 PCIe root ports, each of which is wired to 4 dedicated SPI wired interrupts for legacy INTx support. Update the SOC DT description to reflect this. Fix a stale comment about the size of the MMIO64 resource window while at it. Signed-off-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 9bd9a06 commit acd9208

1 file changed

Lines changed: 16 additions & 6 deletions

File tree

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

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -213,12 +213,22 @@
213213
msi-parent = <&v2m0>;
214214
reg = <0 0xf0000000 0 0x10000000>;
215215

216-
interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
216+
interrupt-map-mask = <0xff00 0x0 0x0 0x7>;
217217
interrupt-map =
218-
<0x1000 0x0 0x0 0x1 &gic0 0x0 0x0 0x0 0x120 0x1>,
219-
<0x1000 0x0 0x0 0x2 &gic0 0x0 0x0 0x0 0x121 0x1>,
220-
<0x1000 0x0 0x0 0x3 &gic0 0x0 0x0 0x0 0x122 0x1>,
221-
<0x1000 0x0 0x0 0x4 &gic0 0x0 0x0 0x0 0x123 0x1>;
218+
<0x1100 0x0 0x0 0x1 &gic0 0x0 0x0 0x0 0x120 0x1>,
219+
<0x1100 0x0 0x0 0x2 &gic0 0x0 0x0 0x0 0x121 0x1>,
220+
<0x1100 0x0 0x0 0x3 &gic0 0x0 0x0 0x0 0x122 0x1>,
221+
<0x1100 0x0 0x0 0x4 &gic0 0x0 0x0 0x0 0x123 0x1>,
222+
223+
<0x1200 0x0 0x0 0x1 &gic0 0x0 0x0 0x0 0x124 0x1>,
224+
<0x1200 0x0 0x0 0x2 &gic0 0x0 0x0 0x0 0x125 0x1>,
225+
<0x1200 0x0 0x0 0x3 &gic0 0x0 0x0 0x0 0x126 0x1>,
226+
<0x1200 0x0 0x0 0x4 &gic0 0x0 0x0 0x0 0x127 0x1>,
227+
228+
<0x1300 0x0 0x0 0x1 &gic0 0x0 0x0 0x0 0x128 0x1>,
229+
<0x1300 0x0 0x0 0x2 &gic0 0x0 0x0 0x0 0x129 0x1>,
230+
<0x1300 0x0 0x0 0x3 &gic0 0x0 0x0 0x0 0x12a 0x1>,
231+
<0x1300 0x0 0x0 0x4 &gic0 0x0 0x0 0x0 0x12b 0x1>;
222232

223233
dma-coherent;
224234
dma-ranges = <0x43000000 0x0 0x0 0x0 0x0 0x100 0x0>;
@@ -227,7 +237,7 @@
227237
<0x01000000 0x00 0x00000000 0x00 0xefff0000 0x00 0x00010000>,
228238
/* 32-bit MMIO (size=2G) */
229239
<0x02000000 0x00 0x40000000 0x00 0x40000000 0x00 0x80000000>,
230-
/* 64-bit MMIO (size= 124G) */
240+
/* 64-bit MMIO (size= 508G) */
231241
<0x03000000 0x01 0x00000000 0x01 0x00000000 0x7f 0x00000000>;
232242
};
233243

0 commit comments

Comments
 (0)