# \[PATCH\] ARM: shmobile: Include all 4 GiB of memory on Lager

- From: Magnus Damm \<magnus.damm@gmail.com\>
- Date: 2013-10-31 03:21:41 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2013/10/8664130
- Thread: https://ratatoskr.run/linux-arm-kernel/2013/10/8664130/t.md

```text
From: Magnus Damm <redacted>

Add 2GiB of DRAM at 0x1_8000_0000 to support the full 4GiB
of Lager system memory.

Signed-off-by: Magnus Damm <redacted>
---

 For correct run time operation regardless of kernel configuration
 ARM patches 7863/1 and 7864/1 are needed.

 Written on top of renesas-devel-v3.12-rc7-20131030

 arch/arm/boot/dts/r8a7790-lager.dts |    5 +++++
 1 file changed, 5 insertions(+)

--- 0001/arch/arm/boot/dts/r8a7790-lager.dts
+++ work/arch/arm/boot/dts/r8a7790-lager.dts	2013-10-31 11:49:43.000000000 +0900
@@ -24,6 +24,11 @@
 		reg = <0 0x40000000 0 0x80000000>;
 	};
 
+	memory at 180000000 {
+		device_type = "memory";
+		reg = <1 0x80000000 0 0x80000000>;
+	};
+
 	lbsc {
 		#address-cells = <1>;
 		#size-cells = <1>;
```
