arm: mvebu: fix length of Ethernet registers area in .dtsi
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 21 May 2013 10:33:27 +0000 (12:33 +0200)
committerJason Cooper <jason@lakedaemon.net>
Tue, 28 May 2013 14:48:28 +0000 (14:48 +0000)
The length of the registers area for the Marvell 370/XP Ethernet
controller was incorrect in the .dtsi: 0x2400 while it should have
been 0x4000. Until now, this problem wasn't noticed because there was
a large static mapping for all I/Os set up by ->map_io(). But since
we're going to get rid of this static mapping, we need to ensure that
the register areas are properly sized.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/armada-370-xp.dtsi
arch/arm/boot/dts/armada-xp-mv78460.dtsi
arch/arm/boot/dts/armada-xp.dtsi

index c62444a0cb731a8660ef7f7f099d75eff579393a..52a1f5efc086b4d7bc5a99360f302f328af54ab3 100644 (file)
@@ -96,7 +96,7 @@
 
                        ethernet@70000 {
                                compatible = "marvell,armada-370-neta";
-                               reg = <0x70000 0x2500>;
+                               reg = <0x70000 0x4000>;
                                interrupts = <8>;
                                clocks = <&gateclk 4>;
                                status = "disabled";
 
                        ethernet@74000 {
                                compatible = "marvell,armada-370-neta";
-                               reg = <0x74000 0x2500>;
+                               reg = <0x74000 0x4000>;
                                interrupts = <10>;
                                clocks = <&gateclk 3>;
                                status = "disabled";
index 6ab56bd35de926aaab239966f87bb78b193dac2d..488ca5eb9a55fa646df8771c56dec7f5b224202f 100644 (file)
 
                        ethernet@34000 {
                                compatible = "marvell,armada-370-neta";
-                               reg = <0x34000 0x2500>;
+                               reg = <0x34000 0x4000>;
                                interrupts = <14>;
                                clocks = <&gateclk 1>;
                                status = "disabled";
index 5b902f9a3af29a84fd0ee83000c8d0f2ffa280ea..1ee8540b0ebaf516d940ca020473e21b2fa964ba 100644 (file)
@@ -88,7 +88,7 @@
 
                        ethernet@30000 {
                                compatible = "marvell,armada-370-neta";
-                               reg = <0x30000 0x2500>;
+                               reg = <0x30000 0x4000>;
                                interrupts = <12>;
                                clocks = <&gateclk 2>;
                                status = "disabled";