Lines Matching +full:nand +full:- +full:is +full:- +full:boot +full:- +full:medium

1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mtd/nand-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NAND Chip and NAND Controller Generic Binding
10 - Miquel Raynal <miquel.raynal@bootlin.com>
11 - Richard Weinberger <richard@nod.at>
14 The NAND controller should be represented with its own DT node, and
15 all NAND chips attached to this controller should be defined as
16 children nodes of the NAND controller. This representation should be
24 The interpretation of these parameters is implementation-defined, so
31 pattern: "^nand-controller(@.*)?"
33 "#address-cells":
36 "#size-cells":
41 cs-gpios:
43 Array of chip-select available to the controller. The first
44 entries are a 1:1 mapping of the available chip-select on the
45 NAND controller (even if they are not used). As many additional
46 chip-select as needed may follow and should be phandles of GPIO
47 lines. 'reg' entries of the NAND chip subnodes become indexes of
48 this array when this property is present.
53 "^nand@[a-f0-9]$":
55 $ref: "nand-chip.yaml#"
60 Contains the chip-select IDs.
62 nand-ecc-placement:
64 Location of the ECC bytes. This location is unknown by default
71 nand-bus-width:
73 Bus width to the NAND chip
78 nand-on-flash-bbt:
83 it as the device ages. Otherwise, the out-of-band area of a
84 few pages of all the blocks will be scanned at boot time to
89 nand-ecc-maximize:
92 maximum ECC strength is both controller and chip
95 constraint into account. This is particularly useful when
96 only the in-band area is used by the upper layers, and you
97 want to make your NAND as reliable as possible.
100 nand-is-boot-medium:
102 Whether or not the NAND chip is a boot medium. Drivers might
104 the boot ROM or similar restrictions.
107 nand-rb:
110 $ref: /schemas/types.yaml#/definitions/uint32-array
112 rb-gpios:
116 Ready/Busy pins. Active state refers to the NAND ready state and
117 should be set to GPIOD_ACTIVE_HIGH unless the signal is inverted.
119 wp-gpios:
122 Active state refers to the NAND Write Protect state and should be
123 set to GPIOD_ACTIVE_LOW unless the signal is inverted.
127 - reg
130 - "#address-cells"
131 - "#size-cells"
136 - |
137 nand-controller {
138 #address-cells = <1>;
139 #size-cells = <0>;
140 cs-gpios = <0>, <&gpioA 1>; /* A single native CS is available */
144 nand@0 {
146 /* NAND chip specific properties */
149 nand@1 {