1 From d887da014c3fabf5fa4da47b143edc069e72fd62 Mon Sep 17 00:00:00 2001
2 From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
3 Date: Tue, 21 May 2013 12:33:27 +0200
4 Subject: [PATCH 019/203] arm: mvebu: fix length of Ethernet registers area in
7 The length of the registers area for the Marvell 370/XP Ethernet
8 controller was incorrect in the .dtsi: 0x2400 while it should have
9 been 0x4000. Until now, this problem wasn't noticed because there was
10 a large static mapping for all I/Os set up by ->map_io(). But since
11 we're going to get rid of this static mapping, we need to ensure that
12 the register areas are properly sized.
14 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15 Signed-off-by: Jason Cooper <jason@lakedaemon.net>
17 arch/arm/boot/dts/armada-370-xp.dtsi | 4 ++--
18 arch/arm/boot/dts/armada-xp-mv78460.dtsi | 2 +-
19 arch/arm/boot/dts/armada-xp.dtsi | 2 +-
20 3 files changed, 4 insertions(+), 4 deletions(-)
22 --- a/arch/arm/boot/dts/armada-370-xp.dtsi
23 +++ b/arch/arm/boot/dts/armada-370-xp.dtsi
27 compatible = "marvell,armada-370-neta";
28 - reg = <0x70000 0x2500>;
29 + reg = <0x70000 0x4000>;
31 clocks = <&gateclk 4>;
36 compatible = "marvell,armada-370-neta";
37 - reg = <0x74000 0x2500>;
38 + reg = <0x74000 0x4000>;
40 clocks = <&gateclk 3>;
42 --- a/arch/arm/boot/dts/armada-xp-mv78460.dtsi
43 +++ b/arch/arm/boot/dts/armada-xp-mv78460.dtsi
47 compatible = "marvell,armada-370-neta";
48 - reg = <0x34000 0x2500>;
49 + reg = <0x34000 0x4000>;
51 clocks = <&gateclk 1>;
53 --- a/arch/arm/boot/dts/armada-xp.dtsi
54 +++ b/arch/arm/boot/dts/armada-xp.dtsi
58 compatible = "marvell,armada-370-neta";
59 - reg = <0x30000 0x2500>;
60 + reg = <0x30000 0x4000>;
62 clocks = <&gateclk 2>;