[PATCH] PowerPC 44x: Add NOR flash entry to Canyonlands DTS.

Valentine Barshak vbarshak at ru.mvista.com
Fri Apr 18 05:37:44 EST 2008


This patch adds NOR flash entry to the PowerPC 460EX Canyonlands DTS.

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

diff -pruN powerpc/arch/powerpc/boot/dts/canyonlands.dts powerpc.new/arch/powerpc/boot/dts/canyonlands.dts
--- powerpc/arch/powerpc/boot/dts/canyonlands.dts	2008-04-14 22:07:26.000000000 +0400
+++ powerpc.new/arch/powerpc/boot/dts/canyonlands.dts	2008-04-17 23:07:39.000000000 +0400
@@ -144,6 +144,42 @@
 				clock-frequency = <0>; /* Filled in by U-Boot */
 				interrupts = <6 4>;
 				interrupt-parent = <&UIC1>;
+
+				nor_flash at 0,0 {
+					compatible = "amd,s29gl512n", "cfi-flash";
+					bank-width = <2>;
+					reg = <0 000000 4000000>;
+					#address-cells = <1>;
+					#size-cells = <1>;
+					partition at 0 {
+						label = "unavailable";
+						reg = <0 3000000>;
+					};
+					partition at 3000000 {
+						label = "kernel";
+						reg = <3000000 1e0000>;
+					};
+					partition at 31e0000 {
+						label = "fdt";
+						reg = <31e0000 20000>;
+					};
+					partition at 3200000 {
+						label = "ramdisk";
+						reg = <3200000 700000>;
+					};
+					partition at 3900000 {
+						label = "unused";
+						reg = <3900000 660000>;
+					};
+					partition at 3f60000 {
+						label = "env";
+						reg = <3f60000 40000>;
+					};
+					partition at 3fa0000 {
+						label = "u-boot";
+						reg = <3fa0000 60000>;
+					};
+				};				
 			};
 
 			UART0: serial at ef600300 {



More information about the Linuxppc-dev mailing list