aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLiu Gang <Gang.Liu@nxp.com>2016-06-07 02:55:46 -0400
committerShawn Guo <shawnguo@kernel.org>2016-06-15 20:43:10 -0400
commitf8ed1d9b0f6758db7e2b65b6e88f8a923a3a22ab (patch)
tree3ac59ba597183f3ec38f1c23383411c627170823
parent2f082b13f2ef89548d5629d9bbf8795ed246a0ec (diff)
arm64: dts: ls1043a: Add 'dma-coherent' for ls1043a PCI nodes
The 'dma-coherent' indicates that the hardware IP block can ensure the coherency of the data transferred from/to the IP block. This can avoid the software cache flush/invalid actions, and improve the performance significantly. The PCI IP block of ls1043a has this capability, so adding this feature to improve the PCI performance. Signed-off-by: Liu Gang <Gang.Liu@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
-rw-r--r--arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
index 2c6832a12990..c451b814ac74 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1043a.dtsi
@@ -482,6 +482,7 @@
482 #address-cells = <3>; 482 #address-cells = <3>;
483 #size-cells = <2>; 483 #size-cells = <2>;
484 device_type = "pci"; 484 device_type = "pci";
485 dma-coherent;
485 num-lanes = <4>; 486 num-lanes = <4>;
486 bus-range = <0x0 0xff>; 487 bus-range = <0x0 0xff>;
487 ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */ 488 ranges = <0x81000000 0x0 0x00000000 0x40 0x00010000 0x0 0x00010000 /* downstream I/O */
@@ -506,6 +507,7 @@
506 #address-cells = <3>; 507 #address-cells = <3>;
507 #size-cells = <2>; 508 #size-cells = <2>;
508 device_type = "pci"; 509 device_type = "pci";
510 dma-coherent;
509 num-lanes = <2>; 511 num-lanes = <2>;
510 bus-range = <0x0 0xff>; 512 bus-range = <0x0 0xff>;
511 ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */ 513 ranges = <0x81000000 0x0 0x00000000 0x48 0x00010000 0x0 0x00010000 /* downstream I/O */
@@ -530,6 +532,7 @@
530 #address-cells = <3>; 532 #address-cells = <3>;
531 #size-cells = <2>; 533 #size-cells = <2>;
532 device_type = "pci"; 534 device_type = "pci";
535 dma-coherent;
533 num-lanes = <2>; 536 num-lanes = <2>;
534 bus-range = <0x0 0xff>; 537 bus-range = <0x0 0xff>;
535 ranges = <0x81000000 0x0 0x00000000 0x50 0x00010000 0x0 0x00010000 /* downstream I/O */ 538 ranges = <0x81000000 0x0 0x00000000 0x50 0x00010000 0x0 0x00010000 /* downstream I/O */