Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf8088c5 authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Jason Cooper
Browse files

arm: mvebu: fix length of Ethernet registers area in .dtsi



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: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent 911492de
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -96,7 +96,7 @@

			ethernet@70000 {
				compatible = "marvell,armada-370-neta";
				reg = <0x70000 0x2500>;
				reg = <0x70000 0x4000>;
				interrupts = <8>;
				clocks = <&gateclk 4>;
				status = "disabled";
@@ -104,7 +104,7 @@

			ethernet@74000 {
				compatible = "marvell,armada-370-neta";
				reg = <0x74000 0x2500>;
				reg = <0x74000 0x4000>;
				interrupts = <10>;
				clocks = <&gateclk 3>;
				status = "disabled";
+1 −1
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@

			ethernet@34000 {
				compatible = "marvell,armada-370-neta";
				reg = <0x34000 0x2500>;
				reg = <0x34000 0x4000>;
				interrupts = <14>;
				clocks = <&gateclk 1>;
				status = "disabled";
+1 −1
Original line number Diff line number Diff line
@@ -88,7 +88,7 @@

			ethernet@30000 {
				compatible = "marvell,armada-370-neta";
				reg = <0x30000 0x2500>;
				reg = <0x30000 0x4000>;
				interrupts = <12>;
				clocks = <&gateclk 2>;
				status = "disabled";