]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/mtd/denali-nand.txt
mtd: nand: denali: avoid hard-coding ECC step, strength, bytes
[karo-tx-linux.git] / Documentation / devicetree / bindings / mtd / denali-nand.txt
1 * Denali NAND controller
2
3 Required properties:
4   - compatible : should be one of the following:
5       "altr,socfpga-denali-nand"            - for Altera SOCFPGA
6   - reg : should contain registers location and length for data and reg.
7   - reg-names: Should contain the reg names "nand_data" and "denali_reg"
8   - interrupts : The interrupt number.
9
10 Optional properties:
11   - nand-ecc-step-size: see nand.txt for details.  If present, the value must be
12       512        for "altr,socfpga-denali-nand"
13   - nand-ecc-strength: see nand.txt for details.  Valid values are:
14       8, 15      for "altr,socfpga-denali-nand"
15   - nand-ecc-maximize: see nand.txt for details
16
17 The device tree may optionally contain sub-nodes describing partitions of the
18 address space. See partition.txt for more detail.
19
20 Examples:
21
22 nand: nand@ff900000 {
23         #address-cells = <1>;
24         #size-cells = <1>;
25         compatible = "altr,socfpga-denali-nand";
26         reg = <0xff900000 0x100000>, <0xffb80000 0x10000>;
27         reg-names = "nand_data", "denali_reg";
28         interrupts = <0 144 4>;
29 };