Merge tag 'disintegrate-fbdev-20121220' of git://git.infradead.org/users/dhowells...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / mtd / fsmc-nand.txt
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         };