]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/mtd/denali-nand.txt
mtd: nand: denali_dt: enable HW_ECC_FIXUP for Altera SOCFPGA variant
[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   - dm-mask : DMA bit mask
10
11 The device tree may optionally contain sub-nodes describing partitions of the
12 address space. See partition.txt for more detail.
13
14 Examples:
15
16 nand: nand@ff900000 {
17         #address-cells = <1>;
18         #size-cells = <1>;
19         compatible = "altr,socfpga-denali-nand";
20         reg = <0xff900000 0x100000>, <0xffb80000 0x10000>;
21         reg-names = "nand_data", "denali_reg";
22         interrupts = <0 144 4>;
23         dma-mask = <0xffffffff>;
24 };