# IBM FSI-attached I2C controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for IBM FSI-attached I2C controller.

<!-- SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;i2c&#47;ibm&#44;i2c&#45;fsi&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Eddie James &#60;eajames&#64;linux&#46;ibm&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">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.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;ibm&#44;i2c&#45;fsi&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

<a id="dt-b6190d107f3246c9804f"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c90b61e446f8f3080e3c"></a>

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">FSI slave address</p>
> </div>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-961539b7303aa7bfe12a"></a>

### <code>&#94;i2c&#45;bus&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-f9f205d6f0f684c3791f"><code>&#34;object&#34;</code></span>

<a id="dt-b6a19027242690280499"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-2045238c77273d6418bf"></a>

**<code>reg</code> — required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-40c0188c534a0ef3cc77"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-3013ce20feb098928e47"></a> <span id="dt-e51e1be3730be30d6075"><code>&#34;reg&#34;</code></span>

<a id="dt-0c326daf135ec11f5d73"></a>

#### All of these rules must match (<code>allOf</code>)

<a id="dt-716e74939b2413ada126"></a>

**Rule 1**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-007612a0e9fbcfaa59b8">[<code>&#47;schemas&#47;i2c&#47;i2c&#45;controller&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-shared/i2c/i2c-controller.md#dt-root>)</span>

<a id="dt-b6397bea34b295e0ff3f"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">i2c@1800 {
    compatible = "ibm,i2c-fsi";
    reg = &lt;0x1800 0x400&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    i2c-bus@0 {
        reg = &lt;0&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;
    };

    i2c-bus@1 {
        reg = &lt;1&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        eeprom@50 {
            compatible = "atmel,24c64";
            reg = &lt;0x50&gt;;
        };
    };
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)</span></p>

</details>
