Skip to content

Commit 27f1377

Browse files
kishontmlind
authored andcommitted
ARM: dts: dra7: Add "dma-ranges" property to PCIe RC DT nodes
'dma-ranges' in a PCI bridge node does correctly set dma masks for PCI devices not described in the DT. Certain DRA7 platforms (e.g., DRA76) has RAM above 32-bit boundary (accessible with LPAE config) though the PCIe bridge will be able to access only 32-bits. Add 'dma-ranges' property in PCIe RC DT nodes to indicate the host bridge can access only 32 bits. Signed-off-by: Kishon Vijay Abraham I <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent 00a39c9 commit 27f1377

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

arch/arm/boot/dts/dra7.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@
184184
device_type = "pci";
185185
ranges = <0x81000000 0 0 0x03000 0 0x00010000
186186
0x82000000 0 0x20013000 0x13000 0 0xffed000>;
187+
dma-ranges = <0x02000000 0x0 0x00000000 0x00000000 0x1 0x00000000>;
187188
bus-range = <0x00 0xff>;
188189
#interrupt-cells = <1>;
189190
num-lanes = <1>;
@@ -238,6 +239,7 @@
238239
device_type = "pci";
239240
ranges = <0x81000000 0 0 0x03000 0 0x00010000
240241
0x82000000 0 0x30013000 0x13000 0 0xffed000>;
242+
dma-ranges = <0x02000000 0x0 0x00000000 0x00000000 0x1 0x00000000>;
241243
bus-range = <0x00 0xff>;
242244
#interrupt-cells = <1>;
243245
num-lanes = <1>;

0 commit comments

Comments
 (0)