From: Anton Vorontsov Date: Fri, 10 Oct 2008 18:05:12 +0000 (+0400) Subject: powerpc/83xx: add NAND support for the MPC8360E-RDK boards X-Git-Tag: v2.6.28-rc1~569^2~10^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1fb25be1e74498d389e4de819a6d1b174d6ccb7c;p=linux-2.6-omap-h63xx.git powerpc/83xx: add NAND support for the MPC8360E-RDK boards 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 Signed-off-by: Kumar Gala --- diff --git a/arch/powerpc/boot/dts/mpc836x_rdk.dts b/arch/powerpc/boot/dts/mpc836x_rdk.dts index f747747e531..decadf3d9e9 100644 --- a/arch/powerpc/boot/dts/mpc836x_rdk.dts +++ b/arch/powerpc/boot/dts/mpc836x_rdk.dts @@ -387,6 +387,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";