diff options
| author | Ivan Khoronzhuk <ivan.khoronzhuk@ti.com> | 2013-12-17 08:37:22 -0500 |
|---|---|---|
| committer | Brian Norris <computersforpeace@gmail.com> | 2014-01-03 14:22:25 -0500 |
| commit | c354ae43511702092a1ee4e62db14ba738cd85ae (patch) | |
| tree | 7ba503aa3e7839917c2c318fa64ae7aade6e0dd5 /Documentation/devicetree/bindings/mtd | |
| parent | 30a3970cde5be1e2950946f2e943fb84d07938fc (diff) | |
mtd: nand: davinci: move bindings under mtd
Move bindings under mtd. Do this in order to make davinci-nand
driver usable by keystone architecture.
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Reviewed-by: Taras Kondratiuk <taras@ti.com>
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/mtd')
| -rw-r--r-- | Documentation/devicetree/bindings/mtd/davinci-nand.txt | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/mtd/davinci-nand.txt b/Documentation/devicetree/bindings/mtd/davinci-nand.txt new file mode 100644 index 000000000000..3545ea704b50 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/davinci-nand.txt | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | * Texas Instruments Davinci NAND | ||
| 2 | |||
| 3 | This file provides information, what the device node for the | ||
| 4 | davinci nand interface contain. | ||
| 5 | |||
| 6 | Required properties: | ||
| 7 | - compatible: "ti,davinci-nand"; | ||
| 8 | - reg : contain 2 offset/length values: | ||
| 9 | - offset and length for the access window | ||
| 10 | - offset and length for accessing the aemif control registers | ||
| 11 | - ti,davinci-chipselect: Indicates on the davinci_nand driver which | ||
| 12 | chipselect is used for accessing the nand. | ||
| 13 | |||
| 14 | Recommended properties : | ||
| 15 | - ti,davinci-mask-ale: mask for ale | ||
| 16 | - ti,davinci-mask-cle: mask for cle | ||
| 17 | - ti,davinci-mask-chipsel: mask for chipselect | ||
| 18 | - ti,davinci-ecc-mode: ECC mode valid values for davinci driver: | ||
| 19 | - "none" | ||
| 20 | - "soft" | ||
| 21 | - "hw" | ||
| 22 | - ti,davinci-ecc-bits: used ECC bits, currently supported 1 or 4. | ||
| 23 | - ti,davinci-nand-buswidth: buswidth 8 or 16 | ||
| 24 | - ti,davinci-nand-use-bbt: use flash based bad block table support. | ||
| 25 | |||
| 26 | nand device bindings may contain additional sub-nodes describing | ||
| 27 | partitions of the address space. See partition.txt for more detail. | ||
| 28 | |||
| 29 | Example(da850 EVM ): | ||
| 30 | nand_cs3@62000000 { | ||
| 31 | compatible = "ti,davinci-nand"; | ||
| 32 | reg = <0x62000000 0x807ff | ||
| 33 | 0x68000000 0x8000>; | ||
| 34 | ti,davinci-chipselect = <1>; | ||
| 35 | ti,davinci-mask-ale = <0>; | ||
| 36 | ti,davinci-mask-cle = <0>; | ||
| 37 | ti,davinci-mask-chipsel = <0>; | ||
| 38 | ti,davinci-ecc-mode = "hw"; | ||
| 39 | ti,davinci-ecc-bits = <4>; | ||
| 40 | ti,davinci-nand-use-bbt; | ||
| 41 | |||
| 42 | partition@180000 { | ||
| 43 | label = "ubifs"; | ||
| 44 | reg = <0x180000 0x7e80000>; | ||
| 45 | }; | ||
| 46 | }; | ||
