Cavium Compact Flash

Schema identifier ($id): "http://devicetree.org/schemas/ata/cavium,ebt3000-compact-flash.yaml#"

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

Maintainers (maintainers): "Rob Herring <robh@kernel.org>"

The Cavium Compact Flash device is connected to the Octeon Boot Bus, and is thus a child of the Boot Bus device. It can read and write industry standard compact flash devices.

Properties and child nodes (properties) #

compatible — required here #

Exact value (const): "cavium,ebt3000-compact-flash"

reg — required here #

The base address of the CF chip select banks.

Array item rules (items) #

Item 1

CF chip select bank 0

Item 2

CF chip select bank 1

cavium,bus-width — not listed as required here #

The width of the connection to the CF devices.

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

Allowed values (enum): 8, 16

cavium,true-ide — not listed as required here #

True IDE mode when present.

Value type (type): "boolean"

cavium,dma-engine-handle — not listed as required here #

A phandle for the DMA Engine connected to this device.

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

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) #

bus {
    #address-cells = <2>;
    #size-cells = <1>;

    compact-flash@5,0 {
        compatible = "cavium,ebt3000-compact-flash";
        reg = <5 0 0x10000>, <6 0 0x10000>;
        cavium,bus-width = <16>;
        cavium,true-ide;
        cavium,dma-engine-handle = <&dma0>;
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page