pxa3xx-nand.txt 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. - dmas: dma data channel, see dma.txt binding doc
  11. - marvell,nand-enable-arbiter: Set to enable the bus arbiter
  12. - marvell,nand-keep-config: Set to keep the NAND controller config as set
  13. by the bootloader
  14. - num-cs: Number of chipselect lines to use
  15. - nand-on-flash-bbt: boolean to enable on flash bbt option if
  16. not present false
  17. - nand-ecc-strength: number of bits to correct per ECC step
  18. - nand-ecc-step-size: number of data bytes covered by a single ECC step
  19. The following ECC strength and step size are currently supported:
  20. - nand-ecc-strength = <1>, nand-ecc-step-size = <512>
  21. - nand-ecc-strength = <4>, nand-ecc-step-size = <512>
  22. - nand-ecc-strength = <8>, nand-ecc-step-size = <512>
  23. Example:
  24. nand0: nand@43100000 {
  25. compatible = "marvell,pxa3xx-nand";
  26. reg = <0x43100000 90>;
  27. interrupts = <45>;
  28. dmas = <&pdma 97 0>;
  29. dma-names = "data";
  30. #address-cells = <1>;
  31. marvell,nand-enable-arbiter;
  32. marvell,nand-keep-config;
  33. num-cs = <1>;
  34. /* partitions (optional) */
  35. };