About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / mtd / gpmi-nand.txt




Custom Search

Based on kernel version 3.9. Page generated on 2013-05-02 22:59 EST.

1	* Freescale General-Purpose Media Interface (GPMI)
2	
3	The GPMI nand controller provides an interface to control the
4	NAND flash chips. We support only one NAND chip now.
5	
6	Required 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 : The first is the DMA interrupt number for GPMI.
11	                 The second is the BCH interrupt number.
12	  - interrupt-names : The interrupt names "gpmi-dma", "bch";
13	  - fsl,gpmi-dma-channel : Should contain the dma channel it uses.
14	
15	Optional properties:
16	  - nand-on-flash-bbt: boolean to enable on flash bbt option if not
17	                       present false
18	
19	The device tree may optionally contain sub-nodes describing partitions of the
20	address space. See partition.txt for more detail.
21	
22	Examples:
23	
24	gpmi-nand@8000c000 {
25		compatible = "fsl,imx28-gpmi-nand";
26		#address-cells = <1>;
27		#size-cells = <1>;
28		reg = <0x8000c000 2000>, <0x8000a000 2000>;
29		reg-names = "gpmi-nand", "bch";
30		interrupts = <88>, <41>;
31		interrupt-names = "gpmi-dma", "bch";
32		fsl,gpmi-dma-channel = <4>;
33	
34		partition@0 {
35		...
36		};
37	};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.