Commit 91e723c6 authored by Javier Martinez Canillas's avatar Javier Martinez Canillas Committed by Krzysztof Kozlowski

ARM: dts: exynos: Add missing memory node for Exynos5440 boards

The skeleton.dtsi file was removed in ARM64 for different reasons as
explained in commit ("3ebee5a2 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 these boards don't have a memory node defined, so removing the
skeleton.dtsi inclusion in exynos5440.dtsi will cause a change in
the compiled DTB. Add a dummy memory node so the compiled DTB does
not change if the skeleton.dtsi is removed from exynos5440.dtsi.

Eventually the correct starting addresses and sizes should be used
but I didn't find that information.
Signed-off-by: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parent 47aabaf5
...@@ -20,6 +20,12 @@ chosen { ...@@ -20,6 +20,12 @@ chosen {
bootargs = "root=/dev/sda2 rw rootwait ignore_loglevel earlyprintk no_console_suspend mem=2048M@0x80000000 mem=6144M@0x100000000 console=ttySAC0,115200"; bootargs = "root=/dev/sda2 rw rootwait ignore_loglevel earlyprintk no_console_suspend mem=2048M@0x80000000 mem=6144M@0x100000000 console=ttySAC0,115200";
}; };
/* FIXME: set reg property with correct start address and size */
memory {
device_type = "memory";
reg = <0 0>;
};
fixed-rate-clocks { fixed-rate-clocks {
xtal { xtal {
compatible = "samsung,clock-xtal"; compatible = "samsung,clock-xtal";
......
...@@ -21,6 +21,12 @@ chosen { ...@@ -21,6 +21,12 @@ chosen {
bootargs = "root=/dev/sda2 rw rootwait ignore_loglevel earlyprintk no_console_suspend mem=2048M@0x80000000 mem=6144M@0x100000000 console=ttySAC0,115200"; bootargs = "root=/dev/sda2 rw rootwait ignore_loglevel earlyprintk no_console_suspend mem=2048M@0x80000000 mem=6144M@0x100000000 console=ttySAC0,115200";
}; };
/* FIXME: set reg property with correct start address and size */
memory {
device_type = "memory";
reg = <0 0>;
};
fixed-rate-clocks { fixed-rate-clocks {
xtal { xtal {
compatible = "samsung,clock-xtal"; compatible = "samsung,clock-xtal";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment