summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/mtd/nand-chip.yaml
blob: effdc4f99017d680f57e7c1be6126efbce812101 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# 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