Skip to content

Commit 6d4bfe6

Browse files
jonhunterthierryreding
authored andcommitted
arm64: tegra: Resize aperture for the IGX PCIe C5 slot
Some discrete graphics cards such as the NVIDIA RTX A6000 support resizable BARs. When connecting an A6000 card to the NVIDIA IGX Orin platform, resizing the BAR1 aperture to 8GB fails because the current device-tree configuration for the PCIe C5 slot cannot support this. Fix this by updating the device-tree 'reg' and 'ranges' properties for the PCIe C5 slot to support this. Signed-off-by: Jon Hunter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Thierry Reding <[email protected]>
1 parent bb8a3ad commit 6d4bfe6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

arch/arm64/boot/dts/nvidia/tegra234-p3740-0002+p3701-0008.dts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,16 @@
302302
};
303303

304304
pcie@141a0000 {
305+
reg = <0x00 0x141a0000 0x0 0x00020000 /* appl registers (128K) */
306+
0x00 0x3a000000 0x0 0x00040000 /* configuration space (256K) */
307+
0x00 0x3a040000 0x0 0x00040000 /* iATU_DMA reg space (256K) */
308+
0x00 0x3a080000 0x0 0x00040000 /* DBI reg space (256K) */
309+
0x2e 0x20000000 0x0 0x10000000>; /* ECAM (256MB) */
310+
311+
ranges = <0x81000000 0x00 0x3a100000 0x00 0x3a100000 0x0 0x00100000 /* downstream I/O (1MB) */
312+
0x82000000 0x00 0x40000000 0x2e 0x30000000 0x0 0x08000000 /* non-prefetchable memory (128MB) */
313+
0xc3000000 0x28 0x00000000 0x28 0x00000000 0x6 0x20000000>; /* prefetchable memory (25088MB) */
314+
305315
status = "okay";
306316
vddio-pex-ctl-supply = <&vdd_1v8_ls>;
307317
phys = <&p2u_nvhs_0>, <&p2u_nvhs_1>, <&p2u_nvhs_2>,

0 commit comments

Comments
 (0)