About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / mtd / gpmc-onenand.txt




Custom Search

Based on kernel version 3.16. Page generated on 2014-08-06 21:37 EST.

1	Device tree bindings for GPMC connected OneNANDs
2	
3	GPMC connected OneNAND (found on OMAP boards) are represented as child nodes of
4	the GPMC controller with a name of "onenand".
5	
6	All timing relevant properties as well as generic gpmc child properties are
7	explained in a separate documents - please refer to
8	Documentation/devicetree/bindings/bus/ti-gpmc.txt
9	
10	Required properties:
11	
12	 - reg:			The CS line the peripheral is connected to
13	 - gpmc,device-width	Width of the ONENAND device connected to the GPMC
14				in bytes. Must be 1 or 2.
15	
16	Optional properties:
17	
18	 - dma-channel:		DMA Channel index
19	
20	For inline partition table parsing (optional):
21	
22	 - #address-cells: should be set to 1
23	 - #size-cells: should be set to 1
24	
25	Example for an OMAP3430 board:
26	
27		gpmc: gpmc@6e000000 {
28			compatible = "ti,omap3430-gpmc";
29			ti,hwmods = "gpmc";
30			reg = <0x6e000000 0x1000000>;
31			interrupts = <20>;
32			gpmc,num-cs = <8>;
33			gpmc,num-waitpins = <4>;
34			#address-cells = <2>;
35			#size-cells = <1>;
36	
37			onenand@0 {
38				reg = <0 0 0>; /* CS0, offset 0 */
39				gpmc,device-width = <2>;
40	
41				#address-cells = <1>;
42				#size-cells = <1>;
43	
44				/* partitions go here */
45			};
46		};
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.