xref: /linux/Documentation/devicetree/bindings/mtd/nand-chip.yaml (revision 3a2c4d55e32ad65efebdb6de44eef3bfa08bb49d)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mtd/nand-chip.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NAND Chip Common Properties
8
9maintainers:
10  - Miquel Raynal <miquel.raynal@bootlin.com>
11
12allOf:
13  - $ref: mtd.yaml#
14  - $ref: nand-property.yaml
15
16description: |
17  This file covers the generic description of a NAND chip. It implies that the
18  bus interface should not be taken into account: both raw NAND devices and
19  SPI-NAND devices are concerned by this description.
20
21properties:
22  reg:
23    description:
24      Contains the chip-select IDs.
25
26  nand-randomizer:
27    description: |
28      Control the data randomizer feature.
29      0: Disable randomizer.
30      1: Enable randomizer.
31      If absent, the current hardware state is left unchanged.
32    $ref: /schemas/types.yaml#/definitions/uint32
33    enum: [0, 1]
34
35required:
36  - reg
37
38# This file can be referenced by more specific devices (like spi-nands)
39additionalProperties: true
40