[PATCH 2/4] [POWERPC] 85xx: support for the TQM8548 module using the big Flash
Anton Vorontsov
avorontsov at ru.mvista.com
Fri May 30 22:28:13 EST 2008
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 <wg at grandegger.com>
> ---
[...]
> +/* 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 at 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 at 0 {
> + #address-cells = <1>;
> + #size-cells = <1>;
> +
> + partition at 0 {
> + label = "fs";
> + reg = <0x00000000 0x01000000>;
> + };
> + };
> + };
> +*/
> + };
--
Anton Vorontsov
email: cbouatmailru at gmail.com
irc://irc.freenode.net/bd2
More information about the Linuxppc-dev
mailing list