IBM FSI-attached SPI controllers

Schema identifier ($id): "http://devicetree.org/schemas/fsi/ibm,fsi2spi.yaml#"

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

Maintainers (maintainers): "Eddie James <eajames@linux.ibm.com>"

This binding describes an FSI CFAM engine called the FSI2SPI. Therefore this node will always be a child of an FSI CFAM node. This FSI2SPI engine provides access to a number of SPI controllers.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ibm,fsi2spi"

reg — required here #

Array item rules (items) #

Item 1

FSI slave address

#address-cells — not listed as required here #

Exact value (const): 1

#size-cells — not listed as required here #

Exact value (const): 0

Properties matching a name pattern (patternProperties) #

^spi@[0-9a-f]+$ — name matches this regular expression #

Value type (type): "object"

Shared schema rule ($ref): /schemas/spi/ibm,spi-fsi.yaml

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

fsi2spi@1c00 {
    compatible = "ibm,fsi2spi";
    reg = <0x1c00 0x400>;
    #address-cells = <1>;
    #size-cells = <0>;

    spi@0 {
        compatible = "ibm,spi-fsi";
        reg = <0>;
        #address-cells = <1>;
        #size-cells = <0>;

        eeprom@0 {
            compatible = "atmel,at25";
            reg = <0>;
            address-width = <24>;
            pagesize = <256>;
            size = <0x80000>;
            spi-max-frequency = <1000000>;
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-or-later)

Edit this page