IBM FSI-attached I2C controller

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

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

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

This I2C controller is an FSI CFAM engine, providing access to a number of I2C busses. Therefore this node will always be a child of an FSI CFAM node.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "ibm,i2c-fsi"

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

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

Value type (type): "object"

Properties and child nodes (properties) #

reg — required here

Maximum number of items (maxItems): 1

Required in this object (required): "reg"

All of these rules must match (allOf) #

Rule 1

Shared schema rule ($ref): /schemas/i2c/i2c-controller.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

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

i2c@1800 {
    compatible = "ibm,i2c-fsi";
    reg = <0x1800 0x400>;
    #address-cells = <1>;
    #size-cells = <0>;

    i2c-bus@0 {
        reg = <0>;
        #address-cells = <1>;
        #size-cells = <0>;
    };

    i2c-bus@1 {
        reg = <1>;
        #address-cells = <1>;
        #size-cells = <0>;

        eeprom@50 {
            compatible = "atmel,24c64";
            reg = <0x50>;
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page