ARM: mvebu: the Armada XP Matrix board has 4 GB
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 4 Mar 2014 16:37:02 +0000 (17:37 +0100)
committerJason Cooper <jason@lakedaemon.net>
Thu, 6 Mar 2014 19:59:38 +0000 (19:59 +0000)
Since the Armada XP Matrix board has 4 GB of RAM and not 2 GB, we
update the Device Tree to take into account the correct amount of
memory. As noted in the new comment, the last 256 MB of RAM are in
fact not usable, due to the overlap with the MBus Window address
range.

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

index e47c49ecd55c0cd475e547d1690deeaabcd679af..c2242745b9b87a29afcfcc2fc77bf9178d5814f9 100644 (file)
 
        memory {
                device_type = "memory";
-               reg = <0 0x00000000 0 0x80000000>; /* 2 GB */
+               /*
+                * This board has 4 GB of RAM, but the last 256 MB of
+                * RAM are not usable due to the overlap with the MBus
+                * Window address range
+                */
+               reg = <0 0x00000000 0 0xf0000000>;
        };
 
        soc {