diff options
author | Shaohui Xie <Shaohui.Xie@freescale.com> | 2012-06-29 05:41:11 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2012-07-10 08:07:21 -0400 |
commit | aeccf8983e002557aa7728c0678c1dd6d9027193 (patch) | |
tree | 2d3e0174d935f97189f6283de4240b275c8c5253 | |
parent | b048b4e17cbb5c70dd57858a946881dbb73caa99 (diff) |
powerpc/p2041rdb: add NAND node in device tree
NAND on p2041 uses CS1 as chip select.
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r-- | arch/powerpc/boot/dts/p2041rdb.dts | 41 |
1 files changed, 40 insertions, 1 deletions
diff --git a/arch/powerpc/boot/dts/p2041rdb.dts b/arch/powerpc/boot/dts/p2041rdb.dts index 285213976a7f..baab0347dab0 100644 --- a/arch/powerpc/boot/dts/p2041rdb.dts +++ b/arch/powerpc/boot/dts/p2041rdb.dts | |||
@@ -121,7 +121,8 @@ | |||
121 | 121 | ||
122 | lbc: localbus@ffe124000 { | 122 | lbc: localbus@ffe124000 { |
123 | reg = <0xf 0xfe124000 0 0x1000>; | 123 | reg = <0xf 0xfe124000 0 0x1000>; |
124 | ranges = <0 0 0xf 0xe8000000 0x08000000>; | 124 | ranges = <0 0 0xf 0xe8000000 0x08000000 |
125 | 1 0 0xf 0xffa00000 0x00040000>; | ||
125 | 126 | ||
126 | flash@0,0 { | 127 | flash@0,0 { |
127 | compatible = "cfi-flash"; | 128 | compatible = "cfi-flash"; |
@@ -129,6 +130,44 @@ | |||
129 | bank-width = <2>; | 130 | bank-width = <2>; |
130 | device-width = <2>; | 131 | device-width = <2>; |
131 | }; | 132 | }; |
133 | |||
134 | nand@1,0 { | ||
135 | #address-cells = <1>; | ||
136 | #size-cells = <1>; | ||
137 | compatible = "fsl,elbc-fcm-nand"; | ||
138 | reg = <0x1 0x0 0x40000>; | ||
139 | |||
140 | partition@0 { | ||
141 | label = "NAND U-Boot Image"; | ||
142 | reg = <0x0 0x02000000>; | ||
143 | read-only; | ||
144 | }; | ||
145 | |||
146 | partition@2000000 { | ||
147 | label = "NAND Root File System"; | ||
148 | reg = <0x02000000 0x10000000>; | ||
149 | }; | ||
150 | |||
151 | partition@12000000 { | ||
152 | label = "NAND Compressed RFS Image"; | ||
153 | reg = <0x12000000 0x08000000>; | ||
154 | }; | ||
155 | |||
156 | partition@1a000000 { | ||
157 | label = "NAND Linux Kernel Image"; | ||
158 | reg = <0x1a000000 0x04000000>; | ||
159 | }; | ||
160 | |||
161 | partition@1e000000 { | ||
162 | label = "NAND DTB Image"; | ||
163 | reg = <0x1e000000 0x01000000>; | ||
164 | }; | ||
165 | |||
166 | partition@1f000000 { | ||
167 | label = "NAND Writable User area"; | ||
168 | reg = <0x1f000000 0x01000000>; | ||
169 | }; | ||
170 | }; | ||
132 | }; | 171 | }; |
133 | 172 | ||
134 | pci0: pcie@ffe200000 { | 173 | pci0: pcie@ffe200000 { |