Commit | Line | Data |
---|---|---|
eea62819 SR |
1 | * FSMC NAND |
2 | ||
3 | Required properties: | |
4 | - compatible : "st,spear600-fsmc-nand" | |
5 | - reg : Address range of the mtd chip | |
6d7b42a4 | 6 | - reg-names: Should contain the reg names "fsmc_regs", "nand_data", "nand_addr" and "nand_cmd" |
eea62819 SR |
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 */ | |
6d7b42a4 JCPV |
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"; | |
eea62819 SR |
24 | |
25 | bank-width = <1>; | |
26 | nand-skip-bbtscan; | |
27 | ||
28 | partition@0 { | |
29 | ... | |
30 | }; | |
31 | }; |