Generic Parallel ATA Controller

Schema identifier ($id): "http://devicetree.org/schemas/ata/ata-generic.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Linus Walleij <linusw@kernel.org>"

Generic Parallel ATA controllers supporting PIO modes only.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "arm,vexpress-cf", "fsl,mpc8349emitx-pata"

Item 2

Exact value (const): "ata-generic"

reg — required here #

Array item rules (items) #

Item 1

Command interface registers

Item 2

Control interface registers

reg-shift — not listed as required here #

Allowed values (enum): 1, 2

interrupts — not listed as required here #

Maximum number of items (maxItems): 1

ata-generic,use16bit — not listed as required here #

Value type (type): "boolean"

Use 16-bit accesses instead of 32-bit for data transfers

pio-mode — not listed as required here #

Maximum ATA PIO transfer mode

Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32

Maximum value (maximum): 6

Default value (default): 0

Required in this object (required): "compatible", "reg"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

compact-flash@1a000 {
    compatible = "arm,vexpress-cf", "ata-generic";
    reg = <0x1a000 0x100>,
          <0x1a100 0xf00>;
    reg-shift = <2>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page