About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

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




Custom Search

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

1	* FSMC NAND
2	
3	Required properties:
4	- compatible : "st,spear600-fsmc-nand", "stericsson,fsmc-nand"
5	- reg : Address range of the mtd chip
6	- reg-names: Should contain the reg names "fsmc_regs", "nand_data", "nand_addr" and "nand_cmd"
7	
8	Optional properties:
9	- bank-width : Width (in bytes) of the device.  If not present, the width
10	  defaults to 1 byte
11	- nand-skip-bbtscan: Indicates the the BBT scanning should be skipped
12	
13	Example:
14	
15		fsmc: flash@d1800000 {
16			compatible = "st,spear600-fsmc-nand";
17			#address-cells = <1>;
18			#size-cells = <1>;
19			reg = <0xd1800000 0x1000	/* FSMC Register */
20			       0xd2000000 0x0010	/* NAND Base DATA */
21			       0xd2020000 0x0010	/* NAND Base ADDR */
22			       0xd2010000 0x0010>;	/* NAND Base CMD */
23			reg-names = "fsmc_regs", "nand_data", "nand_addr", "nand_cmd";
24	
25			bank-width = <1>;
26			nand-skip-bbtscan;
27	
28			partition@0 {
29				...
30			};
31		};
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.