Merge remote-tracking branch 'asoc/fix/intel' into asoc-linus
[sfrench/cifs-2.6.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       "socionext,uniphier-denali-nand-v5a"  - for Socionext UniPhier (v5a)
7       "socionext,uniphier-denali-nand-v5b"  - for Socionext UniPhier (v5b)
8   - reg : should contain registers location and length for data and reg.
9   - reg-names: Should contain the reg names "nand_data" and "denali_reg"
10   - interrupts : The interrupt number.
11
12 Optional properties:
13   - nand-ecc-step-size: see nand.txt for details.  If present, the value must be
14       512        for "altr,socfpga-denali-nand"
15       1024       for "socionext,uniphier-denali-nand-v5a"
16       1024       for "socionext,uniphier-denali-nand-v5b"
17   - nand-ecc-strength: see nand.txt for details.  Valid values are:
18       8, 15      for "altr,socfpga-denali-nand"
19       8, 16, 24  for "socionext,uniphier-denali-nand-v5a"
20       8, 16      for "socionext,uniphier-denali-nand-v5b"
21   - nand-ecc-maximize: see nand.txt for details
22
23 The device tree may optionally contain sub-nodes describing partitions of the
24 address space. See partition.txt for more detail.
25
26 Examples:
27
28 nand: nand@ff900000 {
29         #address-cells = <1>;
30         #size-cells = <1>;
31         compatible = "altr,socfpga-denali-nand";
32         reg = <0xff900000 0x100000>, <0xffb80000 0x10000>;
33         reg-names = "nand_data", "denali_reg";
34         interrupts = <0 144 4>;
35 };