summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/am335x-sl50.dts
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2016-08-31 12:35:15 +0200
committerTony Lindgren <tony@atomide.com>2016-08-31 07:40:17 -0700
commit35852c68b2b216845da4f303c0b8c39547022f89 (patch)
tree0576891e94906b6199c07727e3a84f499d07cc3b /arch/arm/boot/dts/am335x-sl50.dts
parentc097338ebd3f7a0920dbe1a5d9bf276207f7b024 (diff)
downloadlinux-35852c68b2b216845da4f303c0b8c39547022f89.tar.bz2
ARM: am335x: Add missing memory node in sl50 board
The skeleton.dtsi file was removed in ARM64 for different reasons as explained in commit ("3ebee5a2e141 arm64: dts: kill skeleton.dtsi"). These also applies to ARM and it will also allow to get rid of the following DTC warnings in the future: "Node /memory has a reg or ranges property, but no unit name" But the sl50 board doesn't have a, so removing the skeleton.dtsi inclusion from am33xx.dtsi will cause a change in the compiled DTB. The board has 512 MiB of RAM and its starting address is 0x80000000, so add a proper memory device node in the DTS. Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am335x-sl50.dts')
-rw-r--r--arch/arm/boot/dts/am335x-sl50.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/am335x-sl50.dts b/arch/arm/boot/dts/am335x-sl50.dts
index f802adb23ff9..e3be7a6bf8f1 100644
--- a/arch/arm/boot/dts/am335x-sl50.dts
+++ b/arch/arm/boot/dts/am335x-sl50.dts
@@ -19,6 +19,11 @@
};
};
+ memory {
+ device_type = "memory";
+ reg = <0x80000000 0x20000000>; /* 512 MB */
+ };
+
chosen {
stdout-path = &uart0;
};