[PATCH 2/2] PowerPC: NDFC entry for PowerPC 440EPx Sequoia DTS

Valentine Barshak vbarshak at ru.mvista.com
Fri Oct 26 12:41:30 EDT 2007


NDFC (NAND Flash Controller) DTS entry for PowerPC 440EPx Sequoia board.
The NDFC is relocatable in EBC space.

Signed-off-by: Valentine Barshak <vbarshak at ru.mvista.com>
---
 arch/powerpc/boot/dts/sequoia.dts |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+)

diff -pruN linux-2.6.orig/arch/powerpc/boot/dts/sequoia.dts linux-2.6.bld/arch/powerpc/boot/dts/sequoia.dts
--- linux-2.6.orig/arch/powerpc/boot/dts/sequoia.dts	2007-10-22 18:33:07.000000000 +0400
+++ linux-2.6.bld/arch/powerpc/boot/dts/sequoia.dts	2007-10-22 22:19:42.000000000 +0400
 		POB0: opb {
 		  	compatible = "ibm,opb-440epx", "ibm,opb";
 			#address-cells = <1>;
@@ -141,6 +148,26 @@
 				interrupts = <5 1>;
 				interrupt-parent = <&UIC1>;
 
+				ndfc at 0,0 {
+					compatible = "ibm,ndfc-440epx", "ibm,ndfc";
+					reg = <3 000000 2000>;
+					bank-width = <1>;
+					bank-mask = <8>;
+					#address-cells = <1>;
+					#size-cells = <1>;
+					partition at 0 {
+						label = "u-boot-nand";
+						reg = <0 0080000>;
+					};
+					partition at 80000 {
+						label = "kernel-nand";
+						reg = <0080000 0180000>;
+					};
+					partition at 200000 {
+						label = "filesystem";
+						reg = <0200000 1e00000>;
+					};
+				};
 				nor_flash at 0,0 {
 					compatible = "amd,s29gl256n", "cfi-flash";
 					bank-width = <2>;



More information about the linux-mtd mailing list