|
370 | 370 | compatible = "ti,omap2-onenand";
|
371 | 371 | reg = <0 0 0x20000>; /* CS0, offset 0, IO size 128K */
|
372 | 372 |
|
| 373 | + /* |
| 374 | + * These timings are based on CONFIG_OMAP_GPMC_DEBUG=y reported |
| 375 | + * bootloader set values when booted with v4.19 using both N950 |
| 376 | + * and N9 devices (OneNAND Manufacturer: Samsung): |
| 377 | + * |
| 378 | + * gpmc cs0 before gpmc_cs_program_settings: |
| 379 | + * cs0 GPMC_CS_CONFIG1: 0xfd001202 |
| 380 | + * cs0 GPMC_CS_CONFIG2: 0x00181800 |
| 381 | + * cs0 GPMC_CS_CONFIG3: 0x00030300 |
| 382 | + * cs0 GPMC_CS_CONFIG4: 0x18001804 |
| 383 | + * cs0 GPMC_CS_CONFIG5: 0x03171d1d |
| 384 | + * cs0 GPMC_CS_CONFIG6: 0x97080000 |
| 385 | + */ |
373 | 386 | gpmc,sync-read;
|
374 | 387 | gpmc,sync-write;
|
375 | 388 | gpmc,burst-length = <16>;
|
|
379 | 392 | gpmc,device-width = <2>;
|
380 | 393 | gpmc,mux-add-data = <2>;
|
381 | 394 | gpmc,cs-on-ns = <0>;
|
382 |
| - gpmc,cs-rd-off-ns = <87>; |
383 |
| - gpmc,cs-wr-off-ns = <87>; |
| 395 | + gpmc,cs-rd-off-ns = <122>; |
| 396 | + gpmc,cs-wr-off-ns = <122>; |
384 | 397 | gpmc,adv-on-ns = <0>;
|
385 |
| - gpmc,adv-rd-off-ns = <10>; |
386 |
| - gpmc,adv-wr-off-ns = <10>; |
387 |
| - gpmc,oe-on-ns = <15>; |
388 |
| - gpmc,oe-off-ns = <87>; |
| 398 | + gpmc,adv-rd-off-ns = <15>; |
| 399 | + gpmc,adv-wr-off-ns = <15>; |
| 400 | + gpmc,oe-on-ns = <20>; |
| 401 | + gpmc,oe-off-ns = <122>; |
389 | 402 | gpmc,we-on-ns = <0>;
|
390 |
| - gpmc,we-off-ns = <87>; |
391 |
| - gpmc,rd-cycle-ns = <112>; |
392 |
| - gpmc,wr-cycle-ns = <112>; |
393 |
| - gpmc,access-ns = <81>; |
| 403 | + gpmc,we-off-ns = <122>; |
| 404 | + gpmc,rd-cycle-ns = <148>; |
| 405 | + gpmc,wr-cycle-ns = <148>; |
| 406 | + gpmc,access-ns = <117>; |
394 | 407 | gpmc,page-burst-access-ns = <15>;
|
395 | 408 | gpmc,bus-turnaround-ns = <0>;
|
396 | 409 | gpmc,cycle2cycle-delay-ns = <0>;
|
397 | 410 | gpmc,wait-monitoring-ns = <0>;
|
398 |
| - gpmc,clk-activation-ns = <5>; |
399 |
| - gpmc,wr-data-mux-bus-ns = <30>; |
400 |
| - gpmc,wr-access-ns = <81>; |
401 |
| - gpmc,sync-clk-ps = <15000>; |
| 411 | + gpmc,clk-activation-ns = <10>; |
| 412 | + gpmc,wr-data-mux-bus-ns = <40>; |
| 413 | + gpmc,wr-access-ns = <117>; |
| 414 | + |
| 415 | + gpmc,sync-clk-ps = <15000>; /* TBC; Where this value came? */ |
402 | 416 |
|
403 | 417 | /*
|
404 | 418 | * MTD partition table corresponding to Nokia's MeeGo 1.2
|
|
0 commit comments