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