ARM: tegra: Work safely with 256 MB Colibri-T20 modules
[platform/kernel/linux-rpi.git] / arch / arm / boot / dts / tegra20-colibri.dtsi
similarity index 98%
rename from arch/arm/boot/dts/tegra20-colibri-512.dtsi
rename to arch/arm/boot/dts/tegra20-colibri.dtsi
index 5623ff8..dc06b23 100644 (file)
@@ -2,7 +2,7 @@
 #include "tegra20.dtsi"
 
 / {
-       model = "Toradex Colibri T20 512MB";
+       model = "Toradex Colibri T20 256/512 MB";
        compatible = "toradex,colibri_t20-512", "nvidia,tegra20";
 
        aliases {
        };
 
        memory@0 {
-               reg = <0x00000000 0x20000000>;
+               /*
+                * Set memory to 256 MB to be safe as this could be used on
+                * 256 or 512 MB module. It is expected from bootloader
+                * to fix this up for 512 MB version.
+                */
+               reg = <0x00000000 0x10000000>;
        };
 
        host1x@50000000 {