base-files: define yes/no as valid boolean options
[openwrt.git] / target / linux / mvebu / patches-3.10 / 0019-arm-mvebu-fix-length-of-Ethernet-registers-area-in-..patch
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
5  .dtsi
6
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.
13
14 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
15 Signed-off-by: Jason Cooper <jason@lakedaemon.net>
16 ---
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(-)
21
22 --- a/arch/arm/boot/dts/armada-370-xp.dtsi
23 +++ b/arch/arm/boot/dts/armada-370-xp.dtsi
24 @@ -96,7 +96,7 @@
25  
26                         ethernet@70000 {
27                                 compatible = "marvell,armada-370-neta";
28 -                               reg = <0x70000 0x2500>;
29 +                               reg = <0x70000 0x4000>;
30                                 interrupts = <8>;
31                                 clocks = <&gateclk 4>;
32                                 status = "disabled";
33 @@ -104,7 +104,7 @@
34  
35                         ethernet@74000 {
36                                 compatible = "marvell,armada-370-neta";
37 -                               reg = <0x74000 0x2500>;
38 +                               reg = <0x74000 0x4000>;
39                                 interrupts = <10>;
40                                 clocks = <&gateclk 3>;
41                                 status = "disabled";
42 --- a/arch/arm/boot/dts/armada-xp-mv78460.dtsi
43 +++ b/arch/arm/boot/dts/armada-xp-mv78460.dtsi
44 @@ -107,7 +107,7 @@
45  
46                         ethernet@34000 {
47                                 compatible = "marvell,armada-370-neta";
48 -                               reg = <0x34000 0x2500>;
49 +                               reg = <0x34000 0x4000>;
50                                 interrupts = <14>;
51                                 clocks = <&gateclk 1>;
52                                 status = "disabled";
53 --- a/arch/arm/boot/dts/armada-xp.dtsi
54 +++ b/arch/arm/boot/dts/armada-xp.dtsi
55 @@ -88,7 +88,7 @@
56  
57                         ethernet@30000 {
58                                 compatible = "marvell,armada-370-neta";
59 -                               reg = <0x30000 0x2500>;
60 +                               reg = <0x30000 0x4000>;
61                                 interrupts = <12>;
62                                 clocks = <&gateclk 2>;
63                                 status = "disabled";