From: Javier Martinez Canillas Date: Wed, 31 Aug 2016 10:35:15 +0000 (+0200) Subject: ARM: am335x: Add missing memory node in sl50 board X-Git-Tag: v5.15~12709^2~4^2~32 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=35852c68b2b216845da4f303c0b8c39547022f89;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/boot/dts/am335x-sl50.dts b/arch/arm/boot/dts/am335x-sl50.dts index f802adb2..e3be7a6 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; };