[PATCH 07/12] mpc5121ads: Clean up and fix NAND description in mpc5121ads DTS.

Grant Likely grant.likely at secretlab.ca
Thu May 7 07:00:23 EST 2009


On Wed, May 6, 2009 at 2:15 PM, Wolfgang Denk <wd at denx.de> wrote:
> From: Piotr Ziecik <kosmo at semihalf.com>
>
> - Removed unused properties.
> - Corrected NAND flash chip size.
>
> Signed-off-by: Piotr Ziecik <kosmo at semihalf.com>
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> Cc: Grant Likely <grant.likely at secretlab.ca>
> Cc: John Rigby <jcrigby at gmail.com>

Looks okay to me.

g.

> ---
>  arch/powerpc/boot/dts/mpc5121ads.dts |   13 ++++---------
>  1 files changed, 4 insertions(+), 9 deletions(-)
>
> diff --git a/arch/powerpc/boot/dts/mpc5121ads.dts b/arch/powerpc/boot/dts/mpc5121ads.dts
> index 1b83a9d..93fe12a 100644
> --- a/arch/powerpc/boot/dts/mpc5121ads.dts
> +++ b/arch/powerpc/boot/dts/mpc5121ads.dts
> @@ -62,17 +62,12 @@
>                interrupt-parent = < &ipic >;
>                #address-cells = <1>;
>                #size-cells = <1>;
> -               bank-width = <1>;
>                // ADS has two Hynix 512MB Nand flash chips in a single
> -               // stacked package .
> +               // stacked package.
>                chips = <2>;
> -               nand0 at 0 {
> -                       label = "nand0";
> -                       reg = <0x00000000 0x02000000>;  // first 32 MB of chip 0
> -               };
> -               nand1 at 20000000 {
> -                       label = "nand1";
> -                       reg = <0x20000000 0x02000000>;  // first 32 MB of chip 1
> +               nand at 0 {
> +                       label = "nand";
> +                       reg = <0x00000000 0x40000000>;  // 512MB + 512MB
>                };
>        };
>
> --
> 1.6.0.6
>
>



-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.



More information about the Linuxppc-dev mailing list