aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorIvan Khoronzhuk <ivan.khoronzhuk@ti.com>2013-12-17 08:37:37 -0500
committerBrian Norris <computersforpeace@gmail.com>2014-01-03 14:22:25 -0500
commit9ba51cff551515592c1657c509923da57b330b16 (patch)
treef86754fa08d528b1f71b8fbd55d1776a17485b6a /Documentation
parentc354ae43511702092a1ee4e62db14ba738cd85ae (diff)
mtd: nand: davinci: extend description of bindings
Extend bindings for davinci_nand driver to be more clear. This is clarification only, without semantic changes. 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')
-rw-r--r--Documentation/devicetree/bindings/mtd/davinci-nand.txt77
1 files changed, 54 insertions, 23 deletions
diff --git a/Documentation/devicetree/bindings/mtd/davinci-nand.txt b/Documentation/devicetree/bindings/mtd/davinci-nand.txt
index 3545ea704b50..d2a3fc020023 100644
--- a/Documentation/devicetree/bindings/mtd/davinci-nand.txt
+++ b/Documentation/devicetree/bindings/mtd/davinci-nand.txt
@@ -1,36 +1,67 @@
1* Texas Instruments Davinci NAND 1Device tree bindings for Texas instruments Davinci NAND controller
2 2
3This file provides information, what the device node for the 3This file provides information, what the device node for the davinci NAND
4davinci nand interface contain. 4interface contains.
5
6Documentation:
7Davinci DM646x - http://www.ti.com/lit/ug/sprueq7c/sprueq7c.pdf
5 8
6Required properties: 9Required properties:
7- compatible: "ti,davinci-nand"; 10
8- reg : contain 2 offset/length values: 11- compatible: "ti,davinci-nand"
9 - offset and length for the access window 12
10 - offset and length for accessing the aemif control registers 13- reg: Contains 2 offset/length values:
11- ti,davinci-chipselect: Indicates on the davinci_nand driver which 14 - offset and length for the access window.
12 chipselect is used for accessing the nand. 15 - offset and length for accessing the AEMIF
16 control registers.
17
18- ti,davinci-chipselect: number of chipselect. Indicates on the
19 davinci_nand driver which chipselect is used
20 for accessing the nand.
21 Can be in the range [0-3].
13 22
14Recommended properties : 23Recommended properties :
15- ti,davinci-mask-ale: mask for ale 24
16- ti,davinci-mask-cle: mask for cle 25- ti,davinci-mask-ale: mask for ALE. Needed for executing address
17- ti,davinci-mask-chipsel: mask for chipselect 26 phase. These offset will be added to the base
18- ti,davinci-ecc-mode: ECC mode valid values for davinci driver: 27 address for the chip select space the NAND Flash
19 - "none" 28 device is connected to.
20 - "soft" 29 If not set equal to 0x08.
21 - "hw" 30
22- ti,davinci-ecc-bits: used ECC bits, currently supported 1 or 4. 31- ti,davinci-mask-cle: mask for CLE. Needed for executing command
23- ti,davinci-nand-buswidth: buswidth 8 or 16 32 phase. These offset will be added to the base
24- ti,davinci-nand-use-bbt: use flash based bad block table support. 33 address for the chip select space the NAND Flash
25 34 device is connected to.
26nand device bindings may contain additional sub-nodes describing 35 If not set equal to 0x10.
27partitions of the address space. See partition.txt for more detail. 36
37- ti,davinci-mask-chipsel: mask for chipselect address. Needed to mask
38 addresses for given chipselect.
39
40- ti,davinci-ecc-mode: operation mode of the NAND ecc mode. ECC mode
41 valid values for davinci driver:
42 - "none"
43 - "soft"
44 - "hw"
45
46- ti,davinci-ecc-bits: used ECC bits, currently supported 1 or 4.
47
48- ti,davinci-nand-buswidth: buswidth 8 or 16.
49
50- ti,davinci-nand-use-bbt: use flash based bad block table support. OOB
51 identifier is saved in OOB area.
52
53Nand device bindings may contain additional sub-nodes describing partitions of
54the address space. See partition.txt for more detail. The NAND Flash timing
55values must be programmed in the chip select’s node of AEMIF
56memory-controller (see Documentation/devicetree/bindings/memory-controllers/
57davinci-aemif.txt).
28 58
29Example(da850 EVM ): 59Example(da850 EVM ):
60
30nand_cs3@62000000 { 61nand_cs3@62000000 {
31 compatible = "ti,davinci-nand"; 62 compatible = "ti,davinci-nand";
32 reg = <0x62000000 0x807ff 63 reg = <0x62000000 0x807ff
33 0x68000000 0x8000>; 64 0x68000000 0x8000>;
34 ti,davinci-chipselect = <1>; 65 ti,davinci-chipselect = <1>;
35 ti,davinci-mask-ale = <0>; 66 ti,davinci-mask-ale = <0>;
36 ti,davinci-mask-cle = <0>; 67 ti,davinci-mask-cle = <0>;