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

Valentine Barshak vbarshak at ru.mvista.com
Tue Oct 30 07:23:59 EST 2007


NDFC DTS entry for PowerPC 440EPx Sequoia board.

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

diff -pruN linux-2.6.orig/arch/powerpc/boot/dts/sequoia.dts linux-2.6/arch/powerpc/boot/dts/sequoia.dts
--- linux-2.6.orig/arch/powerpc/boot/dts/sequoia.dts	2007-10-29 16:02:11.000000000 +0300
+++ linux-2.6/arch/powerpc/boot/dts/sequoia.dts	2007-10-29 18:59:11.000000000 +0300
@@ -141,6 +141,29 @@
 				interrupts = <5 1>;
 				interrupt-parent = <&UIC1>;
 
+				ndfc at 0,0 {
+					compatible = "ibm,ndfc-440epx", "ibm,ndfc";
+					reg = <3 000000 2000>;
+					ndfc-mtd0 {
+						bank-settings = <80002222>;
+						bank-map = <3>;
+						chip-delay = <32>;
+						#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 Linuxppc-dev mailing list