diff options
author | Pekon Gupta <pekon@ti.com> | 2014-02-05 08:28:31 -0500 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2014-03-02 13:15:53 -0500 |
commit | 91994facdd2d71f050ee199f508dcc15e7a3a29f (patch) | |
tree | a2f469d2bc31cd1647e5c810695c030c93b424c5 /arch/arm/boot/dts/am335x-evm.dts | |
parent | 0611c41934ab35ce84dea34ab291897ad3cbc7be (diff) |
ARM: dts: am335x-evm: NAND: update MTD partition table
This patch has following updates, specific to MTD/NAND DT
- update MTD NAND partition table to keep compatibility between
different boards and mainline u-boot.
- prefix 'NAND.' in names of NAND device MTD partitions to differentiate them
from other MTD device partitions (like NOR and QSPI)
Partition_Name Partition_Size
/dev/mtd0 NAND.SPL 1 block-size*
/dev/mtd1 NAND.SPL.backup1 1 block-size*
/dev/mtd2 NAND.SPL.backup2 1 block-size*
/dev/mtd3 NAND.SPL.backup3 1 block-size*
/dev/mtd5 NAND.u-boot-spl-os 2 block-size* [for falcon boot]
/dev/mtd4 NAND.u-boot 1 MB
/dev/mtd6 NAND.u-boot-env 1 block-size*
/dev/mtd7 NAND.u-boot-env.backup1 1 block-size*
/dev/mtd8 NAND.kernel till 0xA00000
/dev/mtd9 NAND.file-system till end of device
* am335x-evm uses NAND device with block-size=128KiB
Signed-off-by: Pekon Gupta <pekon@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/am335x-evm.dts')
-rw-r--r-- | arch/arm/boot/dts/am335x-evm.dts | 48 |
1 files changed, 25 insertions, 23 deletions
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts index 7e6c64ed966d..17c3cc0890ac 100644 --- a/arch/arm/boot/dts/am335x-evm.dts +++ b/arch/arm/boot/dts/am335x-evm.dts | |||
@@ -460,50 +460,52 @@ | |||
460 | gpmc,wait-monitoring-ns = <0>; | 460 | gpmc,wait-monitoring-ns = <0>; |
461 | gpmc,wr-access-ns = <40>; | 461 | gpmc,wr-access-ns = <40>; |
462 | gpmc,wr-data-mux-bus-ns = <0>; | 462 | gpmc,wr-data-mux-bus-ns = <0>; |
463 | |||
464 | #address-cells = <1>; | ||
465 | #size-cells = <1>; | ||
466 | elm_id = <&elm>; | 463 | elm_id = <&elm>; |
467 | |||
468 | /* MTD partition table */ | 464 | /* MTD partition table */ |
465 | /* All SPL-* partitions are sized to minimal length | ||
466 | * which can be independently programmable. For | ||
467 | * NAND flash this is equal to size of erase-block */ | ||
468 | #address-cells = <1>; | ||
469 | #size-cells = <1>; | ||
469 | partition@0 { | 470 | partition@0 { |
470 | label = "SPL1"; | 471 | label = "NAND.SPL"; |
471 | reg = <0x00000000 0x000020000>; | 472 | reg = <0x00000000 0x000020000>; |
472 | }; | 473 | }; |
473 | |||
474 | partition@1 { | 474 | partition@1 { |
475 | label = "SPL2"; | 475 | label = "NAND.SPL.backup1"; |
476 | reg = <0x00020000 0x00020000>; | 476 | reg = <0x00020000 0x00020000>; |
477 | }; | 477 | }; |
478 | |||
479 | partition@2 { | 478 | partition@2 { |
480 | label = "SPL3"; | 479 | label = "NAND.SPL.backup2"; |
481 | reg = <0x00040000 0x00020000>; | 480 | reg = <0x00040000 0x00020000>; |
482 | }; | 481 | }; |
483 | |||
484 | partition@3 { | 482 | partition@3 { |
485 | label = "SPL4"; | 483 | label = "NAND.SPL.backup3"; |
486 | reg = <0x00060000 0x00020000>; | 484 | reg = <0x00060000 0x00020000>; |
487 | }; | 485 | }; |
488 | |||
489 | partition@4 { | 486 | partition@4 { |
490 | label = "U-boot"; | 487 | label = "NAND.u-boot-spl"; |
491 | reg = <0x00080000 0x001e0000>; | 488 | reg = <0x00080000 0x00040000>; |
492 | }; | 489 | }; |
493 | |||
494 | partition@5 { | 490 | partition@5 { |
495 | label = "environment"; | 491 | label = "NAND.u-boot"; |
496 | reg = <0x00260000 0x00020000>; | 492 | reg = <0x000C0000 0x00100000>; |
497 | }; | 493 | }; |
498 | |||
499 | partition@6 { | 494 | partition@6 { |
500 | label = "Kernel"; | 495 | label = "NAND.u-boot-env"; |
501 | reg = <0x00280000 0x00500000>; | 496 | reg = <0x001C0000 0x00020000>; |
502 | }; | 497 | }; |
503 | |||
504 | partition@7 { | 498 | partition@7 { |
505 | label = "File-System"; | 499 | label = "NAND.u-boot-env.backup1"; |
506 | reg = <0x00780000 0x0F880000>; | 500 | reg = <0x001E0000 0x00020000>; |
501 | }; | ||
502 | partition@8 { | ||
503 | label = "NAND.kernel"; | ||
504 | reg = <0x00200000 0x00800000>; | ||
505 | }; | ||
506 | partition@9 { | ||
507 | label = "NAND.file-system"; | ||
508 | reg = <0x00A00000 0x0F600000>; | ||
507 | }; | 509 | }; |
508 | }; | 510 | }; |
509 | }; | 511 | }; |