gpmi-nand.txt 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. * Freescale General-Purpose Media Interface (GPMI)
  2. The GPMI nand controller provides an interface to control the
  3. NAND flash chips. We support only one NAND chip now.
  4. Required properties:
  5. - compatible : should be "fsl,<chip>-gpmi-nand"
  6. - reg : should contain registers location and length for gpmi and bch.
  7. - reg-names: Should contain the reg names "gpmi-nand" and "bch"
  8. - interrupts : BCH interrupt number.
  9. - interrupt-names : Should be "bch".
  10. - dmas: DMA specifier, consisting of a phandle to DMA controller node
  11. and GPMI DMA channel ID.
  12. Refer to dma.txt and fsl-mxs-dma.txt for details.
  13. - dma-names: Must be "rx-tx".
  14. Optional properties:
  15. - nand-on-flash-bbt: boolean to enable on flash bbt option if not
  16. present false
  17. The device tree may optionally contain sub-nodes describing partitions of the
  18. address space. See partition.txt for more detail.
  19. Examples:
  20. gpmi-nand@8000c000 {
  21. compatible = "fsl,imx28-gpmi-nand";
  22. #address-cells = <1>;
  23. #size-cells = <1>;
  24. reg = <0x8000c000 2000>, <0x8000a000 2000>;
  25. reg-names = "gpmi-nand", "bch";
  26. interrupts = <41>;
  27. interrupt-names = "bch";
  28. dmas = <&dma_apbh 4>;
  29. dma-names = "rx-tx";
  30. partition@0 {
  31. ...
  32. };
  33. };