powerpc/83xx: add NAND support for the MPC8360E-RDK boards
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Fri, 10 Oct 2008 18:05:12 +0000 (22:05 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 13 Oct 2008 16:11:20 +0000 (11:11 -0500)
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>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/boot/dts/mpc836x_rdk.dts

index f747747e5318e78918a52f06bc438ddaff5c1afe..decadf3d9e989e935faa898c3d56d5d0676531e1 100644 (file)
                        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";