Stefan Roese | eea6281 | 2012-03-16 10:19:31 +0100 | [diff] [blame] | 1 | * FSMC NAND |
| 2 | |
| 3 | Required properties: |
Linus Walleij | ba78520 | 2013-01-05 22:28:32 +0100 | [diff] [blame^] | 4 | - compatible : "st,spear600-fsmc-nand", "stericsson,fsmc-nand" |
Stefan Roese | eea6281 | 2012-03-16 10:19:31 +0100 | [diff] [blame] | 5 | - reg : Address range of the mtd chip |
Jean-Christophe PLAGNIOL-VILLARD | 6d7b42a | 2012-10-04 15:14:16 +0200 | [diff] [blame] | 6 | - reg-names: Should contain the reg names "fsmc_regs", "nand_data", "nand_addr" and "nand_cmd" |
Stefan Roese | eea6281 | 2012-03-16 10:19:31 +0100 | [diff] [blame] | 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 */ |
Jean-Christophe PLAGNIOL-VILLARD | 6d7b42a | 2012-10-04 15:14:16 +0200 | [diff] [blame] | 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"; |
Stefan Roese | eea6281 | 2012-03-16 10:19:31 +0100 | [diff] [blame] | 24 | |
| 25 | bank-width = <1>; |
| 26 | nand-skip-bbtscan; |
| 27 | |
| 28 | partition@0 { |
| 29 | ... |
| 30 | }; |
| 31 | }; |