nand.txt 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. * Texas Instruments Davinci NAND
  2. This file provides information, what the device node for the
  3. davinci nand interface contain.
  4. Required properties:
  5. - compatible: "ti,davinci-nand";
  6. - reg : contain 2 offset/length values:
  7. - offset and length for the access window
  8. - offset and length for accessing the aemif control registers
  9. - ti,davinci-chipselect: Indicates on the davinci_nand driver which
  10. chipselect is used for accessing the nand.
  11. Recommended properties :
  12. - ti,davinci-mask-ale: mask for ale
  13. - ti,davinci-mask-cle: mask for cle
  14. - ti,davinci-mask-chipsel: mask for chipselect
  15. - ti,davinci-ecc-mode: ECC mode valid values for davinci driver:
  16. - "none"
  17. - "soft"
  18. - "hw"
  19. - ti,davinci-ecc-bits: used ECC bits, currently supported 1 or 4.
  20. - ti,davinci-nand-buswidth: buswidth 8 or 16
  21. - ti,davinci-nand-use-bbt: use flash based bad block table support.
  22. nand device bindings may contain additional sub-nodes describing
  23. partitions of the address space. See partition.txt for more detail.
  24. Example(da850 EVM ):
  25. nand_cs3@62000000 {
  26. compatible = "ti,davinci-nand";
  27. reg = <0x62000000 0x807ff
  28. 0x68000000 0x8000>;
  29. ti,davinci-chipselect = <1>;
  30. ti,davinci-mask-ale = <0>;
  31. ti,davinci-mask-cle = <0>;
  32. ti,davinci-mask-chipsel = <0>;
  33. ti,davinci-ecc-mode = "hw";
  34. ti,davinci-ecc-bits = <4>;
  35. ti,davinci-nand-use-bbt;
  36. partition@180000 {
  37. label = "ubifs";
  38. reg = <0x180000 0x7e80000>;
  39. };
  40. };