Documentation/devicetree/bindings/mtd/nuvoton,ma35d1-nand.yaml

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

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/mtd/nuvoton,ma35d1-nand.yaml
Extension
.yaml
Size
1987 bytes
Lines
96
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/nuvoton,ma35d1-nand.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Nuvoton MA35D1 NAND Flash Interface (NFI) Controller

maintainers:
  - Hui-Ping Chen <hpchen0nvt@gmail.com>

allOf:
  - $ref: nand-controller.yaml#

properties:
  compatible:
    enum:
      - nuvoton,ma35d1-nand-controller

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  clocks:
    maxItems: 1

patternProperties:
  "^nand@[a-f0-9]$":
    type: object
    $ref: raw-nand-chip.yaml
    properties:
      reg:
        minimum: 0
        maximum: 1

      nand-ecc-step-size:
        enum: [512, 1024]

      nand-ecc-strength:
        enum: [8, 12, 24]

    required:
      - reg

    unevaluatedProperties: false

required:
  - compatible
  - reg
  - interrupts
  - clocks

unevaluatedProperties: false

examples:
  - |
    #include <dt-bindings/interrupt-controller/arm-gic.h>
    #include <dt-bindings/clock/nuvoton,ma35d1-clk.h>

    soc {
        #address-cells = <2>;
        #size-cells = <2>;

        nand-controller@401A0000 {
            compatible = "nuvoton,ma35d1-nand-controller";
            reg = <0x0 0x401A0000 0x0 0x1000>;
            interrupts = <GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH>;
            clocks = <&clk NAND_GATE>;

Annotation

Implementation Notes