| # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | |
| %YAML 1.2 | |
| --- | |
| $id: http://devicetree.org/schemas/mtd/nand-chip.yaml# | |
| $schema: http://devicetree.org/meta-schemas/core.yaml# | |
| title: NAND Chip Common Properties | |
| maintainers: | |
| - Miquel Raynal <miquel.raynal@bootlin.com> | |
| allOf: | |
| - $ref: mtd.yaml# | |
| - $ref: nand-property.yaml | |
| description: | | |
| This file covers the generic description of a NAND chip. It implies that the | |
| bus interface should not be taken into account: both raw NAND devices and | |
| SPI-NAND devices are concerned by this description. | |
| properties: | |
| reg: | |
| description: | |
| Contains the chip-select IDs. | |
| nand-randomizer: | |
| description: | | |
| Control the data randomizer feature. | |
| 0: Disable randomizer. | |
| 1: Enable randomizer. | |
| If absent, the current hardware state is left unchanged. | |
| $ref: /schemas/types.yaml#/definitions/uint32 | |
| enum: [0, 1] | |
| required: | |
| - reg | |
| # This file can be referenced by more specific devices (like spi-nands) | |
| additionalProperties: true |