mtd: fsmc_nand: pass the ale and cmd resource via resource
[linux-2.6.git] / Documentation / devicetree / bindings / mtd / fsmc-nand.txt
blobe3ea32e7de3e763bae2aa515375ee8ea8ccd5efd
1 * FSMC NAND
3 Required properties:
4 - compatible : "st,spear600-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"
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
13 Example:
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";
25                 bank-width = <1>;
26                 nand-skip-bbtscan;
28                 partition@0 {
29                         ...
30                 };
31         };