summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLei Xu <B33228@freescale.com>2011-05-23 18:48:58 +0800
committerKumar Gala <galak@kernel.crashing.org>2011-06-27 08:31:09 -0500
commit045e1690b515f8b707f9e142d12458045a01b5d1 (patch)
tree5bbe2aaeb6f789055ff4877dbb88096f83ff04dc
parent08871c097ea5a11c95146ba8310272571d2bbfc4 (diff)
powerpc/85xx: Update device tree to add nand info for p5020ds
Signed-off-by: Lei Xu <B33228@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r--arch/powerpc/boot/dts/p5020ds.dts39
1 files changed, 39 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/p5020ds.dts b/arch/powerpc/boot/dts/p5020ds.dts
index 419e20832fa..069cff7c2ea 100644
--- a/arch/powerpc/boot/dts/p5020ds.dts
+++ b/arch/powerpc/boot/dts/p5020ds.dts
@@ -579,6 +579,7 @@
#size-cells = <1>;
ranges = <0 0 0xf 0xe8000000 0x08000000
+ 2 0 0xf 0xffa00000 0x00040000
3 0 0xf 0xffdf0000 0x00008000>;
flash@0,0 {
@@ -588,6 +589,44 @@
device-width = <2>;
};
+ nand@2,0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "fsl,elbc-fcm-nand";
+ reg = <0x2 0x0 0x40000>;
+
+ partition@0 {
+ label = "NAND U-Boot Image";
+ reg = <0x0 0x02000000>;
+ read-only;
+ };
+
+ partition@2000000 {
+ label = "NAND Root File System";
+ reg = <0x02000000 0x10000000>;
+ };
+
+ partition@12000000 {
+ label = "NAND Compressed RFS Image";
+ reg = <0x12000000 0x08000000>;
+ };
+
+ partition@1a000000 {
+ label = "NAND Linux Kernel Image";
+ reg = <0x1a000000 0x04000000>;
+ };
+
+ partition@1e000000 {
+ label = "NAND DTB Image";
+ reg = <0x1e000000 0x01000000>;
+ };
+
+ partition@1f000000 {
+ label = "NAND Writable User area";
+ reg = <0x1f000000 0x21000000>;
+ };
+ };
+
board-control@3,0 {
compatible = "fsl,p5020ds-pixis";
reg = <3 0 0x20>;