diff options
author | Sebastian Reichel <sre@debian.org> | 2013-10-22 18:49:39 -0400 |
---|---|---|
committer | Benoit Cousson <bcousson@baylibre.com> | 2013-10-23 04:14:12 -0400 |
commit | 8699d2dd21807bd8c8a6315060146b877675b58c (patch) | |
tree | 53980ba0b316f622aa044182f265215f10d17dca /arch/arm/boot | |
parent | 9cdbbadd11643778f9a6b5df9aa05e365daf9ad1 (diff) |
ARM: dts: omap3-n900: Add NAND support
This patch adds supports for Nokia N900 NAND memory.
Signed-off-by: Sebastian Reichel <sre@debian.org>
Signed-off-by: Benoit Cousson <bcousson@baylibre.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/omap3-n900.dts | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 0a45af3ec97e..999a80c7a4c9 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts | |||
@@ -273,6 +273,78 @@ | |||
273 | status = "disabled"; | 273 | status = "disabled"; |
274 | }; | 274 | }; |
275 | 275 | ||
276 | &gpmc { | ||
277 | ranges = <0 0 0x04000000 0x10000000>; /* 256MB */ | ||
278 | |||
279 | /* gpio-irq for dma: 65 */ | ||
280 | |||
281 | onenand@0,0 { | ||
282 | #address-cells = <1>; | ||
283 | #size-cells = <1>; | ||
284 | reg = <0 0 0x10000000>; | ||
285 | |||
286 | gpmc,sync-read; | ||
287 | gpmc,sync-write; | ||
288 | gpmc,burst-length = <16>; | ||
289 | gpmc,burst-read; | ||
290 | gpmc,burst-wrap; | ||
291 | gpmc,burst-write; | ||
292 | gpmc,device-width = <2>; /* GPMC_DEVWIDTH_16BIT */ | ||
293 | gpmc,mux-add-data = <2>; /* GPMC_MUX_AD */ | ||
294 | gpmc,cs-on-ns = <0>; | ||
295 | gpmc,cs-rd-off-ns = <87>; | ||
296 | gpmc,cs-wr-off-ns = <87>; | ||
297 | gpmc,adv-on-ns = <0>; | ||
298 | gpmc,adv-rd-off-ns = <10>; | ||
299 | gpmc,adv-wr-off-ns = <10>; | ||
300 | gpmc,oe-on-ns = <15>; | ||
301 | gpmc,oe-off-ns = <87>; | ||
302 | gpmc,we-on-ns = <0>; | ||
303 | gpmc,we-off-ns = <87>; | ||
304 | gpmc,rd-cycle-ns = <112>; | ||
305 | gpmc,wr-cycle-ns = <112>; | ||
306 | gpmc,access-ns = <81>; | ||
307 | gpmc,page-burst-access-ns = <15>; | ||
308 | gpmc,bus-turnaround-ns = <0>; | ||
309 | gpmc,cycle2cycle-delay-ns = <0>; | ||
310 | gpmc,wait-monitoring-ns = <0>; | ||
311 | gpmc,clk-activation-ns = <5>; | ||
312 | gpmc,wr-data-mux-bus-ns = <30>; | ||
313 | gpmc,wr-access-ns = <81>; | ||
314 | gpmc,sync-clk-ps = <15000>; | ||
315 | |||
316 | /* | ||
317 | * MTD partition table corresponding to Nokia's | ||
318 | * Maemo 5 (Fremantle) release. | ||
319 | */ | ||
320 | partition@0 { | ||
321 | label = "bootloader"; | ||
322 | reg = <0x00000000 0x00020000>; | ||
323 | read-only; | ||
324 | }; | ||
325 | partition@1 { | ||
326 | label = "config"; | ||
327 | reg = <0x00020000 0x00060000>; | ||
328 | }; | ||
329 | partition@2 { | ||
330 | label = "log"; | ||
331 | reg = <0x00080000 0x00040000>; | ||
332 | }; | ||
333 | partition@3 { | ||
334 | label = "kernel"; | ||
335 | reg = <0x000c0000 0x00200000>; | ||
336 | }; | ||
337 | partition@4 { | ||
338 | label = "initfs"; | ||
339 | reg = <0x002c0000 0x00200000>; | ||
340 | }; | ||
341 | partition@5 { | ||
342 | label = "rootfs"; | ||
343 | reg = <0x004c0000 0x0fb40000>; | ||
344 | }; | ||
345 | }; | ||
346 | }; | ||
347 | |||
276 | &mcspi1 { | 348 | &mcspi1 { |
277 | /* | 349 | /* |
278 | * For some reason, touchscreen is necessary for screen to work at | 350 | * For some reason, touchscreen is necessary for screen to work at |