Skip to content

Commit 90d4d3f

Browse files
kishontmlind
authored andcommitted
ARM: dts: dra7: Fix bus_dma_limit for PCIe
Even though commit cfb5d65 ("ARM: dts: dra7: Add bus_dma_limit for L3 bus") added bus_dma_limit for L3 bus, the PCIe controller gets incorrect value of bus_dma_limit. Fix it by adding empty dma-ranges property to axi@0 and axi@1 (parent device tree node of PCIe controller). Cc: [email protected] Signed-off-by: Kishon Vijay Abraham I <[email protected]> Signed-off-by: Tony Lindgren <[email protected]>
1 parent b0bbc03 commit 90d4d3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/arm/boot/dts/dra7.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@
172172
#address-cells = <1>;
173173
ranges = <0x51000000 0x51000000 0x3000
174174
0x0 0x20000000 0x10000000>;
175+
dma-ranges;
175176
/**
176177
* To enable PCI endpoint mode, disable the pcie1_rc
177178
* node and enable pcie1_ep mode.
@@ -185,7 +186,6 @@
185186
device_type = "pci";
186187
ranges = <0x81000000 0 0 0x03000 0 0x00010000
187188
0x82000000 0 0x20013000 0x13000 0 0xffed000>;
188-
dma-ranges = <0x02000000 0x0 0x00000000 0x00000000 0x1 0x00000000>;
189189
bus-range = <0x00 0xff>;
190190
#interrupt-cells = <1>;
191191
num-lanes = <1>;
@@ -230,6 +230,7 @@
230230
#address-cells = <1>;
231231
ranges = <0x51800000 0x51800000 0x3000
232232
0x0 0x30000000 0x10000000>;
233+
dma-ranges;
233234
status = "disabled";
234235
pcie2_rc: pcie@51800000 {
235236
reg = <0x51800000 0x2000>, <0x51802000 0x14c>, <0x1000 0x2000>;
@@ -240,7 +241,6 @@
240241
device_type = "pci";
241242
ranges = <0x81000000 0 0 0x03000 0 0x00010000
242243
0x82000000 0 0x30013000 0x13000 0 0xffed000>;
243-
dma-ranges = <0x02000000 0x0 0x00000000 0x00000000 0x1 0x00000000>;
244244
bus-range = <0x00 0xff>;
245245
#interrupt-cells = <1>;
246246
num-lanes = <1>;

0 commit comments

Comments
 (0)