diff mbox

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

Message ID 1241640919-4650-8-git-send-email-wd@denx.de (mailing list archive)
State Changes Requested, archived
Delegated to: Grant Likely
Headers show

Commit Message

Wolfgang Denk May 6, 2009, 8:15 p.m. UTC
From: Piotr Ziecik <kosmo@semihalf.com>

- Removed unused properties.
- Corrected NAND flash chip size.

Signed-off-by: Piotr Ziecik <kosmo@semihalf.com>
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: John Rigby <jcrigby@gmail.com>
---
 arch/powerpc/boot/dts/mpc5121ads.dts |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

Comments

Grant Likely May 6, 2009, 9 p.m. UTC | #1
On Wed, May 6, 2009 at 2:15 PM, Wolfgang Denk <wd@denx.de> wrote:
> From: Piotr Ziecik <kosmo@semihalf.com>
>
> - Removed unused properties.
> - Corrected NAND flash chip size.
>
> Signed-off-by: Piotr Ziecik <kosmo@semihalf.com>
> Signed-off-by: Wolfgang Denk <wd@denx.de>
> Cc: Grant Likely <grant.likely@secretlab.ca>
> Cc: John Rigby <jcrigby@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@0 {
> -                       label = "nand0";
> -                       reg = <0x00000000 0x02000000>;  // first 32 MB of chip 0
> -               };
> -               nand1@20000000 {
> -                       label = "nand1";
> -                       reg = <0x20000000 0x02000000>;  // first 32 MB of chip 1
> +               nand@0 {
> +                       label = "nand";
> +                       reg = <0x00000000 0x40000000>;  // 512MB + 512MB
>                };
>        };
>
> --
> 1.6.0.6
>
>
diff mbox

Patch

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@0 {
-			label = "nand0";
-			reg = <0x00000000 0x02000000>; 	// first 32 MB of chip 0
-		};
-		nand1@20000000 {
-			label = "nand1";
-			reg = <0x20000000 0x02000000>; 	// first 32 MB of chip 1
+		nand@0 {
+			label = "nand";
+			reg = <0x00000000 0x40000000>;	// 512MB + 512MB
 		};
 	};