blob: 2240ac09f6ba05cf1bea9aaa6788d01b9c3583e4 [file] [log] [blame]
Stefan Roeseeea62812012-03-16 10:19:31 +01001* FSMC NAND
2
3Required properties:
Linus Walleijba785202013-01-05 22:28:32 +01004- compatible : "st,spear600-fsmc-nand", "stericsson,fsmc-nand"
Stefan Roeseeea62812012-03-16 10:19:31 +01005- reg : Address range of the mtd chip
Jean-Christophe PLAGNIOL-VILLARD6d7b42a2012-10-04 15:14:16 +02006- reg-names: Should contain the reg names "fsmc_regs", "nand_data", "nand_addr" and "nand_cmd"
Stefan Roeseeea62812012-03-16 10:19:31 +01007
8Optional 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
13Example:
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 */
Jean-Christophe PLAGNIOL-VILLARD6d7b42a2012-10-04 15:14:16 +020020 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";
Stefan Roeseeea62812012-03-16 10:19:31 +010024
25 bank-width = <1>;
26 nand-skip-bbtscan;
27
28 partition@0 {
29 ...
30 };
31 };