Subject: Re: [PATCH 2/4] [POWERPC] 85xx: support for the TQM8548 module using the big Flash

From: Anton Vorontsov <[email-masked]>
Date: Fri, 30 May 2008 16:28:13 +0400

On Fri, May 30, 2008 at 08:49:46AM +0200, Wolfgang Grandegger wrote:
> Some TQM85xx boards could be equipped with up to 1 GiB (NOR) flash
> memory and therefore a modified memory map is required and setup by
> the board loader. This patch adds an appropriate DTS file.
> 
> Signed-off-by: Wolfgang Grandegger <[email-masked]>
> ---
[...]
> +/* NAND support must be enabled in U-Boot before Linux can use it

nand/fsl_upm.c can detect this in run-time. That is, if BRx/ORx aren't
configured, fsl_upm_find() will return ENODEV/ENOENT/EINVAL, depending
on what exactly is mis-configured.

> +		upm@3,0 {
> +			#address-cells = <0>;
> +			#size-cells = <0>;
> +			compatible = "fsl,upm-nand";
> +			reg = <3 0x0 0x800>;
> +			fsl,upm-addr-offset = <0x10>;
> +			fsl,upm-cmd-offset = <0x08>;
> +			chip-delay = <25>; // in micro-seconds
> +
> +			nand@0 {
> +				#address-cells = <1>;
> +				#size-cells = <1>;
> +
> +				partition@0 {
> +					    label = "fs";
> +					    reg = <0x00000000 0x01000000>;
> +				};
> +			};
> +		};
> +*/
> +	};

-- 
Anton Vorontsov
email: [email-masked]
irc://irc.freenode.net/bd2