Patchwork powerpc/83xx: add NAND support for the MPC8360E-RDK boards

login
register
mail settings
Submitter Anton Vorontsov
Date Oct. 10, 2008, 6:05 p.m.
Message ID <20081010180512.GA3554@oksana.dev.rtsoft.ru>
Download mbox | patch
Permalink /patch/3842/
State Accepted, archived
Commit 1fb25be1e74498d389e4de819a6d1b174d6ccb7c
Delegated to: Kumar Gala
Headers show

Comments

Anton Vorontsov - Oct. 10, 2008, 6:05 p.m.
The StMicro NAND chip (512Mbit, 64MB) is connected to the local bus,
the first local bus' user-programmable machine is configured by the
firmware to work with NAND chips.

QE GPIO pin is used to poll the NAND's Ready-Not-Busy signal.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
---
 arch/powerpc/boot/dts/mpc836x_rdk.dts |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
Kumar Gala - Oct. 13, 2008, 4:44 p.m.
On Oct 10, 2008, at 1:05 PM, Anton Vorontsov wrote:

> The StMicro NAND chip (512Mbit, 64MB) is connected to the local bus,
> the first local bus' user-programmable machine is configured by the
> firmware to work with NAND chips.
>
> QE GPIO pin is used to poll the NAND's Ready-Not-Busy signal.
>
> Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
> ---
> arch/powerpc/boot/dts/mpc836x_rdk.dts |   12 ++++++++++++
> 1 files changed, 12 insertions(+), 0 deletions(-)


applied.

- k

Patch

diff --git a/arch/powerpc/boot/dts/mpc836x_rdk.dts b/arch/powerpc/boot/dts/mpc836x_rdk.dts
index b4f3a17..10237dc 100644
--- a/arch/powerpc/boot/dts/mpc836x_rdk.dts
+++ b/arch/powerpc/boot/dts/mpc836x_rdk.dts
@@ -398,6 +398,18 @@ 
 			device-width = <1>;
 		};
 
+		upm@1,0 {
+			compatible = "fsl,upm-nand";
+			reg = <1 0 1>;
+			fsl,upm-addr-offset = <16>;
+			fsl,upm-cmd-offset = <8>;
+			gpios = <&qe_pio_e 18 0>;
+
+			flash {
+				compatible = "stm,nand512-a";
+			};
+		};
+
 		display@2,0 {
 			device_type = "display";
 			compatible = "fujitsu,MB86277", "fujitsu,mint";