Documentation/devicetree/bindings/mtd/marvell,nand-controller.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/mtd/marvell,nand-controller.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/mtd/marvell,nand-controller.yaml
Extension
.yaml
Size
5267 bytes
Lines
227
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/mtd/marvell,nand-controller.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Marvell NAND Flash Controller (NFC)

maintainers:
  - Miquel Raynal <miquel.raynal@bootlin.com>

properties:
  compatible:
    oneOf:
      - items:
          - const: marvell,armada-8k-nand-controller
          - const: marvell,armada370-nand-controller
      - enum:
          - marvell,ac5-nand-controller
          - marvell,armada370-nand-controller
          - marvell,pxa3xx-nand-controller
      - description: legacy bindings
        deprecated: true
        enum:
          - marvell,armada-8k-nand
          - marvell,armada370-nand
          - marvell,pxa3xx-nand

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    description:
      Shall reference the NAND controller clocks, the second one is
      is only needed for the Armada 7K/8K SoCs
    minItems: 1
    maxItems: 2

  clock-names:
    minItems: 1
    items:
      - const: core
      - const: reg

  dmas:
    maxItems: 1

  dma-names:
    items:
      - const: data

  marvell,system-controller:
    $ref: /schemas/types.yaml#/definitions/phandle
    description: Syscon node that handles NAND controller related registers

patternProperties:
  "^nand@[a-f0-9]$":
    type: object
    $ref: raw-nand-chip.yaml

    properties:
      reg:
        minimum: 0
        maximum: 3

      nand-rb:
        items:

Annotation

Implementation Notes