pxa3xx-nand.txt 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. PXA3xx NAND DT bindings
  2. Required properties:
  3. - compatible: Should be set to one of the following:
  4. marvell,pxa3xx-nand
  5. marvell,armada370-nand
  6. - reg: The register base for the controller
  7. - interrupts: The interrupt to map
  8. - #address-cells: Set to <1> if the node includes partitions
  9. Optional properties:
  10. - marvell,nand-enable-arbiter: Set to enable the bus arbiter
  11. - marvell,nand-keep-config: Set to keep the NAND controller config as set
  12. by the bootloader
  13. - num-cs: Number of chipselect lines to usw
  14. - nand-on-flash-bbt: boolean to enable on flash bbt option if
  15. not present false
  16. - nand-ecc-strength: number of bits to correct per ECC step
  17. - nand-ecc-step-size: number of data bytes covered by a single ECC step
  18. The following ECC strength and step size are currently supported:
  19. - nand-ecc-strength = <1>, nand-ecc-step-size = <512>
  20. - nand-ecc-strength = <4>, nand-ecc-step-size = <512>
  21. - nand-ecc-strength = <8>, nand-ecc-step-size = <512>
  22. Example:
  23. nand0: nand@43100000 {
  24. compatible = "marvell,pxa3xx-nand";
  25. reg = <0x43100000 90>;
  26. interrupts = <45>;
  27. #address-cells = <1>;
  28. marvell,nand-enable-arbiter;
  29. marvell,nand-keep-config;
  30. num-cs = <1>;
  31. /* partitions (optional) */
  32. };