[PATCH] powerpc/85xx: Add localbus node in mpc8572ds dts file

Kumar Gala galak at kernel.crashing.org
Thu Dec 4 03:27:37 EST 2008


From: Haiying Wang <Haiying.Wang at freescale.com>

Also add NOR and NAND flash partitions for mpc8572ds board

Signed-off-by: Haiying Wang <Haiying.Wang at freescale.com>
Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
---
 arch/powerpc/boot/dts/mpc8572ds.dts |  113 +++++++++++++++++++++++++++++++++++
 1 files changed, 113 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/boot/dts/mpc8572ds.dts b/arch/powerpc/boot/dts/mpc8572ds.dts
index 4d374ce..13de3f7 100644
--- a/arch/powerpc/boot/dts/mpc8572ds.dts
+++ b/arch/powerpc/boot/dts/mpc8572ds.dts
@@ -64,6 +64,119 @@
 		reg = <0x0 0x0>;	// Filled by U-Boot
 	};
 
+	localbus at ffe05000 {
+		#address-cells = <2>;
+		#size-cells = <1>;
+		compatible = "fsl,mpc8572-elbc", "fsl,elbc", "simple-bus";
+		reg = <0xffe05000 0x1000>;
+		interrupts = <19 2>;
+		interrupt-parent = <&mpic>;
+
+		ranges = <0x0 0x0 0xe8000000 0x08000000
+			  0x1 0x0 0xe0000000 0x08000000
+			  0x2 0x0 0xffa00000 0x00040000
+			  0x3 0x0 0xffdf0000 0x00008000
+			  0x4 0x0 0xffa40000 0x00040000
+			  0x5 0x0 0xffa80000 0x00040000
+			  0x6 0x0 0xffac0000 0x00040000>;
+
+		nor at 0,0 {
+			#address-cells = <1>;
+			#size-cells = <1>;
+			compatible = "cfi-flash";
+			reg = <0x0 0x0 0x8000000>;
+			bank-width = <2>;
+			device-width = <1>;
+
+			ramdisk at 0 {
+				reg = <0x0 0x03000000>;
+				readl-only;
+			};
+
+			diagnostic at 3000000 {
+				reg = <0x03000000 0x00e00000>;
+				read-only;
+			};
+
+			dink at 3e00000 {
+				reg = <0x03e00000 0x00200000>;
+				read-only;
+			};
+
+			kernel at 4000000 {
+				reg = <0x04000000 0x00400000>;
+				read-only;
+			};
+
+			jffs2 at 4400000 {
+				reg = <0x04400000 0x03b00000>;
+			};
+
+			dtb at 7f00000 {
+				reg = <0x07f00000 0x00080000>;
+				read-only;
+			};
+
+			u-boot at 7f80000 {
+				reg = <0x07f80000 0x00080000>;
+				read-only;
+			};
+		};
+
+		nand at 2,0 {
+			#address-cells = <1>;
+			#size-cells = <1>;
+			compatible = "fsl,mpc8572-fcm-nand",
+				     "fsl,elbc-fcm-nand";
+			reg = <0x2 0x0 0x40000>;
+
+			u-boot at 0 {
+				reg = <0x0 0x02000000>;
+				read-only;
+			};
+
+			jffs2 at 2000000 {
+				reg = <0x02000000 0x10000000>;
+			};
+
+			ramdisk at 12000000 {
+				reg = <0x12000000 0x08000000>;
+				read-only;
+			};
+
+			kernel at 1a000000 {
+				reg = <0x1a000000 0x04000000>;
+			};
+
+			dtb at 1e000000 {
+				reg = <0x1e000000 0x01000000>;
+				read-only;
+			};
+
+			empty at 1f000000 {
+				reg = <0x1f000000 0x21000000>;
+			};
+		};
+
+		nand at 4,0 {
+			compatible = "fsl,mpc8572-fcm-nand",
+				     "fsl,elbc-fcm-nand";
+			reg = <0x4 0x0 0x40000>;
+		};
+
+		nand at 5,0 {
+			compatible = "fsl,mpc8572-fcm-nand",
+				     "fsl,elbc-fcm-nand";
+			reg = <0x5 0x0 0x40000>;
+		};
+
+		nand at 6,0 {
+			compatible = "fsl,mpc8572-fcm-nand",
+				     "fsl,elbc-fcm-nand";
+			reg = <0x6 0x0 0x40000>;
+		};
+	};
+
 	soc8572 at ffe00000 {
 		#address-cells = <1>;
 		#size-cells = <1>;
-- 
1.5.6.5




More information about the Linuxppc-dev mailing list