aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorArnaud Ebalard <arno@natisbad.org>2013-11-05 15:45:48 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-12 01:36:29 -0500
commita983e1d30993f57ea201063479e5ededf2de935b (patch)
treeab02d89a046a040b4822c5ead6e974f7c304180f /arch/arm/boot
parenta5f196ca90a717c0c40c33c4ca815c6c606d19c2 (diff)
ARM: mvebu: second PCIe unit of Armada XP mv78230 is only x1 capable
commit 12b69a599745fc9e203f61fbb7160b2cc5f479dd upstream. Various Marvell datasheets advertise second PCIe unit of mv78230 flavour of Armada XP as x4/quad x1 capable. This second unit is in fact only x1 capable. This patch fixes current mv78230 .dtsi to reflect that, i.e. makes 1.0 the second interface (instead of 2.0 at the moment). This was successfully tested on a mv78230-based ReadyNAS 2120 platform with a x1 device (FL1009 XHCI controller) connected to this second interface. Signed-off-by: Arnaud Ebalard <arno@natisbad.org> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/armada-xp-mv78230.dtsi16
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/arm/boot/dts/armada-xp-mv78230.dtsi b/arch/arm/boot/dts/armada-xp-mv78230.dtsi
index f8eaa383e07f..f94cdbc579cb 100644
--- a/arch/arm/boot/dts/armada-xp-mv78230.dtsi
+++ b/arch/arm/boot/dts/armada-xp-mv78230.dtsi
@@ -81,7 +81,7 @@
81 /* 81 /*
82 * MV78230 has 2 PCIe units Gen2.0: One unit can be 82 * MV78230 has 2 PCIe units Gen2.0: One unit can be
83 * configured as x4 or quad x1 lanes. One unit is 83 * configured as x4 or quad x1 lanes. One unit is
84 * x4/x1. 84 * x1 only.
85 */ 85 */
86 pcie-controller { 86 pcie-controller {
87 compatible = "marvell,armada-xp-pcie"; 87 compatible = "marvell,armada-xp-pcie";
@@ -94,10 +94,10 @@
94 bus-range = <0x00 0xff>; 94 bus-range = <0x00 0xff>;
95 95
96 ranges = <0x82000000 0 0x40000 0x40000 0 0x00002000 /* Port 0.0 registers */ 96 ranges = <0x82000000 0 0x40000 0x40000 0 0x00002000 /* Port 0.0 registers */
97 0x82000000 0 0x42000 0x42000 0 0x00002000 /* Port 2.0 registers */
98 0x82000000 0 0x44000 0x44000 0 0x00002000 /* Port 0.1 registers */ 97 0x82000000 0 0x44000 0x44000 0 0x00002000 /* Port 0.1 registers */
99 0x82000000 0 0x48000 0x48000 0 0x00002000 /* Port 0.2 registers */ 98 0x82000000 0 0x48000 0x48000 0 0x00002000 /* Port 0.2 registers */
100 0x82000000 0 0x4c000 0x4c000 0 0x00002000 /* Port 0.3 registers */ 99 0x82000000 0 0x4c000 0x4c000 0 0x00002000 /* Port 0.3 registers */
100 0x82000000 0 0x80000 0x80000 0 0x00002000 /* Port 1.0 registers */
101 0x82000000 0 0xe0000000 0xe0000000 0 0x08000000 /* non-prefetchable memory */ 101 0x82000000 0 0xe0000000 0xe0000000 0 0x08000000 /* non-prefetchable memory */
102 0x81000000 0 0 0xe8000000 0 0x00100000>; /* downstream I/O */ 102 0x81000000 0 0 0xe8000000 0 0x00100000>; /* downstream I/O */
103 103
@@ -165,19 +165,19 @@
165 status = "disabled"; 165 status = "disabled";
166 }; 166 };
167 167
168 pcie@9,0 { 168 pcie@5,0 {
169 device_type = "pci"; 169 device_type = "pci";
170 assigned-addresses = <0x82000800 0 0x42000 0 0x2000>; 170 assigned-addresses = <0x82000800 0 0x80000 0 0x2000>;
171 reg = <0x4800 0 0 0 0>; 171 reg = <0x2800 0 0 0 0>;
172 #address-cells = <3>; 172 #address-cells = <3>;
173 #size-cells = <2>; 173 #size-cells = <2>;
174 #interrupt-cells = <1>; 174 #interrupt-cells = <1>;
175 ranges; 175 ranges;
176 interrupt-map-mask = <0 0 0 0>; 176 interrupt-map-mask = <0 0 0 0>;
177 interrupt-map = <0 0 0 0 &mpic 99>; 177 interrupt-map = <0 0 0 0 &mpic 62>;
178 marvell,pcie-port = <2>; 178 marvell,pcie-port = <1>;
179 marvell,pcie-lane = <0>; 179 marvell,pcie-lane = <0>;
180 clocks = <&gateclk 26>; 180 clocks = <&gateclk 9>;
181 status = "disabled"; 181 status = "disabled";
182 }; 182 };
183 }; 183 };