ARM: dts: exynos: Add missing memory node for Exynos5440 boards
authorJavier Martinez Canillas <javier@osg.samsung.com>
Thu, 1 Sep 2016 09:06:50 +0000 (11:06 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Thu, 1 Sep 2016 16:25:11 +0000 (18:25 +0200)
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 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: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos5440-sd5v1.dts
arch/arm/boot/dts/exynos5440-ssdk5440.dts

index a98501b..afd21a4 100644 (file)
                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 {
                xtal {
                        compatible = "samsung,clock-xtal";
index 6a0d802..bdb3bf6 100644 (file)
                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 {
                xtal {
                        compatible = "samsung,clock-xtal";