gpmi-nand.txt 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. Optional properties:
  13. - nand-on-flash-bbt: boolean to enable on flash bbt option if not
  14. present false
  15. The device tree may optionally contain sub-nodes describing partitions of the
  16. address space. See partition.txt for more detail.
  17. Examples:
  18. gpmi-nand@8000c000 {
  19. compatible = "fsl,imx28-gpmi-nand";
  20. #address-cells = <1>;
  21. #size-cells = <1>;
  22. reg = <0x8000c000 2000>, <0x8000a000 2000>;
  23. reg-names = "gpmi-nand", "bch";
  24. interrupts = <88>, <41>;
  25. interrupt-names = "gpmi-dma", "bch";
  26. fsl,gpmi-dma-channel = <4>;
  27. partition@0 {
  28. ...
  29. };
  30. };