ARM: tegra: Work safely with 256 MB Colibri-T20 modules
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 9 Jul 2018 16:05:19 +0000 (18:05 +0200)
committerThierry Reding <treding@nvidia.com>
Mon, 9 Jul 2018 16:50:53 +0000 (18:50 +0200)
commit8ab11f8068ef57e5763e1cc91b3dfe23a2482e68
treed77fd31acfe4e2e90bed59c28e964911017cf4ce
parent35a21229f8e0b461b1db7ab96a4ef390b42b13d2
ARM: tegra: Work safely with 256 MB Colibri-T20 modules

Colibri-T20 can come in 256 MB RAM (with 512 MB NAND) or 512 MB RAM
(with 1024 MB NAND) flavors.  Both of them will use the same DTSI
expecting the bootloader to do the fixup of /memory node.  However in
case it does not happen, let's stay on safe side by limiting the memory
to 256 MB for both versions of Colibri-T20.

Rename to remove the unnecessary memory size from the device tree file
name.  While at it, also follow the typical Toradex SoC, module, carrier
board hierarchy.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Tested-by: Stefan Agner <stefan@agner.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/tegra20-colibri-iris.dts [moved from arch/arm/boot/dts/tegra20-iris-512.dts with 95% similarity]
arch/arm/boot/dts/tegra20-colibri.dtsi [moved from arch/arm/boot/dts/tegra20-colibri-512.dtsi with 98% similarity]