Skip to content

Commit 4ac4d14

Browse files
rmurphy-armsudeep-holla
authored andcommitted
arm64: dts: juno: Describe PCI dma-ranges
The PLDA root complex on Juno relies on an address-based lookup table to generate AXI attributes for inbound PCI transactions, and as such will not pass any transaction not matching any programmed address range. The standard firmware configuration programs 3 entries covering the GICv2m MSI doorbell and the 2 DRAM regions, so add a "dma-ranges" property to describe those usable inbound windows. Link: https://lore.kernel.org/r/720d0a9a42e33148fcac45cd39a727093a32bf32.1614965598.git.robin.murphy@arm.com Signed-off-by: Robin Murphy <[email protected]> Signed-off-by: Sudeep Holla <[email protected]>
1 parent a38fd87 commit 4ac4d14

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arch/arm64/boot/dts/arm/juno-base.dtsi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,10 @@
544544
ranges = <0x01000000 0x00 0x00000000 0x00 0x5f800000 0x0 0x00800000>,
545545
<0x02000000 0x00 0x50000000 0x00 0x50000000 0x0 0x08000000>,
546546
<0x42000000 0x40 0x00000000 0x40 0x00000000 0x1 0x00000000>;
547+
/* Standard AXI Translation entries as programmed by EDK2 */
548+
dma-ranges = <0x02000000 0x0 0x2c1c0000 0x0 0x2c1c0000 0x0 0x00040000>,
549+
<0x02000000 0x0 0x80000000 0x0 0x80000000 0x0 0x80000000>,
550+
<0x43000000 0x8 0x00000000 0x8 0x00000000 0x2 0x00000000>;
547551
#interrupt-cells = <1>;
548552
interrupt-map-mask = <0 0 0 7>;
549553
interrupt-map = <0 0 0 1 &gic 0 GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>,

0 commit comments

Comments
 (0)