powerpc/85xx: Update device tree to add nand info for p3041ds
authorLei Xu <B33228@freescale.com>
Mon, 23 May 2011 10:49:00 +0000 (18:49 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 27 Jun 2011 13:31:10 +0000 (08:31 -0500)
Signed-off-by: Lei Xu <B33228@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/boot/dts/p3041ds.dts

index 17735718f74dd85c22c9c7f547efaab9b115fa68..c2a1e3a6ae04c16abba42631e4041e4a4df4602b 100644 (file)
                #size-cells = <1>;
 
                ranges = <0 0 0xf 0xe8000000 0x08000000
+                         2 0 0xf 0xffa00000 0x00040000
                          3 0 0xf 0xffdf0000 0x00008000>;
 
                flash@0,0 {
                        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,p3041ds-pixis";
                        reg = <3 0 0x20>;