orion-nand.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. NAND support for Marvell Orion SoC platforms
  2. Required properties:
  3. - compatible : "marvell,orion-nand".
  4. - reg : Base physical address of the NAND and length of memory mapped
  5. region
  6. Optional properties:
  7. - cle : Address line number connected to CLE. Default is 0
  8. - ale : Address line number connected to ALE. Default is 1
  9. - bank-width : Width in bytes of the device. Default is 1
  10. - chip-delay : Chip dependent delay for transferring data from array to read
  11. registers in usecs
  12. The device tree may optionally contain sub-nodes describing partitions of the
  13. address space. See partition.txt for more detail.
  14. Example:
  15. nand@f4000000 {
  16. #address-cells = <1>;
  17. #size-cells = <1>;
  18. cle = <0>;
  19. ale = <1>;
  20. bank-width = <1>;
  21. chip-delay = <25>;
  22. compatible = "marvell,orion-nand";
  23. reg = <0xf4000000 0x400>;
  24. partition@0 {
  25. label = "u-boot";
  26. reg = <0x0000000 0x100000>;
  27. read-only;
  28. };
  29. partition@100000 {
  30. label = "uImage";
  31. reg = <0x0100000 0x200000>;
  32. };
  33. partition@300000 {
  34. label = "dtb";
  35. reg = <0x0300000 0x100000>;
  36. };
  37. partition@400000 {
  38. label = "root";
  39. reg = <0x0400000 0x7d00000>;
  40. };
  41. };