gpmi-nand.txt 1.0 KB

123456789101112131415161718192021222324252627282930313233
  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 : The first is the DMA interrupt number for GPMI.
  9. The second is the BCH interrupt number.
  10. - interrupt-names : The interrupt names "gpmi-dma", "bch";
  11. - fsl,gpmi-dma-channel : Should contain the dma channel it uses.
  12. The device tree may optionally contain sub-nodes describing partitions of the
  13. address space. See partition.txt for more detail.
  14. Examples:
  15. gpmi-nand@8000c000 {
  16. compatible = "fsl,imx28-gpmi-nand";
  17. #address-cells = <1>;
  18. #size-cells = <1>;
  19. reg = <0x8000c000 2000>, <0x8000a000 2000>;
  20. reg-names = "gpmi-nand", "bch";
  21. interrupts = <88>, <41>;
  22. interrupt-names = "gpmi-dma", "bch";
  23. fsl,gpmi-dma-channel = <4>;
  24. partition@0 {
  25. ...
  26. };
  27. };