1 NVIDIA Tegra NAND Flash controller
4 - compatible: Must be one of:
5 - "nvidia,tegra20-nand"
6 - reg: MMIO address range
7 - interrupts: interrupt output of the NFC controller
8 - clocks: Must contain an entry for each entry in clock-names.
9 See ../clocks/clock-bindings.txt for details.
10 - clock-names: Must include the following entries:
12 - resets: Must contain an entry for each entry in reset-names.
13 See ../reset/reset.txt for details.
14 - reset-names: Must include the following entries:
17 Optional children nodes:
18 Individual NAND chips are children of the NAND controller node. Currently
19 only one NAND chip supported.
21 Required children node properties:
22 - reg: An integer ranging from 1 to 6 representing the CS line to use.
24 Optional children node properties:
25 - nand-ecc-mode: String, operation mode of the NAND ecc mode. Currently only
27 - nand-ecc-algo: string, algorithm of NAND ECC.
28 Supported values with "hw" ECC mode are: "rs", "bch".
29 - nand-bus-width : See nand-controller.yaml
30 - nand-on-flash-bbt: See nand-controller.yaml
31 - nand-ecc-strength: integer representing the number of bits to correct
32 per ECC step (always 512). Supported strength using HW ECC
36 - nand-ecc-maximize: See nand-controller.yaml
37 - nand-is-boot-medium: Makes sure only ECC strengths supported by the boot ROM
39 - wp-gpios: GPIO specifier for the write protect pin.
41 Optional child node of NAND chip nodes:
42 Partitions: see partition.txt
45 nand-controller@70008000 {
46 compatible = "nvidia,tegra20-nand";
47 reg = <0x70008000 0x100>;
48 interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
49 clocks = <&tegra_car TEGRA20_CLK_NDFLASH>;
51 resets = <&tegra_car 13>;
60 nand-ecc-algo = "bch";
61 nand-ecc-strength = <8>;
62 wp-gpios = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_LOW>;