# I2C bindings

---

# Allwinner A31 P2WI (Push/Pull 2 Wires Interface)

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

> Device-tree binding reference for Allwinner A31 P2WI (Push/Pull 2 Wires Interface).

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;allwinner&#44;sun6i&#45;a31&#45;p2wi&#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;Chen&#45;Yu Tsai &#60;wens&#64;csie&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Maxime Ripard &#60;mripard&#64;kernel&#46;org&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;allwinner&#44;sun6i&#45;a31&#45;p2wi&#34;</code></span>

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

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

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

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

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

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

<a id="dt-4e9a371963ac013ad39d"></a>

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

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

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

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

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

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-bdf19748a029a958ea75"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-60cd7829fc24dc9d0dc0"><code>6000000</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;resets&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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@1f03400 {
    compatible = "allwinner,sun6i-a31-p2wi";
    reg = &lt;0x01f03400 0x400&gt;;
    interrupts = &lt;0 39 4&gt;;
    clocks = &lt;&amp;apb0_gates 3&gt;;
    clock-frequency = &lt;100000&gt;;
    resets = &lt;&amp;apb0_rst 3&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    axp221: pmic@68 {
        /* compatible = "x-powers,axp221"; */
        reg = &lt;0x68&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</span></p>

</details>

---

# Amlogic Meson I2C Controller

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

> Device-tree binding reference for Amlogic Meson I2C Controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;amlogic&#44;meson6&#45;i2c&#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;Neil Armstrong &#60;neil&#46;armstrong&#64;linaro&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Beniamino Galvani &#60;b&#46;galvani&#64;gmail&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-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;amlogic&#44;meson6&#45;i2c&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;amlogic&#44;meson&#45;gxbb&#45;i2c&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;amlogic&#44;meson&#45;axg&#45;i2c&#34;</code></span>

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

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

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

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

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

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

<a id="dt-4e9a371963ac013ad39d"></a>

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

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

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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@c8100500 {
    compatible = "amlogic,meson6-i2c";
    reg = &lt;0xc8100500 0x20&gt;;
    interrupts = &lt;92&gt;;
    clocks = &lt;&amp;clk81&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    eeprom@52 {
        compatible = "atmel,24c32";
        reg = &lt;0x52&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 OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright 2019 BayLibre, SAS</span></p>

<p id="dt-comment-2"><strong>Line 20:</strong> <span> Meson6, Meson8 and compatible SoCs</span></p>

<p id="dt-comment-3"><strong>Line 21:</strong> <span> GXBB and compatible SoCs</span></p>

<p id="dt-comment-4"><strong>Line 22:</strong> <span> AXG and compatible SoCs</span></p>

</details>

---

# APM X-Gene SLIMpro Mailbox I2C

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

> Device-tree binding reference for APM X-Gene SLIMpro Mailbox I2C.

<!-- 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;apm&#44;xgene&#45;slimpro&#45;i2c&#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;Khuong Dinh &#60;khuong&#64;os&#46;amperecomputing&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">An I2C controller accessed over the "SLIMpro" mailbox.</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;apm&#44;xgene&#45;slimpro&#45;i2c&#34;</code></span>

<a id="dt-574e031ceefcc9ce5f61"></a>

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

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

**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;mboxes&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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 {
    compatible = "apm,xgene-slimpro-i2c";
    mboxes = &lt;&amp;mailbox 0&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>

---

# Apple/PASemi I2C controller

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

> Device-tree binding reference for Apple/PASemi I2C controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;apple&#44;i2c&#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;Sven Peter &#60;sven&#64;svenpeter&#46;dev&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Apple SoCs such as the M1 come with a I2C controller based on the one found
in machines with P. A. Semi's PWRficient processors.
The bus is used to communicate with e.g. USB PD chips or the speaker
amp.</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-5deec2612224d8d915da"><code>&#34;apple&#44;t6020&#45;i2c&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;apple&#44;t8103&#45;i2c&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;apple&#44;s5l8960x&#45;i2c&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;apple&#44;t7000&#45;i2c&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;apple&#44;s8000&#45;i2c&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;apple&#44;t8010&#45;i2c&#34;</code></span>, <span id="dt-eb61ad381053476dae55"><code>&#34;apple&#44;t8015&#45;i2c&#34;</code></span>, <span id="dt-05b29c21ca38ad337d53"><code>&#34;apple&#44;t8103&#45;i2c&#34;</code></span>, <span id="dt-93c2763ada782db7e26c"><code>&#34;apple&#44;t8112&#45;i2c&#34;</code></span>, <span id="dt-36a81d983bbaf2a6b89d"><code>&#34;apple&#44;t6000&#45;i2c&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;apple&#44;i2c&#34;</code></span>

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

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

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

<a id="dt-4e9a371963ac013ad39d"></a>

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

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">I2C bus reference clock</p>
> </div>

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

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

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

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">Desired I2C bus clock frequency in Hz. If not specified, 100 kHz will be
used. This frequency is generated by dividing the reference clock.
Allowed values are between ref_clk/(16*4) and ref_clk/(16*255).</p>
</div>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

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

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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@35010000 {
  compatible = "apple,t8103-i2c", "apple,i2c";
  reg = &lt;0x35010000 0x4000&gt;;
  interrupt-parent = &lt;&amp;aic&gt;;
  interrupts = &lt;0 627 4&gt;;
  clocks = &lt;&amp;ref_clk&gt;;
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&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 OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 29:</strong> <span> Do not add additional SoC to this list.</span></p>

</details>

---

# I2C Controller on ARM Ltd development platforms

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

> Device-tree binding reference for I2C Controller on ARM Ltd development platforms.

<!-- SPDX-License-Identifier: GPL-2.0 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;arm&#44;i2c&#45;versatile&#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;Linus Walleij &#60;linusw&#64;kernel&#46;org&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;arm&#44;versatile&#45;i2c&#34;</code></span>

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

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

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

**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-63ab525a9812ac23c446"></a>

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

<code>false</code>

Not allowed by this rule.

## 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 OR BSD-2-Clause</span></p>

</details>

---

# ASPEED I2C on the AST24XX, AST25XX, and AST26XX SoCs

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

> Device-tree binding reference for ASPEED I2C on the AST24XX, AST25XX, and AST26XX SoCs.

<!-- 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;aspeed&#44;i2c&#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;Rayn Chen &#60;rayn&#95;chen&#64;aspeedtech&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-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;aspeed&#44;ast2400&#45;i2c&#45;bus&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;aspeed&#44;ast2500&#45;i2c&#45;bus&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;aspeed&#44;ast2600&#45;i2c&#45;bus&#34;</code></span>

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-4b3e7791b11b96c3db87"><code>1</code></span>

<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">address offset and range of bus</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">address offset and range of bus buffer</p>
> </div>

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

### <code>interrupts</code> — not listed as required here

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

<a id="dt-4e9a371963ac013ad39d"></a>

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

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

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">root clock of bus, should reference the APB clock in the second cell</p>
</div>

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

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

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

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

### <code>bus&#45;frequency</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-14a610e30fb87e1c6dc1"><code>500</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-4f0322225f42f8779b7d"><code>4000000</code></span>

**Default value (<code>default</code>):** <span id="dt-41b779ff232a1de203ee"><code>100000</code></span>

<div id="dt-a992fa93b10fb2c3a7ee">
<p style="white-space: pre-wrap">frequency of the bus clock in Hz defaults to 100 kHz when not specified</p>
</div>

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

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/clock/aspeed-clock.h&gt;
i2c@40 {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;
  compatible = "aspeed,ast2500-i2c-bus";
  reg = &lt;0x40 0x40&gt;;
  clocks = &lt;&amp;syscon ASPEED_CLK_APB&gt;;
  resets = &lt;&amp;syscon ASPEED_RESET_I2C&gt;;
  bus-frequency = &lt;100000&gt;;
  interrupts = &lt;0&gt;;
  interrupt-parent = &lt;&amp;i2c_ic&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>

---

# I2C for Atmel/Microchip platforms

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

> Device-tree binding reference for I2C for Atmel/Microchip platforms.

<!-- 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;atmel&#44;at91sam&#45;i2c&#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;Alexandre Belloni &#60;alexandre&#46;belloni&#64;bootlin&#46;com&#62;&#34;</code></span>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;atmel&#44;at91rm9200&#45;i2c&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;atmel&#44;at91sam9261&#45;i2c&#34;</code></span>, <span id="dt-b7d19de74fd35364d49f"><code>&#34;atmel&#44;at91sam9260&#45;i2c&#34;</code></span>, <span id="dt-6cbdeefc52e7132bc62c"><code>&#34;atmel&#44;at91sam9g20&#45;i2c&#34;</code></span>, <span id="dt-fd88adda17227ca32776"><code>&#34;atmel&#44;at91sam9g10&#45;i2c&#34;</code></span>, <span id="dt-f0dfbb755d86acc4c265"><code>&#34;atmel&#44;at91sam9x5&#45;i2c&#34;</code></span>, <span id="dt-fd90c4a6b4c12fdce245"><code>&#34;atmel&#44;sama5d4&#45;i2c&#34;</code></span>, <span id="dt-e2dcb0e367ca5c3b7bca"><code>&#34;atmel&#44;sama5d2&#45;i2c&#34;</code></span>, <span id="dt-8f172ba5f5ba57694b17"><code>&#34;microchip&#44;sam9x60&#45;i2c&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;microchip&#44;lan9691&#45;i2c&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;microchip&#44;sama7d65&#45;i2c&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;microchip&#44;sama7g5&#45;i2c&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;microchip&#44;sam9x7&#45;i2c&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;microchip&#44;sam9x60&#45;i2c&#34;</code></span>

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

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

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

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

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

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

<a id="dt-4e9a371963ac013ad39d"></a>

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

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

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-f1c4f38c5bf0a6f6c783"><code>100000</code></span>

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

### <code>dmas</code> — not listed as required here

<a id="dt-6b8b17969f3f8620256b"></a>

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

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

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">TX DMA Channel Specifier</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">RX DMA Channel Specifier</p>
> </div>

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

### <code>dma&#45;names</code> — not listed as required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;tx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;rx&#34;</code></span>

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

### <code>atmel&#44;fifo&#45;size</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9c439031df1eec9edaef">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-f5c6a36b4e1e3f908193">
<p style="white-space: pre-wrap">Maximum number of data the RX and TX FIFOs can store for
FIFO capable I2C controllers.</p>
</div>

<a id="dt-8613faf4e22687cd03b4"></a>

### <code>scl&#45;gpios</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-4c2d24b2a6b517e58e11"></a>

### <code>sda&#45;gpios</code> — not listed as required here

<code>true</code> — No constraints added by this property 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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-61039da0155527cc02ba"></a> <span id="dt-20f8a813aab744ff239a"><code>&#34;atmel&#44;sama5d4&#45;i2c&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;atmel&#44;sama5d2&#45;i2c&#34;</code></span>, <span id="dt-d29379bd469379c8aac7"><code>&#34;microchip&#44;sam9x60&#45;i2c&#34;</code></span>, <span id="dt-4d46427daeb4d8de3150"><code>&#34;microchip&#44;sama7d65&#45;i2c&#34;</code></span>, <span id="dt-f5a9f906c7ab6d73de62"><code>&#34;microchip&#44;sama7g5&#45;i2c&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-734aa4d99752ad357143"></a>
> >
> > **<code>i2c&#45;sda&#45;hold&#45;time&#45;ns</code> — not listed as required here**
> >
> > <div id="dt-8bc4febc053b163eaaed">
> > <p style="white-space: pre-wrap">TWD hold time</p>
> > </div>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-85a745526db433760973"><code>1</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/dma/at91.h&gt;
#include &lt;dt-bindings/gpio/gpio.h&gt;

i2c0: i2c@fff84000 {
    compatible = "atmel,at91sam9g20-i2c";
    reg = &lt;0xfff84000 0x100&gt;;
    interrupts = &lt;12 IRQ_TYPE_LEVEL_HIGH 6&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    clocks = &lt;&amp;twi0_clk&gt;;
    clock-frequency = &lt;400000&gt;;

    eeprom@50 {
        compatible = "atmel,24c512";
        reg = &lt;0x50&gt;;
        pagesize = &lt;128&gt;;
    };
};

i2c1: i2c@f8034600 {
    compatible = "atmel,sama5d2-i2c";
    reg = &lt;0xf8034600 0x100&gt;;
    interrupts = &lt;19 IRQ_TYPE_LEVEL_HIGH 7&gt;;
    dmas = &lt;&amp;dma0
        (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1))
        AT91_XDMAC_DT_PERID(11)&gt;,
           &lt;&amp;dma0
        (AT91_XDMAC_DT_MEM_IF(0) | AT91_XDMAC_DT_PER_IF(1))
        AT91_XDMAC_DT_PERID(12)&gt;;
    dma-names = "tx", "rx";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    clocks = &lt;&amp;flx0&gt;;
    atmel,fifo-size = &lt;16&gt;;
    i2c-sda-hold-time-ns = &lt;336&gt;;
    pinctrl-names = "default", "gpio";
    pinctrl-0 = &lt;&amp;pinctrl_i2c0&gt;;
    pinctrl-1 = &lt;&amp;pinctrl_i2c0_gpio&gt;;
    sda-gpios = &lt;&amp;pioA 30 GPIO_ACTIVE_HIGH&gt;;
    scl-gpios = &lt;&amp;pioA 31 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)&gt;;

    eeprom@54 {
        compatible = "atmel,24c02";
        reg = &lt;0x54&gt;;
        pagesize = &lt;16&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>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright (C) 2022 Microchip Technology, Inc. and its subsidiaries</span></p>

</details>

---

# Broadcom BCM2835 I2C controller

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

> Device-tree binding reference for Broadcom BCM2835 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;brcm&#44;bcm2835&#45;i2c&#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;Stephen Warren &#60;swarren&#64;wwwdotorg&#46;org&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;brcm&#44;bcm2835&#45;i2c&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;brcm&#44;bcm2711&#45;i2c&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;brcm&#44;bcm2835&#45;i2c&#34;</code></span>

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

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

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

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

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

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

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

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

<a id="dt-4e9a371963ac013ad39d"></a>

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

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

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

<code>true</code> — No constraints added by this property 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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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@7e205000 {
    compatible = "brcm,bcm2835-i2c";
    reg = &lt;0x7e205000 0x1000&gt;;
    interrupts = &lt;2 21&gt;;
    clocks = &lt;&amp;clk_i2c&gt;;
    clock-frequency = &lt;100000&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>

---

# Broadcom STB BSC IIC Master Controller

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

> Device-tree binding reference for Broadcom STB BSC IIC Master Controller.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;brcm&#44;brcmstb&#45;i2c&#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;Kamal Dasu &#60;kdasu&#46;kdev&#64;gmail&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-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;brcm&#44;bcm2711&#45;hdmi&#45;i2c&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;brcm&#44;brcmstb&#45;i2c&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;brcm&#44;brcmper&#45;i2c&#34;</code></span>

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-4b3e7791b11b96c3db87"><code>1</code></span>

<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">BSC register range</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">Auto-I2C register range</p>
> </div>

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

### <code>reg&#45;names</code> — not listed as required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-69afd9f8af3b0c5757d2"><code>&#34;bsc&#34;</code></span>

<a id="dt-12013039402717d72b48"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-8472c6e17fb2491b6ba3"><code>&#34;auto&#45;i2c&#34;</code></span>

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

### <code>interrupts</code> — not listed as required here

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

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — not listed as required here

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

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-584ddff4c08470f8da57"></a> <span id="dt-c25853fc91ba647e0b10"><code>46875</code></span>, <span id="dt-0692e3e2989f8742a1a1"><code>50000</code></span>, <span id="dt-ba115210cf1ddbd23415"><code>93750</code></span>, <span id="dt-f0cce890180d3fe891a7"><code>97500</code></span>, <span id="dt-1449b25f416b177d64f7"><code>187500</code></span>, <span id="dt-a362b1833aa6acc27c57"><code>200000</code></span>, <span id="dt-9e0183785cdc7f2a2ada"><code>375000</code></span>, <span id="dt-422b640ebdb5e8f97c52"><code>390000</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clock&#45;frequency&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

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

<code>false</code>

Not allowed by this rule.

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-0c7b6d12024f922c1b96"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-824fdc441f7c94ae56ca"></a>
>
> #### <code>compatible</code> — not listed as required here
>
> <a id="dt-8239149d6c8b0a5dabbe"></a>
>
> **Rule for matching array elements (<code>contains</code>)**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-33b6ed092215f2be8801"></a> <span id="dt-9dc9072d1f2469ee9637"><code>&#34;brcm&#44;bcm2711&#45;hdmi&#45;i2c&#34;</code></span>

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> <a id="dt-d3da345ec82b9041251c"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-8893b96000b374eb19f2"></a>
>
> #### <code>reg</code> — not listed as required here
>
> **Minimum number of items (<code>minItems</code>):** <span id="dt-321e0e16fe3625b59ae7"><code>2</code></span>
>
> **Required in this object (<code>required</code>):** <a id="dt-824165741bab07e919e7"></a> <span id="dt-0be16f81402541b26aff"><code>&#34;reg&#45;names&#34;</code></span>

<a id="dt-6f6ab6f7f4b3f2f2f0a8"></a>

## When the condition does not match (<code>else</code>)

> <a id="dt-cf075a4b84ee9b101feb"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-5e0272d80ce3f49e1ff9"></a>
>
> #### <code>reg</code> — not listed as required here
>
> **Maximum number of items (<code>maxItems</code>):** <span id="dt-7847ec4ac643eb377cf3"><code>1</code></span>

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">bsca: i2c@f0406200 {
    compatible = "brcm,brcmstb-i2c";
    reg = &lt;0xf0406200 0x58&gt;;
    clock-frequency = &lt;390000&gt;;
    interrupt-parent = &lt;&amp;irq0_intc&gt;;
    interrupts = &lt;0x18&gt;;
    interrupt-names = "upg_bsca";
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">ddc0: i2c@7ef04500 {
    compatible = "brcm,bcm2711-hdmi-i2c";
    reg = &lt;0x7ef04500 0x100&gt;, &lt;0x7ef00b00 0x300&gt;;
    reg-names = "bsc", "auto-i2c";
    clock-frequency = &lt;390000&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</span></p>

</details>

---

# Broadcom iProc I2C controller

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

> Device-tree binding reference for Broadcom iProc 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;brcm&#44;iproc&#45;i2c&#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;Rafał Miłecki &#60;rafal&#64;milecki&#46;pl&#62;&#34;</code></span>

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

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

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

### <code>compatible</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;brcm&#44;iproc&#45;i2c&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;brcm&#44;iproc&#45;nic&#45;i2c&#34;</code></span>

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

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-4b3e7791b11b96c3db87"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>2</code></span>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-584ddff4c08470f8da57"></a> <span id="dt-c25853fc91ba647e0b10"><code>100000</code></span>, <span id="dt-0692e3e2989f8742a1a1"><code>400000</code></span>

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

### <code>interrupts</code> — not listed as required here

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">Should contain the I2C interrupt. For certain revisions of the I2C
controller, I2C interrupt is unwired to the interrupt controller. In such
case, this property should be left unspecified, and driver will fall back
to polling mode</p>
</div>

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

<a id="dt-986f32806bc12db8f477"></a>

### <code>brcm&#44;ape&#45;hsls&#45;addr&#45;mask</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-381ff35b44799b0d943e">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-204b6501e6dbd74f23c3">
<p style="white-space: pre-wrap">Host view of address mask into the 'APE' co-processor</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;brcm&#44;iproc&#45;nic&#45;i2c&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-18ed1f4bd380878274d8"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-0bf955aace5399cedc74"><code>2</code></span>
> >
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;brcm&#44;ape&#45;hsls&#45;addr&#45;mask&#34;</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-d92e0020acecb84cba03"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-4bcb124fb8b313412306"><code>1</code></span>

<a id="dt-63ab525a9812ac23c446"></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;reg&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;clock&#45;frequency&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#34;</code></span>

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

i2c@18008000 {
    compatible = "brcm,iproc-i2c";
    reg = &lt;0x18008000 0x100&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    interrupts = &lt;GIC_SPI 85 IRQ_TYPE_NONE&gt;;
    clock-frequency = &lt;100000&gt;;

    wm8750@1a {
        compatible = "wlf,wm8750";
        reg = &lt;0x1a&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>

---

# Broadcom Kona family I2C controller

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

> Device-tree binding reference for Broadcom Kona family 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;brcm&#44;kona&#45;i2c&#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;Florian Fainelli &#60;f&#46;fainelli&#64;gmail&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

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

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

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

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

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

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

**Item 1**

> **Allowed values (<code>enum</code>):** <a id="dt-851ace07a50c83495949"></a> <span id="dt-63b688f2ccd82724cb8f"><code>&#34;brcm&#44;bcm11351&#45;i2c&#34;</code></span>, <span id="dt-2d97ae0f34d14dd8e72b"><code>&#34;brcm&#44;bcm21664&#45;i2c&#34;</code></span>, <span id="dt-9802844ed4869452d348"><code>&#34;brcm&#44;bcm23550&#45;i2c&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;brcm&#44;kona&#45;i2c&#34;</code></span>

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

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

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

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

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

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

<a id="dt-4e9a371963ac013ad39d"></a>

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

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

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-584ddff4c08470f8da57"></a> <span id="dt-c25853fc91ba647e0b10"><code>100000</code></span>, <span id="dt-0692e3e2989f8742a1a1"><code>400000</code></span>, <span id="dt-ba115210cf1ddbd23415"><code>1000000</code></span>, <span id="dt-f0cce890180d3fe891a7"><code>3400000</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;frequency&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

i2c@3e016000 {
    compatible = "brcm,bcm11351-i2c", "brcm,kona-i2c";
    reg = &lt;0x3e016000 0x80&gt;;
    interrupts = &lt;GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;bsc1_clk&gt;;
    clock-frequency = &lt;400000&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&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>

---

# Cadence I2C controller

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

> Device-tree binding reference for Cadence I2C controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;cdns&#44;i2c&#45;r1p10&#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;Michal Simek &#60;michal&#46;simek&#64;amd&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-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;cdns&#44;i2c&#45;r1p10&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;cdns&#44;i2c&#45;r1p14&#34;</code></span>

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

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

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

<a id="dt-4e9a371963ac013ad39d"></a>

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

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

### <code>resets</code> — not listed as required here

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

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

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

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

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-bdf19748a029a958ea75"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-60cd7829fc24dc9d0dc0"><code>400000</code></span>

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">Desired operating frequency, in Hz, of the bus.</p>
</div>

<a id="dt-555b77ac12a3396b493e"></a>

### <code>clock&#45;name</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-28826f4e7d67b3ba4dc1"><code>&#34;pclk&#34;</code></span>

<div id="dt-ff560d089bd51c7b2e7f">
<p style="white-space: pre-wrap">Input clock name.</p>
</div>

<a id="dt-9009089ae7f3a277016d"></a>

### <code>fifo&#45;depth</code> — not listed as required here

<div id="dt-6001d2d747c8109a3155">
<p style="white-space: pre-wrap">Size of the data FIFO in bytes.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-463006755219770b9d90">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Default value (<code>default</code>):** <span id="dt-2874c9cdf94b3fd3860e"><code>16</code></span>

**Allowed values (<code>enum</code>):** <a id="dt-4379e643cbdc85c3a8ca"></a> <span id="dt-34c31ac406d18d8e3d82"><code>2</code></span>, <span id="dt-a7359f714d94bc1932d7"><code>4</code></span>, <span id="dt-635d584654b0534d0c1c"><code>8</code></span>, <span id="dt-7f907d1eb3c1cf8d2e8f"><code>16</code></span>, <span id="dt-1d3e160af76cdd33c53a"><code>32</code></span>, <span id="dt-760833c8311e5dcb364f"><code>64</code></span>, <span id="dt-f1c9b3043bd7c7e11cdb"><code>128</code></span>, <span id="dt-c3a8a75aa0448b1d8a51"><code>256</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

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

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
i2c@e0004000 {
    compatible = "cdns,i2c-r1p10";
    clocks = &lt;&amp;clkc 38&gt;;
    resets = &lt;&amp;rstc 288&gt;;
    interrupts = &lt;GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH&gt;;
    reg = &lt;0xe0004000 0x1000&gt;;
    clock-frequency = &lt;400000&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    fifo-depth = &lt;8&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 OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 18:</strong> <span> cadence i2c controller version 1.0</span></p>

<p id="dt-comment-2"><strong>Line 19:</strong> <span> cadence i2c controller version 1.4</span></p>

</details>

---

# I2C bus that tunnels through the ChromeOS EC (cros-ec)

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

> Device-tree binding reference for I2C bus that tunnels through the ChromeOS EC (cros-ec).

<!-- SPDX-License-Identifier: (GPL-2.0 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;google&#44;cros&#45;ec&#45;i2c&#45;tunnel&#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;Doug Anderson &#60;dianders&#64;chromium&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Benson Leung &#60;bleung&#64;chromium&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">On some ChromeOS board designs we've got a connection to the EC
(embedded controller) but no direct connection to some devices on the
other side of the EC (like a battery and PMIC).  To get access to
those devices we need to tunnel our i2c commands through the EC.</p>
<p style="white-space: pre-wrap">The node for this device should be under a cros-ec node like
google,cros-ec-spi or google,cros-ec-i2c.</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;google&#44;cros&#45;ec&#45;i2c&#45;tunnel&#34;</code></span>

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

### <code>google&#44;remote&#45;bus</code> — required here

<div id="dt-5889e183aaf418b55ac1">
<p style="white-space: pre-wrap">The EC bus we'd like to talk to.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-99448ef62d274546c953">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**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;google&#44;remote&#45;bus&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">spi {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    cros-ec@0 {
        compatible = "google,cros-ec-spi";
        reg = &lt;0&gt;;
        spi-max-frequency = &lt;5000000&gt;;
        interrupts = &lt;99 0&gt;;

        i2c-tunnel {
            compatible = "google,cros-ec-i2c-tunnel";
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;

            google,remote-bus = &lt;0&gt;;

            battery: sbs-battery@b {
                compatible = "sbs,sbs-battery";
                reg = &lt;0xb&gt;;
                sbs,poll-retry-count = &lt;1&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 OR BSD-2-Clause)</span></p>

</details>

---

# HiSilicon common I2C controller

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

> Device-tree binding reference for HiSilicon common I2C controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;hisilicon&#44;ascend910&#45;i2c&#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;Yicong Yang &#60;yangyicong&#64;hisilicon&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The HiSilicon common I2C controller can be used for many different types of SoC such as Huawei Ascend AI series chips.</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;hisilicon&#44;ascend910&#45;i2c&#34;</code></span>

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

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

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

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

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

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

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

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

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-f1c4f38c5bf0a6f6c783"><code>400000</code></span>

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

### <code>i2c&#45;sda&#45;falling&#45;time&#45;ns</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-80d209c2ec187f250680"><code>343</code></span>

<a id="dt-483ad10d63c0af298e6c"></a>

### <code>i2c&#45;scl&#45;falling&#45;time&#45;ns</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-9840db10d377d1c0afbc"><code>203</code></span>

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

### <code>i2c&#45;sda&#45;hold&#45;time&#45;ns</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-a51bb937f21ca9733f6e"><code>830</code></span>

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

### <code>i2c&#45;scl&#45;rising&#45;time&#45;ns</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-76e37b0ea890e10bf708"><code>365</code></span>

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

### <code>i2c&#45;digital&#45;filter&#45;width&#45;ns</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-679e3e11367772ff1c6e"><code>0</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

i2c@38b0000 {
  compatible = "hisilicon,ascend910-i2c";
  reg = &lt;0x38b0000 0x10000&gt;;
  interrupts = &lt;GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH&gt;;
  i2c-sda-falling-time-ns = &lt;56&gt;;
  i2c-scl-falling-time-ns = &lt;56&gt;;
  i2c-sda-hold-time-ns = &lt;56&gt;;
  i2c-scl-rising-time-ns = &lt;56&gt;;
  i2c-digital-filter;
  i2c-digital-filter-width-ns = &lt;0x0&gt;;
  clocks = &lt;&amp;alg_clk&gt;;
  clock-frequency = &lt;400000&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 OR BSD-2-Clause)</span></p>

</details>

---

# I2C for HiSilicon hix5hd2 chipset platform

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

> Device-tree binding reference for I2C for HiSilicon hix5hd2 chipset platform.

<!-- 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;hisilicon&#44;hix5hd2&#45;i2c&#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;Wei Yan &#60;sledge&#46;yanwei&#64;huawei&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-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;hisilicon&#44;hix5hd2&#45;i2c&#34;</code></span>

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

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

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

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

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

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

<a id="dt-4e9a371963ac013ad39d"></a>

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

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

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">Desired I2C bus frequency in Hz</p>
</div>

**Default value (<code>default</code>):** <span id="dt-f1c4f38c5bf0a6f6c783"><code>100000</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/clock/hix5hd2-clock.h&gt;

i2c@f8b10000 {
    compatible = "hisilicon,hix5hd2-i2c";
    reg = &lt;0xf8b10000 0x1000&gt;;
    interrupts = &lt;0 38 4&gt;;
    clocks = &lt;&amp;clock HIX5HD2_I2C0_RST&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&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>

---

# HPE GXP SoC I2C Controller

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

> Device-tree binding reference for HPE GXP SoC 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;hpe&#44;gxp&#45;i2c&#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;Nick Hawkins &#60;nick&#46;hawkins&#64;hpe&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;hpe&#44;gxp&#45;i2c&#34;</code></span>

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

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

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

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

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

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

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-f1c4f38c5bf0a6f6c783"><code>100000</code></span>

<a id="dt-3a7280c534b4b6e0571b"></a>

### <code>hpe&#44;sysreg</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-39815385b22d0921b2ca">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>

<div id="dt-e6f7996c3be474acda06">
<p style="white-space: pre-wrap">Phandle to the global status and enable interrupt registers shared between each I2C engine controller instance. It enables the I2C engine controller to act as both a master or slave by being able to arm and respond to interrupts from its engine. Each bit in the registers represent the respective bit position.</p>
</div>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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@2600 {
    compatible = "hpe,gxp-i2c";
    reg = &lt;0x2500 0x70&gt;;
    interrupts = &lt;9&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    hpe,sysreg = &lt;&amp;sysreg_system_controller&gt;;
    clock-frequency = &lt;10000&gt;;

    eeprom@50 {
        compatible = "atmel,24c128";
        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>

---

# GPIO-based I2C Arbitration Using a Challenge & Response Mechanism

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

> Device-tree binding reference for GPIO-based I2C Arbitration Using a Challenge & Response Mechanism.

<!-- 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;i2c&#45;arb&#45;gpio&#45;challenge&#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;Doug Anderson &#60;dianders&#64;chromium&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Peter Rosin &#60;peda&#64;axentia&#46;se&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This uses GPIO lines and a challenge &amp; response mechanism to arbitrate who is
the master of an I2C bus in a multimaster situation.</p>
<p style="white-space: pre-wrap">In many cases using GPIOs to arbitrate is not needed and a design can use the
standard I2C multi-master rules.  Using GPIOs is generally useful in the case
where there is a device on the bus that has errata and/or bugs that makes
standard multimaster mode not feasible.</p>
<pre><code>Note that this scheme works well enough but has some downsides:
 * It is nonstandard (not using standard I2C multimaster)
 * Having two masters on a bus in general makes it relatively hard to debug
   problems (hard to tell if i2c issues were caused by one master, another,
   or some device on the bus).</code></pre>
<p style="white-space: pre-wrap">Algorithm:
All masters on the bus have a 'bus claim' line which is an output that the
others can see. These are all active low with pull-ups enabled.  We'll
describe these lines as:
 * OUR_CLAIM: output from us signaling to other hosts that we want the bus
 * THEIR_CLAIMS: output from others signaling that they want the bus</p>
<p style="white-space: pre-wrap">The basic algorithm is to assert your line when you want the bus, then make
sure that the other side doesn't want it also.  A detailed explanation is
best done with an example.</p>
<pre><code>Let's say we want to claim the bus.  We:
1. Assert OUR_CLAIM.
2. Waits a little bit for the other sides to notice (slew time, say 10
   microseconds).
3. Check THEIR_CLAIMS.  If none are asserted then the we have the bus and we
   are done.
4. Otherwise, wait for a few milliseconds and see if THEIR_CLAIMS are released.
5. If not, back off, release the claim and wait for a few more milliseconds.
6. Go back to 1 (until retry time has expired).</code></pre>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;i2c&#45;arb&#45;gpio&#45;challenge&#34;</code></span>

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

### <code>i2c&#45;parent</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-483fdd435500ca1c14bd">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>

<div id="dt-de3c238d7401b2094729">
<p style="white-space: pre-wrap">The I2C bus that this multiplexer's master-side port is connected to.</p>
</div>

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

### <code>our&#45;claim&#45;gpios</code> — required here

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

<div id="dt-872ba405402dfb03b916">
<p style="white-space: pre-wrap">The GPIO that we use to claim the bus.</p>
</div>

<a id="dt-678795f55be7dfa97f43"></a>

### <code>slew&#45;delay&#45;us</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-8b852bd51d265f81fe91"><code>10</code></span>

<div id="dt-1799c72da3cae6fb4eb2">
<p style="white-space: pre-wrap">Time to wait for a GPIO to go high.</p>
</div>

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

### <code>their&#45;claim&#45;gpios</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-c3257299096128362e81"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-98293c6d7148fc5247f3"><code>8</code></span>

<div id="dt-843ffbd65b95dc1d1f09">
<p style="white-space: pre-wrap">The GPIOs that the other sides use to claim the bus.  Note that some implementations may only support a single other master.</p>
</div>

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

### <code>wait&#45;free&#45;us</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-942b963c62cca9e41bf4"><code>50000</code></span>

<div id="dt-f3120dcd343cdf265d18">
<p style="white-space: pre-wrap">We'll give up after this many microseconds.</p>
</div>

<a id="dt-307b8a4ce6236cfc9a7c"></a>

### <code>wait&#45;retry&#45;us</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-6ee4b28bf721c4d6a7d0"><code>3000</code></span>

<div id="dt-3ce3c897b472b6acc9a9">
<p style="white-space: pre-wrap">We'll attempt another claim after this many microseconds.</p>
</div>

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

### <code>i2c&#45;arb</code> — required here

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

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

<a id="dt-88a671e59d603764ff18"></a>

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

<code>false</code>

Not allowed by this rule.

<div id="dt-4173698b909bfefe2188">
<p style="white-space: pre-wrap">I2C arbitration bus node.</p>
</div>

**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;i2c&#45;arb&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;our&#45;claim&#45;gpios&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;their&#45;claim&#45;gpios&#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">#include &lt;dt-bindings/gpio/gpio.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

i2c-arbitrator {
    compatible = "i2c-arb-gpio-challenge";
    i2c-parent = &lt;&amp;i2c_4&gt;;

    our-claim-gpios = &lt;&amp;gpf0 3 GPIO_ACTIVE_LOW&gt;;
    their-claim-gpios = &lt;&amp;gpe0 4 GPIO_ACTIVE_LOW&gt;;
    slew-delay-us = &lt;10&gt;;
    wait-retry-us = &lt;3000&gt;;
    wait-free-us = &lt;50000&gt;;

    i2c-arb {
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        sbs-battery@b {
            compatible = "sbs,sbs-battery";
            reg = &lt;0xb&gt;;
            sbs,poll-retry-count = &lt;1&gt;;
        };

        embedded-controller@1e {
            compatible = "google,cros-ec-i2c";
            reg = &lt;0x1e&gt;;
            interrupts = &lt;6 IRQ_TYPE_LEVEL_HIGH&gt;;
            interrupt-parent = &lt;&amp;gpx1&gt;;
            pinctrl-names = "default";
            pinctrl-0 = &lt;&amp;ec_irq&gt;;
            wakeup-source;
        };
    };
};
</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>

---

# Common i2c address translator properties

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

> Device-tree binding reference for Common i2c address translator properties.

<!-- 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;i2c&#45;atr&#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;Tomi Valkeinen &#60;tomi&#46;valkeinen&#64;ideasonboard&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">An I2C Address Translator (ATR) is a device with an I2C slave parent ("upstream") port and N I2C master child ("downstream") ports, and forwards transactions from upstream to the appropriate downstream port with a modified slave address. The address used on the parent bus is called the "alias" and is (potentially) different from the physical slave address of the child bus. Address translation is done by the hardware.</p>
</div>

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

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

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

### <code>i2c&#45;alias&#45;pool</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-beab4f20eaf3b5c66b1a">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-03a03f95a666fe4b033c>)</span>

<div id="dt-1aad0d8b28845e64cfe0">
<p style="white-space: pre-wrap">I2C alias pool is a pool of I2C addresses on the main I2C bus that can be used to access the remote peripherals on the serializer's I2C bus. The addresses must be available, not used by any other peripheral. Each remote peripheral is assigned an alias from the pool, and transactions to that address will be forwarded to the remote peripheral, with the address translated to the remote peripheral's real address. This property is not needed if there are no I2C addressable remote peripherals.</p>
</div>

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

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

<code>true</code>

Allowed by this rule.

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

---

# Pinctrl-based I2C Bus Demultiplexer

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

> Device-tree binding reference for Pinctrl-based I2C Bus Demultiplexer.

<!-- 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;i2c&#45;demux&#45;pinctrl&#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;Wolfram Sang &#60;wsa&#43;renesas&#64;sang&#45;engineering&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This binding describes an I2C bus demultiplexer that uses pin multiplexing to
route the I2C signals, and represents the pin multiplexing configuration
using the pinctrl device tree bindings.  This may be used to select one I2C
IP core at runtime which may have a better feature set for a given task than
another I2C IP core on the SoC.  The most simple example is to fall back to
GPIO bitbanging if your current runtime configuration hits an errata of the
internal IP core.</p>
<pre><code>    +-------------------------------+
    | SoC                           |
    |                               |   +-----+  +-----+
    |   +------------+              |   | dev |  | dev |
    |   |I2C IP Core1|--\           |   +-----+  +-----+
    |   +------------+   \-------+  |      |        |
    |                    |Pinctrl|--|------+--------+
    |   +------------+   +-------+  |
    |   |I2C IP Core2|--/           |
    |   +------------+              |
    |                               |
    +-------------------------------+</code></pre>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;i2c&#45;demux&#45;pinctrl&#34;</code></span>

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

### <code>i2c&#45;parent</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-483fdd435500ca1c14bd">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<a id="dt-8b8cbe24308b044b9cf5"></a>

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

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

<div id="dt-de3c238d7401b2094729">
<p style="white-space: pre-wrap">List of phandles of I2C masters available for selection.  The first one will be used as default.</p>
</div>

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

### <code>i2c&#45;bus&#45;name</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-2f0f9509994ff425c7ce">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

<div id="dt-6574ea761841cc9b1dd2">
<p style="white-space: pre-wrap">The name of this bus.  Also needed as pinctrl-name for the I2C parents.</p>
</div>

**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;i2c&#45;parent&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;i2c&#45;bus&#45;name&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/gpio/gpio.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

gpioi2c2: i2c-9 {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    compatible = "i2c-gpio";
    scl-gpios = &lt;&amp;gpio5 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)&gt;;
    sda-gpios = &lt;&amp;gpio5 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)&gt;;
    i2c-gpio,delay-us = &lt;5&gt;;

    // The I2C controller must have its status "disabled".  The I2C bus
    // demultiplexer will enable it at runtime when needed.
    status = "disabled";
};

iic2: i2c@e6520000 {
    reg = &lt;0xe6520000 0x425&gt;;
    pinctrl-0 = &lt;&amp;iic2_pins&gt;;
    // The pinctrl property for the parent I2C controller needs a pinctrl
    // state with the same name as i2c-bus-name in the I2C bus demultiplexer
    // node, not "default"!
    pinctrl-names = "i2c-hdmi";

    clock-frequency = &lt;100000&gt;;

    // The I2C controller must have its status "disabled".  The I2C bus
    // demultiplexer will enable it at runtime when needed.
    status = "disabled";
};

i2c2: i2c@e6530000 {
    reg = &lt;0 0xe6530000 0 0x40&gt;;
    pinctrl-0 = &lt;&amp;i2c2_pins&gt;;
    // The pinctrl property for the parent I2C controller needs a pinctrl
    // state with the same name as i2c-bus-name in the I2C bus demultiplexer
    // node, not "default"!
    pinctrl-names = "i2c-hdmi";

    clock-frequency = &lt;100000&gt;;

    // The I2C controller must have its status "disabled".  The I2C bus
    // demultiplexer will enable it at runtime when needed.
    status = "disabled";
};

// Example for a bus to be demuxed.  It contains various I2C clients for
// HDMI, so the bus is named "i2c-hdmi":
i2chdmi: i2c-mux3 {
    compatible = "i2c-demux-pinctrl";
    i2c-parent = &lt;&amp;iic2&gt;, &lt;&amp;i2c2&gt;, &lt;&amp;gpioi2c2&gt;;
    i2c-bus-name = "i2c-hdmi";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    ak4643: codec@12 {
        compatible = "asahi-kasei,ak4643";
        #sound-dai-cells = &lt;0&gt;;
        reg = &lt;0x12&gt;;
    };

    composite-in@20 {
        compatible = "adi,adv7180";
        reg = &lt;0x20&gt;;

        port {
            adv7180: endpoint {
                bus-width = &lt;8&gt;;
                remote-endpoint = &lt;&amp;vin1ep0&gt;;
            };
        };
    };

    hdmi@39 {
        compatible = "adi,adv7511w";
        reg = &lt;0x39&gt;;
        interrupt-parent = &lt;&amp;gpio1&gt;;
        interrupts = &lt;15 IRQ_TYPE_LEVEL_LOW&gt;;
        clocks = &lt;&amp;cec_clock&gt;;
        clock-names = "cec";

        avdd-supply = &lt;&amp;fixedregulator1v8&gt;;
        dvdd-supply = &lt;&amp;fixedregulator1v8&gt;;
        pvdd-supply = &lt;&amp;fixedregulator1v8&gt;;
        dvdd-3v-supply = &lt;&amp;fixedregulator3v3&gt;;
        bgvdd-supply = &lt;&amp;fixedregulator1v8&gt;;

        adi,input-depth = &lt;8&gt;;
        adi,input-colorspace = "rgb";
        adi,input-clock = "1x";

        ports {
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;

            port@0 {
                reg = &lt;0&gt;;
                adv7511_in: endpoint {
                    remote-endpoint = &lt;&amp;lvds0_out&gt;;
                };
            };

            port@1 {
                reg = &lt;1&gt;;
                adv7511_out: endpoint {
                    remote-endpoint = &lt;&amp;hdmi_con_out&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>

---

# Samsung's High Speed I2C controller

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

> Device-tree binding reference for Samsung's High Speed 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;i2c&#45;exynos5&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Samsung's High Speed I2C controller is used to interface with I2C devices
at various speeds ranging from 100kHz to 3.4MHz.</p>
<p style="white-space: pre-wrap">In case the HSI2C controller is encapsulated within USI block (it's the case
e.g. for Exynos850 and Exynos Auto V9 SoCs), it might be also necessary to
define USI node in device tree file, choosing "i2c" configuration. Please see
Documentation/devicetree/bindings/soc/samsung/exynos-usi.yaml for details.</p>
</div>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;samsung&#44;exynos5250&#45;hsi2c&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;samsung&#44;exynos5260&#45;hsi2c&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;samsung&#44;exynos7&#45;hsi2c&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;samsung&#44;exynos8895&#45;hsi2c&#34;</code></span>, <span id="dt-d29c3f554eb9a606c63a"><code>&#34;samsung&#44;exynosautov9&#45;hsi2c&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;samsung&#44;exynos5433&#45;hsi2c&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;samsung&#44;exynos7870&#45;hsi2c&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;tesla&#44;fsd&#45;hsi2c&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;samsung&#44;exynos7&#45;hsi2c&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9d5b9f6fd2f9759f6e43"></a> <span id="dt-73fb2f4b762df7b35870"><code>&#34;samsung&#44;exynos8890&#45;hsi2c&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;samsung&#44;exynos8895&#45;hsi2c&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> <a id="dt-a1b1c435b08c85ff96c7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4758c8f9c99bfa28b10c"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-12b3e48e4010cb944698"></a> <span id="dt-e46f645e6715baa60581"><code>&#34;google&#44;gs101&#45;hsi2c&#34;</code></span>, <span id="dt-f0654d9dc65c16ce7d6a"><code>&#34;samsung&#44;exynos2200&#45;hsi2c&#34;</code></span>, <span id="dt-80bf5233c0e34928f5ac"><code>&#34;samsung&#44;exynos850&#45;hsi2c&#34;</code></span>, <span id="dt-3e86066ba2e9703b9565"><code>&#34;samsung&#44;exynos990&#45;hsi2c&#34;</code></span>
>
> <a id="dt-c99d921c49bf15e79633"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-9e0f2ef968dd632f09b7"><code>&#34;samsung&#44;exynosautov9&#45;hsi2c&#34;</code></span>

<a id="dt-6932ba24e194ea67730d"></a>

**Rule 5**

> **Exact value (<code>const</code>):** <span id="dt-db09842262b0bfa9d4c5"><code>&#34;samsung&#44;exynos5&#45;hsi2c&#34;</code></span>
>
> **Deprecated (<code>deprecated</code>):** <span id="dt-d907917c0634ece2cf1f"><code>true</code></span>

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

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

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

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

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

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

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-f1c4f38c5bf0a6f6c783"><code>100000</code></span>

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">Desired operating frequency in Hz of the bus.
If not specified, the bus operates in fast-speed mode at 100kHz.
If specified, the bus operates in high-speed mode only if the clock-frequency is &gt;= 1MHz.</p>
</div>

<a id="dt-4e9a371963ac013ad39d"></a>

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">I2C operating clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Bus clock (APB)</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

<a id="dt-3d1de59bdfddccf00eed"></a>

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;hsi2c&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;hsi2c&#95;pclk&#34;</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-61039da0155527cc02ba"></a> <span id="dt-20f8a813aab744ff239a"><code>&#34;samsung&#44;exynosautov9&#45;hsi2c&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-cc2edf6d98aafaff5f44"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-b0ed5de2f4ed693e5dda"><code>2</code></span>
> >
> > <a id="dt-dde63784a5285c3f925c"></a>
> >
> > **<code>clock&#45;names</code> — required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-4c755ff4260d5b6f370d"><code>2</code></span>
> >
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;clock&#45;names&#34;</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-06019e51c0ffd9e2b759"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-dcb3529a47ff83792ccf"><code>1</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/clock/exynos5420.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

hsi2c_8: i2c@12e00000 {
    compatible = "samsung,exynos5250-hsi2c";
    reg = &lt;0x12e00000 0x1000&gt;;
    interrupts = &lt;GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    clock-frequency = &lt;100000&gt;;
    clocks = &lt;&amp;clock CLK_USI4&gt;;
    clock-names = "hsi2c";

    pmic@66 {
        /* compatible = "samsung,s2mps11-pmic"; */
        reg = &lt;0x66&gt;;
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/clock/exynos850.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

hsi2c_2: i2c@138c0000 {
    compatible = "samsung,exynosautov9-hsi2c";
    reg = &lt;0x138c0000 0xc0&gt;;
    interrupts = &lt;GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    clocks = &lt;&amp;cmu_peri CLK_GOUT_HSI2C2_IPCLK&gt;,
             &lt;&amp;cmu_peri CLK_GOUT_HSI2C2_PCLK&gt;;
    clock-names = "hsi2c", "hsi2c_pclk";

    pmic@66 {
        /* compatible = "samsung,s2mps11-pmic"; */
        reg = &lt;0x66&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>

<p id="dt-comment-1"><strong>Line 25:</strong> <span> Exynos5250 and Exynos5420</span></p>

<p id="dt-comment-2"><strong>Line 26:</strong> <span> Exynos5260</span></p>

<p id="dt-comment-3"><strong>Line 27:</strong> <span> Exynos7</span></p>

<p id="dt-comment-4"><strong>Line 47:</strong> <span> Exynos5250 and Exynos5420</span></p>

</details>

---

# Common i2c gate properties

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

> Device-tree binding reference for Common i2c gate properties.

<!-- SPDX-License-Identifier: (GPL-2.0 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;i2c&#45;gate&#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;Peter Rosin &#60;peda&#64;axentia&#46;se&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">An i2c gate is useful to e.g. reduce the digital noise for RF tuners connected
to the i2c bus. Gates are similar to arbitrators in that you need to perform
some kind of operation to access the i2c bus past the arbitrator/gate, but
there are no competing masters to consider for gates and therefore there is
no arbitration happening for gates.</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

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

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-8cca737a574136d30da2"><code>&#34;i2c&#45;gate&#34;</code></span>

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

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

<code>true</code>

Allowed by this rule.

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">i2c-gate {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    ak8975@c {
        compatible = "asahi-kasei,ak8975";
        reg = &lt;0x0c&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 OR BSD-2-Clause)</span></p>

</details>

---

# GPIO bitbanged I2C

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

> Device-tree binding reference for GPIO bitbanged I2C.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;i2c&#45;gpio&#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;Wolfram Sang &#60;wsa&#64;kernel&#46;org&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

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

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

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

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-aaadfb6b044cada8472e"><code>&#34;i2c&#45;gpio&#34;</code></span>

<a id="dt-4c2d24b2a6b517e58e11"></a>

### <code>sda&#45;gpios</code> — required here

<div id="dt-5d89f3877cf5b7ec40ea">
<p style="white-space: pre-wrap">gpio used for the sda signal, this should be flagged as active high using open drain with (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN) from &lt;dt-bindings/gpio/gpio.h&gt; since the signal is by definition open drain.</p>
</div>

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

<a id="dt-8613faf4e22687cd03b4"></a>

### <code>scl&#45;gpios</code> — required here

<div id="dt-c462f43ad0f1705d55d3">
<p style="white-space: pre-wrap">gpio used for the scl signal, this should be flagged as active high using open drain with (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN) from &lt;dt-bindings/gpio/gpio.h&gt; since the signal is by definition open drain.</p>
</div>

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

<a id="dt-4f581efdbc8992168271"></a>

### <code>i2c&#45;gpio&#44;sda&#45;output&#45;only</code> — not listed as required here

<div id="dt-cad0f59eabc38c032bd0">
<p style="white-space: pre-wrap">sda as output only</p>
</div>

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

<a id="dt-3a0fd946d24d8dedea55"></a>

### <code>i2c&#45;gpio&#44;scl&#45;output&#45;only</code> — not listed as required here

<div id="dt-30c62b36a67a421ce5ab">
<p style="white-space: pre-wrap">scl as output only</p>
</div>

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

<a id="dt-3d6e8e8eaad39171718f"></a>

### <code>i2c&#45;gpio&#44;delay&#45;us</code> — not listed as required here

<div id="dt-465521ffcaebe643b5d6">
<p style="white-space: pre-wrap">delay between GPIO operations (may depend on each platform)</p>
</div>

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

### <code>i2c&#45;gpio&#44;timeout&#45;ms</code> — not listed as required here

<div id="dt-6d0a78976a07145f1af1">
<p style="white-space: pre-wrap">timeout to get data</p>
</div>

<a id="dt-6423357510c4f559d9df"></a>

### <code>gpios</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-aa7577d23b35bf762b02"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-6e02d6c73a4125d32798"><code>2</code></span>

<div id="dt-e9a56736b9784e1b506e">
<p style="white-space: pre-wrap">sda and scl gpio, alternative for {sda,scl}-gpios</p>
</div>

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

### <code>i2c&#45;gpio&#44;sda&#45;open&#45;drain</code> — not listed as required here

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

**Deprecated (<code>deprecated</code>):** <span id="dt-b37057fcf92c70d37bd4"><code>true</code></span>

<div id="dt-3f60c438f3df1b88d0bd">
<p style="white-space: pre-wrap">this means that something outside of our control has put the GPIO line used for SDA into open drain mode, and that something is not the GPIO chip. It is essentially an inconsistency flag.</p>
</div>

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

### <code>i2c&#45;gpio&#44;scl&#45;open&#45;drain</code> — not listed as required here

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

**Deprecated (<code>deprecated</code>):** <span id="dt-c18fcbddacb74f11d2c2"><code>true</code></span>

<div id="dt-1069018ecd32d503e70d">
<p style="white-space: pre-wrap">this means that something outside of our control has put the GPIO line used for SCL into open drain mode, and that something is not the GPIO chip. It is essentially an inconsistency flag.</p>
</div>

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

### <code>i2c&#45;gpio&#44;sda&#45;has&#45;no&#45;pullup</code> — not listed as required here

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

<div id="dt-5f91c5650a2bcd5a2993">
<p style="white-space: pre-wrap">sda is used in a non-compliant way and has no pull-up. Therefore disable open-drain. This property is mutually-exclusive with i2c-gpio,sda-open-drain.</p>
</div>

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

### <code>i2c&#45;gpio&#44;scl&#45;has&#45;no&#45;pullup</code> — not listed as required here

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

<div id="dt-cc8df58618d1f0776cef">
<p style="white-space: pre-wrap">scl is used in a non-compliant way and has no pull-up. Therefore disable open-drain. This property is mutually-exclusive with i2c-gpio,scl-open-drain.</p>
</div>

<a id="dt-3d235861b18e278e9c09"></a>

## Property dependencies (<code>dependencies</code>)

<a id="dt-43b2e85cbcb10b0e12ab"></a>

### <code>i2c&#45;gpio&#44;sda&#45;has&#45;no&#45;pullup</code> — applies when this property is present

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

#### This rule must not match (<code>not</code>)

> **Required in this object (<code>required</code>):** <a id="dt-c1a2d624930556e65da7"></a> <span id="dt-372326443858a2508e25"><code>&#34;i2c&#45;gpio&#44;sda&#45;open&#45;drain&#34;</code></span>

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

### <code>i2c&#45;gpio&#44;scl&#45;has&#45;no&#45;pullup</code> — applies when this property is present

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

#### This rule must not match (<code>not</code>)

> **Required in this object (<code>required</code>):** <a id="dt-7dd18eeb5f1794757d3b"></a> <span id="dt-6e7caa85a961e248f1ec"><code>&#34;i2c&#45;gpio&#44;scl&#45;open&#45;drain&#34;</code></span>

**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;sda&#45;gpios&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;scl&#45;gpios&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

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

<code>false</code>

Not allowed by this rule.

## 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</span></p>

<p id="dt-comment-1"><strong>Line 50:</strong> <span> Deprecated properties, do not use in new device tree sources:</span></p>

</details>

---

# Freescale Low Power Inter IC (LPI2C) for i.MX

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

> Device-tree binding reference for Freescale Low Power Inter IC (LPI2C) for i.MX.

<!-- 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;i2c&#45;imx&#45;lpi2c&#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;Shawn Guo &#60;shawnguo&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Sascha Hauer &#60;s&#46;hauer&#64;pengutronix&#46;de&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Fabio Estevam &#60;festevam&#64;gmail&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;fsl&#44;imx7ulp&#45;lpi2c&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;fsl&#44;imx8qxp&#45;lpi2c&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;fsl&#44;imx8dxl&#45;lpi2c&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;fsl&#44;imx8qm&#45;lpi2c&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;fsl&#44;imx8ulp&#45;lpi2c&#34;</code></span>, <span id="dt-eb61ad381053476dae55"><code>&#34;fsl&#44;imx93&#45;lpi2c&#34;</code></span>, <span id="dt-05b29c21ca38ad337d53"><code>&#34;fsl&#44;imx94&#45;lpi2c&#34;</code></span>, <span id="dt-93c2763ada782db7e26c"><code>&#34;fsl&#44;imx95&#45;lpi2c&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;fsl&#44;imx7ulp&#45;lpi2c&#34;</code></span>

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

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

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

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

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

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

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

### <code>assigned&#45;clock&#45;parents</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

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

### <code>assigned&#45;clock&#45;rates</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-12d2eb74181a2f7523ba"></a>

### <code>assigned&#45;clocks</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;per&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;ipg&#34;</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

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

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>2</code></span>

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

### <code>dmas</code> — not listed as required here

<a id="dt-6b8b17969f3f8620256b"></a>

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

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

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">DMA controller phandle and request line for TX</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">DMA controller phandle and request line for RX</p>
> </div>

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

### <code>dma&#45;names</code> — not listed as required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;tx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;rx&#34;</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

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

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/clock/imx7ulp-clock.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

i2c@40a50000 {
    compatible = "fsl,imx7ulp-lpi2c";
    reg = &lt;0x40A50000 0x10000&gt;;
    interrupt-parent = &lt;&amp;intc&gt;;
    interrupts = &lt;GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;clks IMX7ULP_CLK_LPI2C7&gt;,
             &lt;&amp;clks IMX7ULP_CLK_NIC1_BUS_DIV&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>

---

# Freescale Inter IC (I2C) and High Speed Inter IC (HS-I2C) for i.MX

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

> Device-tree binding reference for Freescale Inter IC (I2C) and High Speed Inter IC (HS-I2C) for i.MX.

<!-- 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;i2c&#45;imx&#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;Oleksij Rempel &#60;o&#46;rempel&#64;pengutronix&#46;de&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;fsl&#44;imx1&#45;i2c&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;fsl&#44;imx21&#45;i2c&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> **Exact value (<code>const</code>):** <span id="dt-710bc579d54b8b6b1f6c"><code>&#34;fsl&#44;vf610&#45;i2c&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> **Exact value (<code>const</code>):** <span id="dt-bb8aa9a35453860e510c"><code>&#34;nxp&#44;s32g2&#45;i2c&#34;</code></span>

<a id="dt-6932ba24e194ea67730d"></a>

**Rule 5**

> <a id="dt-196210d7e8a5e94e1226"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4b7c967de45ba4ead27f"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-427722b6d265dacc9449"></a> <span id="dt-3e38de7c21c96fb8ed17"><code>&#34;fsl&#44;ls1012a&#45;i2c&#34;</code></span>, <span id="dt-70bcbd54d6039c7aaf2b"><code>&#34;fsl&#44;ls1021a&#45;i2c&#34;</code></span>, <span id="dt-86255e190909da68156f"><code>&#34;fsl&#44;ls1028a&#45;i2c&#34;</code></span>, <span id="dt-aac8b48ada99e27f6e6d"><code>&#34;fsl&#44;ls1043a&#45;i2c&#34;</code></span>, <span id="dt-f7cdb1e4e4b2902ba168"><code>&#34;fsl&#44;ls1046a&#45;i2c&#34;</code></span>, <span id="dt-4d255741ac7f402d8564"><code>&#34;fsl&#44;ls1088a&#45;i2c&#34;</code></span>, <span id="dt-b24ab9809243fbe11e64"><code>&#34;fsl&#44;ls208xa&#45;i2c&#34;</code></span>, <span id="dt-e22502167745a31d6059"><code>&#34;fsl&#44;lx2160a&#45;i2c&#34;</code></span>
>
> <a id="dt-caf6ce7d7f34e1e8d173"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-4a97b7e5e83d59103118"><code>&#34;fsl&#44;vf610&#45;i2c&#34;</code></span>

<a id="dt-264a99ec2691e9f8d8d2"></a>

**Rule 6**

> <a id="dt-4dad5affd79a503edb55"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-d020c8ab76f112be7460"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-871cc0788ba4de3e95d6"><code>&#34;fsl&#44;imx35&#45;i2c&#34;</code></span>
>
> <a id="dt-ad0f80061981c404704b"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-bc7bfc6606ce7d2bcbe4"><code>&#34;fsl&#44;imx1&#45;i2c&#34;</code></span>

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

**Rule 7**

> <a id="dt-12134cfffbae030c1559"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-0f098b450772c8e28b15"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-98fb02bf6c2d83a04ca9"><code>&#34;fsl&#44;imx7d&#45;i2c&#34;</code></span>
>
> <a id="dt-1df18a1c142d17441200"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1f1916fbcc1459030d21"><code>&#34;fsl&#44;imx21&#45;i2c&#34;</code></span>

<a id="dt-60b24f68de01e59cfd70"></a>

**Rule 8**

> <a id="dt-a91f11e3ee56eb619882"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-611ad0263e50f540b36a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-72b22c5bf87dbb78bd31"></a> <span id="dt-55659dce8bd104aba2f5"><code>&#34;fsl&#44;imx25&#45;i2c&#34;</code></span>, <span id="dt-c47233d2b028b5b6f080"><code>&#34;fsl&#44;imx27&#45;i2c&#34;</code></span>, <span id="dt-3a0d1ebc4effbe3f861b"><code>&#34;fsl&#44;imx31&#45;i2c&#34;</code></span>, <span id="dt-d71a7ecb49b24aac3e43"><code>&#34;fsl&#44;imx50&#45;i2c&#34;</code></span>, <span id="dt-b24e3e24ed7ae76db458"><code>&#34;fsl&#44;imx51&#45;i2c&#34;</code></span>, <span id="dt-afa276bdf7a06e156945"><code>&#34;fsl&#44;imx53&#45;i2c&#34;</code></span>, <span id="dt-8e300af9be612c3b90c3"><code>&#34;fsl&#44;imx6q&#45;i2c&#34;</code></span>, <span id="dt-5eca82e1b55fc0fe3c4f"><code>&#34;fsl&#44;imx6sl&#45;i2c&#34;</code></span>, <span id="dt-66c88fec15ca3deea847"><code>&#34;fsl&#44;imx6sx&#45;i2c&#34;</code></span>, <span id="dt-ce6f6e99015acc016c83"><code>&#34;fsl&#44;imx6sll&#45;i2c&#34;</code></span>, <span id="dt-91e96af1749e40164d36"><code>&#34;fsl&#44;imx6ul&#45;i2c&#34;</code></span>, <span id="dt-dda9861056666319b7e9"><code>&#34;fsl&#44;imx7s&#45;i2c&#34;</code></span>, <span id="dt-51719d8bfb96cf3d1d50"><code>&#34;fsl&#44;imx8mq&#45;i2c&#34;</code></span>, <span id="dt-6066e5377c4c570e0506"><code>&#34;fsl&#44;imx8mm&#45;i2c&#34;</code></span>, <span id="dt-a8adc4faf3de16923a8b"><code>&#34;fsl&#44;imx8mn&#45;i2c&#34;</code></span>, <span id="dt-0e63190a05932f1831ae"><code>&#34;fsl&#44;imx8mp&#45;i2c&#34;</code></span>
>
> <a id="dt-d3f9d0dbf0af675db82a"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-6abcaea81f09b95281a2"><code>&#34;fsl&#44;imx21&#45;i2c&#34;</code></span>

<a id="dt-840363fe85852843a5d5"></a>

**Rule 9**

> <a id="dt-ff4224cf7f5631129c4c"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-0c8abd288d8f759ad679"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-1f45163265c31da42806"><code>&#34;nxp&#44;s32g3&#45;i2c&#34;</code></span>
>
> <a id="dt-d9db6ff55a8d819b5d66"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-a8f2e314cd14931f2cd0"><code>&#34;nxp&#44;s32g2&#45;i2c&#34;</code></span>

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

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

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

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

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

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

<a id="dt-4e9a371963ac013ad39d"></a>

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

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

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;ipg&#34;</code></span>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-bdf19748a029a958ea75"><code>1</code></span>

**Default value (<code>default</code>):** <span id="dt-f1c4f38c5bf0a6f6c783"><code>100000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-60cd7829fc24dc9d0dc0"><code>400000</code></span>

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

### <code>dmas</code> — not listed as required here

<a id="dt-6b8b17969f3f8620256b"></a>

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

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

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">DMA controller phandle and request line for RX</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">DMA controller phandle and request line for TX</p>
> </div>

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

### <code>dma&#45;names</code> — not listed as required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;rx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;tx&#34;</code></span>

<a id="dt-4c2d24b2a6b517e58e11"></a>

### <code>sda&#45;gpios</code> — not listed as required here

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

<a id="dt-8613faf4e22687cd03b4"></a>

### <code>scl&#45;gpios</code> — not listed as required here

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

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/clock/imx5-clock.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

i2c@83fc4000 {
    compatible = "fsl,imx51-i2c", "fsl,imx21-i2c";
    reg = &lt;0x83fc4000 0x4000&gt;;
    interrupts = &lt;63&gt;;
    clocks = &lt;&amp;clks IMX5_CLK_I2C2_GATE&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/clock/vf610-clock.h&gt;

i2c@40066000 {
    compatible = "fsl,vf610-i2c";
    reg = &lt;0x40066000 0x1000&gt;;
    interrupts = &lt;71 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;clks VF610_CLK_I2C0&gt;;
    clock-names = "ipg";
    dmas = &lt;&amp;edma0 0 50&gt;,
           &lt;&amp;edma0 0 51&gt;;
    dma-names = "rx", "tx";
};
</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>

---

# I2C-Bus adapter for MPC824x/83xx/85xx/86xx/512x/52xx SoCs

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

> Device-tree binding reference for I2C-Bus adapter for MPC824x/83xx/85xx/86xx/512x/52xx SoCs.

<!-- 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;i2c&#45;mpc&#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;Chris Packham &#60;chris&#46;packham&#64;alliedtelesis&#46;co&#46;nz&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;mpc5200&#45;i2c&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;fsl&#44;mpc5200&#45;i2c&#34;</code></span>, <span id="dt-b7d19de74fd35364d49f"><code>&#34;fsl&#44;mpc5121&#45;i2c&#34;</code></span>, <span id="dt-6cbdeefc52e7132bc62c"><code>&#34;fsl&#44;mpc8313&#45;i2c&#34;</code></span>, <span id="dt-fd88adda17227ca32776"><code>&#34;fsl&#44;mpc8543&#45;i2c&#34;</code></span>, <span id="dt-f0dfbb755d86acc4c265"><code>&#34;fsl&#44;mpc8544&#45;i2c&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;fsl&#45;i2c&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;fsl&#44;mpc5200b&#45;i2c&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;fsl&#44;mpc5200&#45;i2c&#34;</code></span>
>
> <a id="dt-1655c7bc2063a21f60f8"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-7c57653c6bcac024338a"><code>&#34;fsl&#45;i2c&#34;</code></span>

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

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

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

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

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

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

<a id="dt-6f4f505288755dc4acd8"></a>

### <code>fsl&#44;preserve&#45;clocking</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-1134ae0e253297a7db3b">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<div id="dt-31f9a0d65301fdb9c00a">
<p style="white-space: pre-wrap">if defined, the clock settings from the bootloader are
preserved (not touched)</p>
</div>

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

### <code>fsl&#44;timeout</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-546e80c9cfe282cee465">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

**Deprecated (<code>deprecated</code>):** <span id="dt-7d4da0307f532c146b20"><code>true</code></span>

<div id="dt-8496e033043169d8fb25">
<p style="white-space: pre-wrap">I2C bus timeout in microseconds</p>
</div>

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

### <code>fsl&#44;i2c&#45;erratum&#45;a004447</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-332e18b51174ec391180">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<div id="dt-f92fbac02121c7155381">
<p style="white-space: pre-wrap">Indicates the presence of QorIQ erratum A-004447, which
says that the standard i2c recovery scheme mechanism does
not work and an alternate implementation is needed.</p>
</div>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">/* MPC5121 based board */
i2c@1740 {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    compatible = "fsl,mpc5121-i2c", "fsl-i2c";
    reg = &lt;0x1740 0x20&gt;;
    interrupts = &lt;11 0x8&gt;;
    interrupt-parent = &lt;&amp;ipic&gt;;
    clock-frequency = &lt;100000&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">/* MPC5200B based board */
i2c@3d00 {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    compatible = "fsl,mpc5200b-i2c", "fsl,mpc5200-i2c", "fsl-i2c";
    reg = &lt;0x3d00 0x40&gt;;
    interrupts = &lt;2 15 0&gt;;
    interrupt-parent = &lt;&amp;mpc5200_pic&gt;;
    fsl,preserve-clocking;
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">/* MPC8544 base board */
i2c@3100 {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    compatible = "fsl,mpc8544-i2c", "fsl-i2c";
    reg = &lt;0x3100 0x100&gt;;
    interrupts = &lt;43 2&gt;;
    interrupt-parent = &lt;&amp;mpic&gt;;
    clock-frequency = &lt;400000&gt;;
    i2c-transfer-timeout-us = &lt;10000&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>

---

# MediaTek I2C controller

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

> Device-tree binding reference for MediaTek 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;i2c&#45;mt65xx&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This driver interfaces with the native I2C controller present in various MediaTek SoCs.</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Qii Wang &#60;qii&#46;wang&#64;mediatek&#46;com&#62;&#34;</code></span>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;mediatek&#44;mt2712&#45;i2c&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;mediatek&#44;mt6577&#45;i2c&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> **Exact value (<code>const</code>):** <span id="dt-710bc579d54b8b6b1f6c"><code>&#34;mediatek&#44;mt6589&#45;i2c&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> **Exact value (<code>const</code>):** <span id="dt-bb8aa9a35453860e510c"><code>&#34;mediatek&#44;mt7622&#45;i2c&#34;</code></span>

<a id="dt-6932ba24e194ea67730d"></a>

**Rule 5**

> **Exact value (<code>const</code>):** <span id="dt-db09842262b0bfa9d4c5"><code>&#34;mediatek&#44;mt7981&#45;i2c&#34;</code></span>

<a id="dt-264a99ec2691e9f8d8d2"></a>

**Rule 6**

> **Exact value (<code>const</code>):** <span id="dt-c300a8811f2c7ccc81ad"><code>&#34;mediatek&#44;mt7986&#45;i2c&#34;</code></span>

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

**Rule 7**

> **Exact value (<code>const</code>):** <span id="dt-2ac514c95c227d8b07a6"><code>&#34;mediatek&#44;mt8168&#45;i2c&#34;</code></span>

<a id="dt-60b24f68de01e59cfd70"></a>

**Rule 8**

> **Exact value (<code>const</code>):** <span id="dt-27c8ffe3d76e28ae72d6"><code>&#34;mediatek&#44;mt8173&#45;i2c&#34;</code></span>

<a id="dt-840363fe85852843a5d5"></a>

**Rule 9**

> **Exact value (<code>const</code>):** <span id="dt-bec40614635fcd46f2cb"><code>&#34;mediatek&#44;mt8183&#45;i2c&#34;</code></span>

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

**Rule 10**

> **Exact value (<code>const</code>):** <span id="dt-02326b96b5c4be808cd1"><code>&#34;mediatek&#44;mt8186&#45;i2c&#34;</code></span>

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

**Rule 11**

> **Exact value (<code>const</code>):** <span id="dt-cdeb112c76527ce123e5"><code>&#34;mediatek&#44;mt8188&#45;i2c&#34;</code></span>

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

**Rule 12**

> **Exact value (<code>const</code>):** <span id="dt-5f423cde5ed63fbfa3e9"><code>&#34;mediatek&#44;mt8192&#45;i2c&#34;</code></span>

<a id="dt-6d942b3e5c7b6045d73a"></a>

**Rule 13**

> <a id="dt-7d7d49b152c4307412c9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-699ce4b8788bb023fb82"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-cec4a53236588867d45b"></a> <span id="dt-3f85adea66b2eb11b638"><code>&#34;mediatek&#44;mt7629&#45;i2c&#34;</code></span>, <span id="dt-f428e9e1af08724aa20f"><code>&#34;mediatek&#44;mt8516&#45;i2c&#34;</code></span>
>
> <a id="dt-7c595c2f962b766708fe"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-ca4d0e0a27e2d4d55a5c"><code>&#34;mediatek&#44;mt2712&#45;i2c&#34;</code></span>

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

**Rule 14**

> <a id="dt-c09f524cba0eac1fe1b5"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-28b2780838c7376d177c"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-708ff26f2dc9d64525bb"></a> <span id="dt-a782d840925fa35d8c04"><code>&#34;mediatek&#44;mt2701&#45;i2c&#34;</code></span>, <span id="dt-15d04f2418d8cbe0f8a5"><code>&#34;mediatek&#44;mt6797&#45;i2c&#34;</code></span>, <span id="dt-f5ff1207962db5ddec9e"><code>&#34;mediatek&#44;mt7623&#45;i2c&#34;</code></span>
>
> <a id="dt-1384db688f3c012fd714"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-a7baf6f9d04ca812eb39"><code>&#34;mediatek&#44;mt6577&#45;i2c&#34;</code></span>

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

**Rule 15**

> <a id="dt-e830b044453bcdb3e740"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-07feffb136b6bb50bab8"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-192336ccafc7d4db4d18"></a> <span id="dt-37b53d92b161dfab7720"><code>&#34;mediatek&#44;mt8365&#45;i2c&#34;</code></span>
>
> <a id="dt-0866a94172e739d401d1"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-a8c1bff646ba9350c5ab"><code>&#34;mediatek&#44;mt8168&#45;i2c&#34;</code></span>

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

**Rule 16**

> <a id="dt-80b7c13091dac5c38e72"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-583ce27b5ed3ac8a921f"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-993d57beedc8655b0234"></a> <span id="dt-dbf8bcd14d7852d0cdf5"><code>&#34;mediatek&#44;mt6795&#45;i2c&#34;</code></span>
>
> <a id="dt-b2a236a57d289e6e7893"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-7150081b9b8a4de4ea2f"><code>&#34;mediatek&#44;mt8173&#45;i2c&#34;</code></span>

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

**Rule 17**

> <a id="dt-ecbd59b0bc5deb138a7f"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-375a0583cb2ef1666b37"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-dfaf2a772d1bfe171775"></a> <span id="dt-b6640553b9d3c9cdfe28"><code>&#34;mediatek&#44;mt6878&#45;i2c&#34;</code></span>, <span id="dt-ea16a187ace1694ff00f"><code>&#34;mediatek&#44;mt6991&#45;i2c&#34;</code></span>, <span id="dt-0f9ca47b9ddb028168e1"><code>&#34;mediatek&#44;mt8189&#45;i2c&#34;</code></span>, <span id="dt-874b0107aa4a28c2ac91"><code>&#34;mediatek&#44;mt8196&#45;i2c&#34;</code></span>
>
> <a id="dt-125c803c6b55d0e2505c"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-9b41909c985df57fbff1"><code>&#34;mediatek&#44;mt8188&#45;i2c&#34;</code></span>

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

**Rule 18**

> <a id="dt-bc6ed4e83171936ec9bf"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4abb2611629d00e0878a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-6fc2e39545ce0e580958"></a> <span id="dt-bdaf11aaa444e5e82bc7"><code>&#34;mediatek&#44;mt6893&#45;i2c&#34;</code></span>, <span id="dt-e0779671124981e82ca3"><code>&#34;mediatek&#44;mt8195&#45;i2c&#34;</code></span>
>
> <a id="dt-c301c7c93ecdcd72aed3"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-80425ec1d3ad518b5bc7"><code>&#34;mediatek&#44;mt8192&#45;i2c&#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">Physical base address</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">DMA base address</p>
> </div>

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

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

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

<a id="dt-4e9a371963ac013ad39d"></a>

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>2</code></span>

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Main clock for I2C bus</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Clock for I2C via DMA</p>
> </div>

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

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">Bus arbitrator clock</p>
> </div>

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

**Item 4**

> <div id="dt-dea0dc8762ea31ff72ac">
> <p style="white-space: pre-wrap">Clock for I2C from PMIC</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>2</code></span>

<a id="dt-3d1de59bdfddccf00eed"></a>

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;main&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;dma&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;arb&#34;</code></span>

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

**Item 4**

> **Exact value (<code>const</code>):** <span id="dt-a00c09b3bb0bf38fee22"><code>&#34;pmic&#34;</code></span>

<a id="dt-209894f1e8e0d4a53f39"></a>

### <code>clock&#45;div</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-79a4a616a09bbae9626c">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-62e0424d49cb09a75296">
<p style="white-space: pre-wrap">Frequency divider of clock source in I2C module</p>
</div>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-f1c4f38c5bf0a6f6c783"><code>100000</code></span>

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">SCL frequency to use (in Hz). If omitted, 100kHz is used.</p>
</div>

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

### <code>mediatek&#44;have&#45;pmic</code> — not listed as required here

<div id="dt-9c051b9474d8683198ad">
<p style="white-space: pre-wrap">Platform controls I2C from PMIC side</p>
</div>

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

<a id="dt-8124925f0ed30cab3fe0"></a>

### <code>mediatek&#44;use&#45;push&#45;pull</code> — not listed as required here

<div id="dt-805fed4e31b42a8d0e03">
<p style="white-space: pre-wrap">Use push-pull mode I/O config</p>
</div>

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

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

### <code>vbus&#45;supply</code> — not listed as required here

<div id="dt-a1fdf854418887cff8c5">
<p style="white-space: pre-wrap">Phandle to the regulator providing power to SCL/SDA</p>
</div>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;div&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;interrupts&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

i2c0: i2c@1100d000 {
  compatible = "mediatek,mt6577-i2c";
  reg = &lt;0x1100d000 0x70&gt;, &lt;0x11000300 0x80&gt;;
  interrupts = &lt;GIC_SPI 44 IRQ_TYPE_LEVEL_LOW&gt;;
  clocks = &lt;&amp;i2c0_ck&gt;, &lt;&amp;ap_dma_ck&gt;;
  clock-names = "main", "dma";
  clock-div = &lt;16&gt;;
  clock-frequency = &lt;400000&gt;;
  mediatek,have-pmic;

  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&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>

---

# GPIO-based I2C Bus Mux

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

> Device-tree binding reference for GPIO-based I2C Bus Mux.

<!-- SPDX-License-Identifier: GPL-2.0-only -->


<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;i2c&#45;mux&#45;gpio&#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;Wolfram Sang &#60;wsa&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This binding describes an I2C bus multiplexer that uses GPIOs to route the I2C signals.</p>
<pre><code>                                +-----+  +-----+
                                | dev |  | dev |
  +------------+                +-----+  +-----+
  | SoC        |                   |        |
  |            |          /--------+--------+
  |   +------+ |  +------+    child bus A, on GPIO value set to 0
  |   | I2C  |-|--| Mux  |
  |   +------+ |  +--+---+    child bus B, on GPIO value set to 1
  |            |     |    \----------+--------+--------+
  |   +------+ |     |               |        |        |
  |   | GPIO |-|-----+            +-----+  +-----+  +-----+
  |   +------+ |                  | dev |  | dev |  | dev |
  +------------+                  +-----+  +-----+  +-----+</code></pre>
<p style="white-space: pre-wrap">For each I2C child node, an I2C child bus will be created. They will be numbered based on their
order in the device tree.</p>
<p style="white-space: pre-wrap">Whenever an access is made to a device on a child bus, the value set in the relevant node's reg
property will be output using the list of GPIOs, the first in the list holding the least-
significant value.</p>
<p style="white-space: pre-wrap">If an idle state is defined, using the idle-state (optional) property, whenever an access is not
being made to a device on a child bus, the GPIOs will be set according to the idle value.</p>
<p style="white-space: pre-wrap">If an idle state is not defined, the most recently used value will be left programmed into
hardware whenever no access is being made to a device on a child bus.</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;i2c&#45;mux&#45;gpio&#34;</code></span>

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

### <code>i2c&#45;parent</code> — required here

<div id="dt-de3c238d7401b2094729">
<p style="white-space: pre-wrap">phandle of the I2C bus that this multiplexer's master-side port is connected to</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-483fdd435500ca1c14bd">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>

<a id="dt-474038e2038cc081a1e6"></a>

### <code>mux&#45;gpios</code> — required here

<div id="dt-3d434f8809298776c2b4">
<p style="white-space: pre-wrap">list of GPIOs used to control the muxer</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-60bf482be08e191bf0e3"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c72f49c3e41f0817bf75"><code>4</code></span>

<a id="dt-877dcb91674563236ebf"></a>

### <code>idle&#45;state</code> — not listed as required here

<div id="dt-b8a01cc0337c77470b30">
<p style="white-space: pre-wrap">Value to set the muxer to when idle. When no value is given, it defaults to the last value used.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-24811695b6339419e1c8">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<a id="dt-90e6abe3a781f3f2b386"></a>

### <code>settle&#45;time&#45;us</code> — not listed as required here

<div id="dt-225927c603d01664344d">
<p style="white-space: pre-wrap">Delay to wait before doing any transfer when a new bus gets selected.</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>i2c&#45;mux&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-i2c/i2c-mux.md#dt-root>)</span>

<a id="dt-63ab525a9812ac23c446"></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;i2c&#45;parent&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;mux&#45;gpios&#34;</code></span>

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">i2cmux {
  compatible = "i2c-mux-gpio";
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;
  mux-gpios = &lt;&amp;gpio1 22 0&gt;, &lt;&amp;gpio1 23 0&gt;;
  i2c-parent = &lt;&amp;i2c1&gt;;

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

    ssd1307: oled@3c {
      compatible = "solomon,ssd1307fb-i2c";
      reg = &lt;0x3c&gt;;
      pwms = &lt;&amp;pwm 4 3000&gt;;
      reset-gpios = &lt;&amp;gpio2 7 1&gt;;
    };
  };

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

    pca9555: pca9555@20 {
      compatible = "nxp,pca9555";
      gpio-controller;
      #gpio-cells = &lt;2&gt;;
      reg = &lt;0x20&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</span></p>

<p id="dt-comment-1"><strong>Line 53:</strong> <span> Should be enough</span></p>

</details>

---

# General Purpose I2C Bus Mux

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

> Device-tree binding reference for General Purpose I2C Bus Mux.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;i2c&#45;mux&#45;gpmux&#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;Peter Rosin &#60;peda&#64;axentia&#46;se&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This binding describes an I2C bus multiplexer that uses a mux controller
from the mux subsystem to route the I2C signals.</p>
<pre><code>                                  .-----.  .-----.
                                  | dev |  | dev |
    .------------.                '-----'  '-----'
    | SoC        |                   |        |
    |            |          .--------+--------'
    |   .------. |  .------+    child bus A, on MUX value set to 0
    |   | I2C  |-|--| Mux  |
    |   '------' |  '--+---+    child bus B, on MUX value set to 1
    |   .------. |     |    '----------+--------+--------.
    |   | MUX- | |     |               |        |        |
    |   | Ctrl |-|-----+            .-----.  .-----.  .-----.
    |   '------' |                  | dev |  | dev |  | dev |
    '------------'                  '-----'  '-----'  '-----'</code></pre>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

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

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;i2c&#45;mux&#34;</code></span>

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

### <code>i2c&#45;parent</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-483fdd435500ca1c14bd">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>

<div id="dt-de3c238d7401b2094729">
<p style="white-space: pre-wrap">The phandle of the I2C bus that this multiplexer's master-side port is connected to.</p>
</div>

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

### <code>mux&#45;controls</code> — required here

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

<div id="dt-31599b5d414641e76da0">
<p style="white-space: pre-wrap">The mux-controller states are the I2C sub-bus numbers.</p>
</div>

<a id="dt-8fc52263644c3c2828c3"></a>

### <code>mux&#45;locked</code> — not listed as required here

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

<div id="dt-606a55b4c94aa300889a">
<p style="white-space: pre-wrap">Explicitly allow unrelated I2C transactions on the parent I2C adapter at
these times:
 - during setup of the multiplexer
 - between setup of the multiplexer and the child bus I2C transaction
 - between the child bus I2C transaction and releasing of the multiplexer
 - during releasing of the multiplexer</p>
<p style="white-space: pre-wrap">However, I2C transactions to devices behind all I2C multiplexers connected
to the same parent adapter that this multiplexer is connected to are blocked
for the full duration of the complete multiplexed I2C transaction (i.e.
including the times covered by the above list).
If mux-locked is not present, the multiplexer is assumed to be parent-locked.
This means that no unrelated I2C transactions are allowed on the parent I2C
adapter for the complete multiplexed I2C transaction.
The properties of mux-locked and parent-locked multiplexers are discussed
in more detail in Documentation/i2c/i2c-topology.rst.</p>
</div>

**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;i2c&#45;parent&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;mux&#45;controls&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/gpio/gpio.h&gt;
mux: mux-controller {
    compatible = "gpio-mux";
    #mux-control-cells = &lt;0&gt;;

    mux-gpios = &lt;&amp;pioA 0 GPIO_ACTIVE_HIGH&gt;,
                &lt;&amp;pioA 1 GPIO_ACTIVE_HIGH&gt;;
};

i2c-mux {
    compatible = "i2c-mux";
    mux-locked;
    i2c-parent = &lt;&amp;i2c1&gt;;

    mux-controls = &lt;&amp;mux&gt;;

    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

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

        gpio@20 {
            compatible = "nxp,pca9555";
            gpio-controller;
            #gpio-cells = &lt;2&gt;;
            reg = &lt;0x20&gt;;
        };
    };

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

        gpio@20 {
            compatible = "nxp,pca9555";
            gpio-controller;
            #gpio-cells = &lt;2&gt;;
            reg = &lt;0x20&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</span></p>

</details>

---

# NXP PCA954x I2C and compatible bus switches

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

> Device-tree binding reference for NXP PCA954x I2C and compatible bus switches.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;i2c&#45;mux&#45;pca954x&#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;Laurent Pinchart &#60;laurent&#46;pinchart&#64;ideasonboard&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The NXP PCA954x and compatible devices are I2C bus multiplexer/switches that share the same functionality and register layout. The devices usually have 4 or 8 child buses, which are attached to the parent bus by using the SMBus "Send Byte" command.</p>
</div>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;maxim&#44;max7356&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;maxim&#44;max7357&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;maxim&#44;max7358&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;maxim&#44;max7367&#34;</code></span>, <span id="dt-d29c3f554eb9a606c63a"><code>&#34;maxim&#44;max7368&#34;</code></span>, <span id="dt-6abdfa16ccd722b794e6"><code>&#34;maxim&#44;max7369&#34;</code></span>, <span id="dt-7775c6eae6cdca3e9809"><code>&#34;nxp&#44;pca9540&#34;</code></span>, <span id="dt-9727c2c60e912d553bb7"><code>&#34;nxp&#44;pca9542&#34;</code></span>, <span id="dt-1361d1fce62d86040b5e"><code>&#34;nxp&#44;pca9543&#34;</code></span>, <span id="dt-a66cdf3fb4555997cc02"><code>&#34;nxp&#44;pca9544&#34;</code></span>, <span id="dt-9dfc548002c970ddb9ed"><code>&#34;nxp&#44;pca9545&#34;</code></span>, <span id="dt-fb22acbeafd709abc5c8"><code>&#34;nxp&#44;pca9546&#34;</code></span>, <span id="dt-126cc5375600a24450a4"><code>&#34;nxp&#44;pca9547&#34;</code></span>, <span id="dt-48af8ab2b0bf666c111f"><code>&#34;nxp&#44;pca9548&#34;</code></span>, <span id="dt-93c684a4411aa7651252"><code>&#34;nxp&#44;pca9846&#34;</code></span>, <span id="dt-d588dd80e5516a5342b1"><code>&#34;nxp&#44;pca9847&#34;</code></span>, <span id="dt-c4741ba15f31508c90e4"><code>&#34;nxp&#44;pca9848&#34;</code></span>, <span id="dt-ddb7cf91dc53a9159584"><code>&#34;nxp&#44;pca9849&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;nxp&#44;pca9646&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nxp&#44;pca9546&#34;</code></span>

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

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

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

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

### <code>interrupts</code> — not listed as required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

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

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

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

### <code>interrupt&#45;controller</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

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

### <code>reset&#45;gpios</code> — not listed as required here

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

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

### <code>i2c&#45;mux&#45;idle&#45;disconnect</code> — not listed as required here

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

<div id="dt-bf0657c6c058a0a81b26">
<p style="white-space: pre-wrap">Forces mux to disconnect all children in idle state. This is necessary for example, if there are several multiplexers on the bus and the devices behind them use same I2C addresses.</p>
</div>

<a id="dt-877dcb91674563236ebf"></a>

### <code>idle&#45;state</code> — not listed as required here

<div id="dt-b8a01cc0337c77470b30">
<p style="white-space: pre-wrap">if present, overrides i2c-mux-idle-disconnect</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-24811695b6339419e1c8">[<code>&#47;schemas&#47;mux&#47;mux&#45;controller&#46;yaml&#35;&#47;properties&#47;idle&#45;state</code>](</kernel/hardware/devicetree-bindings/dt-mux/mux-controller.md#dt-877dcb91674563236ebf>)</span>

<a id="dt-236855bde9eebcc9d904"></a>

### <code>vdd&#45;supply</code> — not listed as required here

<div id="dt-bc3e69b335e23d461899">
<p style="white-space: pre-wrap">A voltage regulator supplying power to the chip. On PCA9846 the regulator supplies power to VDD2 (core logic) and optionally to VDD1.</p>
</div>

<a id="dt-3fc02886c5dcf9387b1b"></a>

### <code>maxim&#44;isolate&#45;stuck&#45;channel</code> — not listed as required here

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

<div id="dt-007e7f90a95a26384257">
<p style="white-space: pre-wrap">Allows to use non faulty channels while a stuck channel is isolated from the upstream bus. If not set all channels are isolated from the upstream bus until the fault is cleared.</p>
</div>

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

### <code>maxim&#44;send&#45;flush&#45;out&#45;sequence</code> — not listed as required here

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

<div id="dt-e5709036a88f78552841">
<p style="white-space: pre-wrap">Send a flush-out sequence to stuck auxiliary buses automatically after a stuck channel is being detected.</p>
</div>

<a id="dt-952baeeb945b4a7286f5"></a>

### <code>maxim&#44;preconnection&#45;wiggle&#45;test&#45;enable</code> — not listed as required here

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

<div id="dt-a10fb23e9f83b596e6a3">
<p style="white-space: pre-wrap">Send a STOP condition to the auxiliary buses when the switch register activates a channel to detect a stuck high fault. On fault the channel is isolated from the upstream bus.</p>
</div>

**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-935ee547587f3e75de61"></a>

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

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

### Rule 1

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

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-1f5272cb1d084137975e"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > <a id="dt-eebbb9d41b21f12566d7"></a>
> > >
> > > **Properties and child nodes (<code>properties</code>)**
> > >
> > > <a id="dt-6aeb4c84797e4c678f3d"></a>
> > >
> > > **<code>compatible</code> — not listed as required here**
> > >
> > > <a id="dt-80145746a4351c4efa1b"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Allowed values (<code>enum</code>):** <a id="dt-443ad9ac2f97f204d10a"></a> <span id="dt-a909db0a3ccf92d72799"><code>&#34;maxim&#44;max7367&#34;</code></span>, <span id="dt-9fdadc529770563e596d"><code>&#34;maxim&#44;max7369&#34;</code></span>, <span id="dt-5a11c06023a6d320ce44"><code>&#34;nxp&#44;pca9542&#34;</code></span>, <span id="dt-43d416d8a46cc4012744"><code>&#34;nxp&#44;pca9543&#34;</code></span>, <span id="dt-3f6e9acce7a50f512b44"><code>&#34;nxp&#44;pca9544&#34;</code></span>, <span id="dt-749babc90c06a31ae419"><code>&#34;nxp&#44;pca9545&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-46e318450db8639361ba"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-4999172dbdfce5396313"></a>
> >
> > **<code>&#35;interrupt&#45;cells</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-6bdff3e610f4c28dbeec"></a>
> >
> > **<code>interrupt&#45;controller</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-ef222142ff9d3190ed20"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > <a id="dt-4987b4debb3a74d94c5b"></a>
> > >
> > > **Properties and child nodes (<code>properties</code>)**
> > >
> > > <a id="dt-ac7b0d241b0eeac3f8cf"></a>
> > >
> > > **<code>compatible</code> — not listed as required here**
> > >
> > > <a id="dt-bd6e7c649225ce52037a"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Allowed values (<code>enum</code>):** <a id="dt-fd10450fb4fc48d60cff"></a> <span id="dt-a53b1d1c12f88be042f7"><code>&#34;maxim&#44;max7357&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-4bb59800875a49f87081"></a>
> >
> > **<code>maxim&#44;isolate&#45;stuck&#45;channel</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-64cad867ca3cdb4c7884"></a>
> >
> > **<code>maxim&#44;send&#45;flush&#45;out&#45;sequence</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-95d848da30ad5a026155"></a>
> >
> > **<code>maxim&#44;preconnection&#45;wiggle&#45;test&#45;enable</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

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

    i2c-mux@74 {
        compatible = "nxp,pca9545";
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;
        reg = &lt;0x74&gt;;

        vdd-supply = &lt;&amp;p3v3&gt;;

        interrupt-parent = &lt;&amp;ipic&gt;;
        interrupts = &lt;17 IRQ_TYPE_LEVEL_LOW&gt;;
        interrupt-controller;
        #interrupt-cells = &lt;2&gt;;

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

            eeprom@54 {
                compatible = "atmel,24c08";
                reg = &lt;0x54&gt;;
            };
        };

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

            rtc@51 {
                compatible = "nxp,pcf8563";
                reg = &lt;0x51&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</span></p>

</details>

---

# Pinctrl-based I2C Bus Mux

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

> Device-tree binding reference for Pinctrl-based I2C Bus Mux.

<!-- SPDX-License-Identifier: GPL-2.0-only -->


<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;i2c&#45;mux&#45;pinctrl&#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;Wolfram Sang &#60;wsa&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This binding describes an I2C bus multiplexer that uses pin multiplexing to route the I2C
signals, and represents the pin multiplexing configuration using the pinctrl device tree
bindings.</p>
<pre><code>                               +-----+  +-----+
                               | dev |  | dev |
  +------------------------+   +-----+  +-----+
  | SoC                    |      |        |
  |                   /----|------+--------+
  |   +---+   +------+     | child bus A, on first set of pins
  |   |I2C|---|Pinmux|     |
  |   +---+   +------+     | child bus B, on second set of pins
  |                   \----|------+--------+--------+
  |                        |      |        |        |
  +------------------------+  +-----+  +-----+  +-----+
                              | dev |  | dev |  | dev |
                              +-----+  +-----+  +-----+</code></pre>
<p style="white-space: pre-wrap">For each named state defined in the pinctrl-names property, an I2C child bus will be created.
I2C child bus numbers are assigned based on the index into the pinctrl-names property.</p>
<p style="white-space: pre-wrap">The only exception is that no bus will be created for a state named "idle". If such a state is
defined, it must be the last entry in pinctrl-names. For example:</p>
<pre><code>  pinctrl-names = "ddc", "pta", "idle"  -&gt;  ddc = bus 0, pta = bus 1
  pinctrl-names = "ddc", "idle", "pta"  -&gt;  Invalid ("idle" not last)
  pinctrl-names = "idle", "ddc", "pta"  -&gt;  Invalid ("idle" not last)</code></pre>
<p style="white-space: pre-wrap">Whenever an access is made to a device on a child bus, the relevant pinctrl state will be
programmed into hardware.</p>
<p style="white-space: pre-wrap">If an idle state is defined, whenever an access is not being made to a device on a child bus,
the idle pinctrl state will be programmed into hardware.</p>
<p style="white-space: pre-wrap">If an idle state is not defined, the most recently used pinctrl state will be left programmed
into hardware whenever no access is being made of a device on a child bus.</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;i2c&#45;mux&#45;pinctrl&#34;</code></span>

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

### <code>i2c&#45;parent</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-483fdd435500ca1c14bd">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>

<div id="dt-de3c238d7401b2094729">
<p style="white-space: pre-wrap">The phandle of the I2C bus that this multiplexer's master-side port is connected to.</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>i2c&#45;mux&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-i2c/i2c-mux.md#dt-root>)</span>

<a id="dt-63ab525a9812ac23c446"></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;i2c&#45;parent&#34;</code></span>

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">i2cmux {
  compatible = "i2c-mux-pinctrl";
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  i2c-parent = &lt;&amp;i2c1&gt;;

  pinctrl-names = "ddc", "pta", "idle";
  pinctrl-0 = &lt;&amp;state_i2cmux_ddc&gt;;
  pinctrl-1 = &lt;&amp;state_i2cmux_pta&gt;;
  pinctrl-2 = &lt;&amp;state_i2cmux_idle&gt;;

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

    eeprom@50 {
      compatible = "atmel,24c02";
      reg = &lt;0x50&gt;;
    };
  };

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

    eeprom@50 {
      compatible = "atmel,24c02";
      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</span></p>

</details>

---

# Common i2c bus multiplexer/switch properties.

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

> Device-tree binding reference for Common i2c bus multiplexer/switch properties..

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;i2c&#45;mux&#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;Peter Rosin &#60;peda&#64;axentia&#46;se&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">An i2c bus multiplexer/switch will have several child busses that are numbered
uniquely in a device dependent manner.  The nodes for an i2c bus
multiplexer/switch will have one child node for each child bus.</p>
<p style="white-space: pre-wrap">For i2c multiplexers/switches that have child nodes that are a mixture of both
i2c child busses and other child nodes, the 'i2c-mux' subnode can be used for
populating the i2c child busses.  If an 'i2c-mux' subnode is present, only
subnodes of this will be considered as i2c child busses.</p>
</div>

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;&#40;i2c&#45;&#63;&#41;&#63;mux&#34;</code></span>

<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-3652c4d788e2b20288f3"></a>

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

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

<a id="dt-956f4b40894a88fb3478"></a>

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

<code>false</code>

Not allowed by this rule.

<a id="dt-508c3891570a235c1ce1"></a>

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

<a id="dt-6afdad1ea2d5619427af"></a>

**<code>reg</code> — not listed as required here**

<div id="dt-4f712dcea0ff3681021d">
<p style="white-space: pre-wrap">The mux selector sub-bus number for the child I2C bus.</p>
</div>

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

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

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

<code>true</code>

Allowed by this rule.

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">/*
 * An NXP pca9548 8 channel I2C multiplexer at address 0x70
 * with two NXP pca8574 GPIO expanders attached, one each to
 * ports 3 and 4.
 */
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    i2c-mux@70 {
        compatible = "nxp,pca9548";
        reg = &lt;0x70&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

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

            gpio@20 {
                compatible = "nxp,pca9555";
                gpio-controller;
                #gpio-cells = &lt;2&gt;;
                reg = &lt;0x20&gt;;
            };
        };
        i2c@4 {
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;
            reg = &lt;4&gt;;

            gpio@20 {
                compatible = "nxp,pca9555";
                gpio-controller;
                #gpio-cells = &lt;2&gt;;
                reg = &lt;0x20&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</span></p>

</details>

---

# Freescale MXS Inter IC (I2C) Controller

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

> Device-tree binding reference for Freescale MXS Inter IC (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;i2c&#45;mxs&#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;Shawn Guo &#60;shawnguo&#64;kernel&#46;org&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-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;fsl&#44;imx23&#45;i2c&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;fsl&#44;imx28&#45;i2c&#34;</code></span>

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

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

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

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

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

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

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-584ddff4c08470f8da57"></a> <span id="dt-c25853fc91ba647e0b10"><code>100000</code></span>, <span id="dt-0692e3e2989f8742a1a1"><code>400000</code></span>

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

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

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

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

### <code>dma&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-05981720df4cd7d43d3c"><code>&#34;rx&#45;tx&#34;</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;dmas&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;dma&#45;names&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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@80058000 {
    compatible = "fsl,imx28-i2c";
    reg = &lt;0x80058000 2000&gt;;
    interrupts = &lt;111&gt;;
    clock-frequency = &lt;100000&gt;;
    dmas = &lt;&amp;dma_apbx 6&gt;;
    dma-names = "rx-tx";
};
</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>

---

# Actions Semi Owl I2C Controller

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

> Device-tree binding reference for Actions Semi Owl 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;i2c&#45;owl&#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;Manivannan Sadhasivam &#60;manivannan&#46;sadhasivam&#64;linaro&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This I2C controller is found in the Actions Semi Owl SoCs:
S500, S700 and S900.</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-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;actions&#44;s500&#45;i2c&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;actions&#44;s700&#45;i2c&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;actions&#44;s900&#45;i2c&#34;</code></span>

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

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

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

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

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

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

<a id="dt-4e9a371963ac013ad39d"></a>

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

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">Phandle of the clock feeding the I2C controller.</p>
</div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">Desired I2C bus clock frequency in Hz. As only Standard and Fast
modes are supported, possible values are 100000 and 400000.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-584ddff4c08470f8da57"></a> <span id="dt-c25853fc91ba647e0b10"><code>100000</code></span>, <span id="dt-0692e3e2989f8742a1a1"><code>400000</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/clock/actions,s900-cmu.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
i2c@e0170000 {
    compatible = "actions,s900-i2c";
    reg = &lt;0xe0170000 0x1000&gt;;
    interrupts = &lt;GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;cmu CLK_I2C0&gt;;
    clock-frequency = &lt;100000&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>

<p id="dt-comment-1"><strong>Line 22:</strong> <span> Actions Semi S500 compatible SoCs</span></p>

<p id="dt-comment-2"><strong>Line 23:</strong> <span> Actions Semi S700 compatible SoCs</span></p>

<p id="dt-comment-3"><strong>Line 24:</strong> <span> Actions Semi S900 compatible SoCs</span></p>

</details>

---

# Marvell MMP I2C controller

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

> Device-tree binding reference for Marvell MMP I2C controller.

<!-- SPDX-License-Identifier: GPL-2.0-only -->


<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;i2c&#45;pxa&#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;Rob Herring &#60;robh&#64;kernel&#46;org&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-1f5272cb1d084137975e"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > **Required in this object (<code>required</code>):** <a id="dt-6d7596bdf54362b56296"></a> <span id="dt-04863704c832ad7c52e8"><code>&#34;mrvl&#44;i2c&#45;polling&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;interrupts&#34;</code></span>

<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;mrvl&#44;mmp&#45;twsi&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;mrvl&#44;pxa&#45;i2c&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;marvell&#44;armada&#45;3700&#45;i2c&#34;</code></span>

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

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

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

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

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

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

<a id="dt-4e9a371963ac013ad39d"></a>

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

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

### <code>resets</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-645ab1fb5ab11474dc54"><code>1</code></span>

<a id="dt-09e23b99d7411595c62a"></a>

### <code>mrvl&#44;i2c&#45;polling</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-43017830c834a9dc96f0">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<div id="dt-7eaadd6f5f22bbfd921f">
<p style="white-space: pre-wrap">Disable interrupt of i2c controller. Polling status register of i2c
controller instead.</p>
</div>

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

### <code>mrvl&#44;i2c&#45;fast&#45;mode</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a3d93aa66757ae447a50">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;flag</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-4496aa5cdf2440415eba>)</span>

<div id="dt-7913637a222adf45de35">
<p style="white-space: pre-wrap">Enable fast mode of i2c controller.</p>
</div>

<a id="dt-63ab525a9812ac23c446"></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;size&#45;cells&#34;</code></span>

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/clock/marvell,mmp2.h&gt;
i2c@d4011000 {
    compatible = "mrvl,mmp-twsi";
    reg = &lt;0xd4011000 0x1000&gt;;
    interrupts = &lt;7&gt;;
    clocks = &lt;&amp;soc_clocks MMP2_CLK_TWSI1&gt;;
    mrvl,i2c-fast-mode;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&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</span></p>

</details>

---

# Rockchip RK3xxx I2C controller

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

> Device-tree binding reference for Rockchip RK3xxx I2C controller.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;i2c&#45;rk3x&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This driver interfaces with the native I2C controller present in Rockchip RK3xxx SoCs.</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Heiko Stuebner &#60;heiko&#64;sntech&#46;de&#62;&#34;</code></span>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;rockchip&#44;rv1108&#45;i2c&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;rockchip&#44;rk3066&#45;i2c&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> **Exact value (<code>const</code>):** <span id="dt-710bc579d54b8b6b1f6c"><code>&#34;rockchip&#44;rk3188&#45;i2c&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> **Exact value (<code>const</code>):** <span id="dt-bb8aa9a35453860e510c"><code>&#34;rockchip&#44;rk3228&#45;i2c&#34;</code></span>

<a id="dt-6932ba24e194ea67730d"></a>

**Rule 5**

> **Exact value (<code>const</code>):** <span id="dt-db09842262b0bfa9d4c5"><code>&#34;rockchip&#44;rk3288&#45;i2c&#34;</code></span>

<a id="dt-264a99ec2691e9f8d8d2"></a>

**Rule 6**

> **Exact value (<code>const</code>):** <span id="dt-c300a8811f2c7ccc81ad"><code>&#34;rockchip&#44;rk3399&#45;i2c&#34;</code></span>

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

**Rule 7**

> <a id="dt-12134cfffbae030c1559"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-0f098b450772c8e28b15"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-a50dbdcda1889d080d46"></a> <span id="dt-1ca32ae328bab5c1a3df"><code>&#34;rockchip&#44;rk3036&#45;i2c&#34;</code></span>, <span id="dt-66ac7809c68e429ab039"><code>&#34;rockchip&#44;rk3128&#45;i2c&#34;</code></span>, <span id="dt-ac56f319e93d14720a9e"><code>&#34;rockchip&#44;rk3368&#45;i2c&#34;</code></span>
>
> <a id="dt-1df18a1c142d17441200"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1f1916fbcc1459030d21"><code>&#34;rockchip&#44;rk3288&#45;i2c&#34;</code></span>

<a id="dt-60b24f68de01e59cfd70"></a>

**Rule 8**

> <a id="dt-a91f11e3ee56eb619882"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-611ad0263e50f540b36a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-72b22c5bf87dbb78bd31"></a> <span id="dt-55659dce8bd104aba2f5"><code>&#34;rockchip&#44;px30&#45;i2c&#34;</code></span>, <span id="dt-c47233d2b028b5b6f080"><code>&#34;rockchip&#44;rk3308&#45;i2c&#34;</code></span>, <span id="dt-3a0d1ebc4effbe3f861b"><code>&#34;rockchip&#44;rk3328&#45;i2c&#34;</code></span>, <span id="dt-d71a7ecb49b24aac3e43"><code>&#34;rockchip&#44;rk3506&#45;i2c&#34;</code></span>, <span id="dt-b24e3e24ed7ae76db458"><code>&#34;rockchip&#44;rk3528&#45;i2c&#34;</code></span>, <span id="dt-afa276bdf7a06e156945"><code>&#34;rockchip&#44;rk3562&#45;i2c&#34;</code></span>, <span id="dt-8e300af9be612c3b90c3"><code>&#34;rockchip&#44;rk3568&#45;i2c&#34;</code></span>, <span id="dt-5eca82e1b55fc0fe3c4f"><code>&#34;rockchip&#44;rk3576&#45;i2c&#34;</code></span>, <span id="dt-66c88fec15ca3deea847"><code>&#34;rockchip&#44;rk3588&#45;i2c&#34;</code></span>, <span id="dt-ce6f6e99015acc016c83"><code>&#34;rockchip&#44;rv1126&#45;i2c&#34;</code></span>
>
> <a id="dt-d3f9d0dbf0af675db82a"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-6abcaea81f09b95281a2"><code>&#34;rockchip&#44;rk3399&#45;i2c&#34;</code></span>

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

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

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

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

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

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

<a id="dt-4e9a371963ac013ad39d"></a>

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">For older hardware (rk3066, rk3188, rk3228, rk3288) there is one clock that is used both to derive the functional clock for the device and as the bus clock. For newer hardware (rk3399) this clock is used to derive the functional clock</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">For newer hardware (rk3399) this is the bus clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

<a id="dt-3d1de59bdfddccf00eed"></a>

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;i2c&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;pclk&#34;</code></span>

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

### <code>rockchip&#44;grf</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-27c3eab1df2a1e51a08e">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>

<div id="dt-85bb741738dc0c8676e5">
<p style="white-space: pre-wrap">Required on RK3066, RK3188 the phandle of the syscon node for the general register file (GRF) On those SoCs an alias with the correct I2C bus ID (bit offset in the GRF) is also required.</p>
</div>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-f1c4f38c5bf0a6f6c783"><code>100000</code></span>

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">SCL frequency to use (in Hz). If omitted, 100kHz is used.</p>
</div>

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

### <code>i2c&#45;scl&#45;rising&#45;time&#45;ns</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-76e37b0ea890e10bf708"><code>1000</code></span>

<div id="dt-107124a2fd1d4637d3d9">
<p style="white-space: pre-wrap">Number of nanoseconds the SCL signal takes to rise (t(r) in I2C specification). If not specified this is assumed to be the maximum the specification allows(1000 ns for Standard-mode, 300 ns for Fast-mode) which might cause slightly slower communication.</p>
</div>

<a id="dt-483ad10d63c0af298e6c"></a>

### <code>i2c&#45;scl&#45;falling&#45;time&#45;ns</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-9840db10d377d1c0afbc"><code>300</code></span>

<div id="dt-cf2722e21ee84c23a7bb">
<p style="white-space: pre-wrap">Number of nanoseconds the SCL signal takes to fall (t(f) in the I2C specification). If not specified this is assumed to be the maximum the specification allows (300 ns) which might cause slightly slower communication.</p>
</div>

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

### <code>i2c&#45;sda&#45;falling&#45;time&#45;ns</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-80d209c2ec187f250680"><code>300</code></span>

<div id="dt-baaafa8c682a778f3747">
<p style="white-space: pre-wrap">Number of nanoseconds the SDA signal takes to fall (t(f) in the I2C specification). If not specified we will use the SCL value since they are the same in nearly all cases.</p>
</div>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

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

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-0c7b6d12024f922c1b96"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-824fdc441f7c94ae56ca"></a>
>
> #### <code>compatible</code> — not listed as required here
>
> <a id="dt-8239149d6c8b0a5dabbe"></a>
>
> **Rule for matching array elements (<code>contains</code>)**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-33b6ed092215f2be8801"></a> <span id="dt-9dc9072d1f2469ee9637"><code>&#34;rockchip&#44;rk3066&#45;i2c&#34;</code></span>, <span id="dt-5b5b6c5b8f914dcc6d1d"><code>&#34;rockchip&#44;rk3188&#45;i2c&#34;</code></span>

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> **Required in this object (<code>required</code>):** <a id="dt-824165741bab07e919e7"></a> <span id="dt-0be16f81402541b26aff"><code>&#34;rockchip&#44;grf&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/clock/rk3188-cru-common.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
i2c0: i2c@2002d000 {
  compatible = "rockchip,rk3188-i2c";
  reg = &lt;0x2002d000 0x1000&gt;;
  interrupts = &lt;GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH&gt;;
  clocks = &lt;&amp;cru PCLK_I2C0&gt;;
  clock-names = "i2c";
  rockchip,grf = &lt;&amp;grf&gt;;
  i2c-scl-falling-time-ns = &lt;100&gt;;
  i2c-scl-rising-time-ns = &lt;800&gt;;
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&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</span></p>

<p id="dt-comment-1"><strong>Line 19:</strong> <span> Everything else is described in the common file</span></p>

</details>

---

# Virtio I2C Adapter

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

> Device-tree binding reference for Virtio I2C Adapter.

<!-- 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;i2c&#45;virtio&#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;Viresh Kumar &#60;viresh&#46;kumar&#64;linaro&#46;org&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-22ca5ec5b89308748ecc"></a>

### Rule 2

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

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Virtio I2C device, see /schemas/virtio/virtio-device.yaml for more details.</p>
</div>

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

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-8cca737a574136d30da2"><code>&#34;i2c&#34;</code></span>

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;virtio&#44;device22&#34;</code></span>

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

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">virtio@3000 {
    compatible = "virtio,mmio";
    reg = &lt;0x3000 0x100&gt;;
    interrupts = &lt;41&gt;;

    i2c {
        compatible = "virtio,device22";

        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        light-sensor@20 {
            compatible = "dynaimage,al3320a";
            reg = &lt;0x20&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>

---

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

---

# Ingenic SoCs I2C controller

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

> Device-tree binding reference for Ingenic SoCs 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;ingenic&#44;i2c&#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;Paul Cercueil &#60;paul&#64;crapouillou&#46;net&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

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

<a id="dt-5155525ecd924660ec0a"></a>

### <code>&#36;nodename</code> — not listed as required here

**String pattern (<code>pattern</code>):** <span id="dt-0b2111a24a010949ece7"><code>&#34;&#94;i2c&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;&#34;</code></span>

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;ingenic&#44;jz4770&#45;i2c&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;ingenic&#44;x1000&#45;i2c&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;ingenic&#44;jz4780&#45;i2c&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;ingenic&#44;jz4770&#45;i2c&#34;</code></span>

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

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

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

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

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

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

<a id="dt-4e9a371963ac013ad39d"></a>

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

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

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — required here

**Allowed values (<code>enum</code>):** <a id="dt-584ddff4c08470f8da57"></a> <span id="dt-c25853fc91ba647e0b10"><code>100000</code></span>, <span id="dt-0692e3e2989f8742a1a1"><code>400000</code></span>

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

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

<a id="dt-6b8b17969f3f8620256b"></a>

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

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

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">DMA controller phandle and request line for RX</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">DMA controller phandle and request line for TX</p>
> </div>

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

### <code>dma&#45;names</code> — required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;rx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;tx&#34;</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;frequency&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;dmas&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;dma&#45;names&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/clock/ingenic,jz4780-cgu.h&gt;
#include &lt;dt-bindings/dma/jz4780-dma.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
i2c@10054000 {
  compatible = "ingenic,jz4780-i2c", "ingenic,jz4770-i2c";
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;
  reg = &lt;0x10054000 0x1000&gt;;

  interrupts = &lt;56 IRQ_TYPE_LEVEL_LOW&gt;;

  clocks = &lt;&amp;cgu JZ4780_CLK_SMB4&gt;;
  pinctrl-names = "default";
  pinctrl-0 = &lt;&amp;pins_i2c4_data&gt;;

  dmas = &lt;&amp;dma JZ4780_DMA_SMB4_RX 0xffffffff&gt;,
         &lt;&amp;dma JZ4780_DMA_SMB4_TX 0xffffffff&gt;;
  dma-names = "rx", "tx";

  clock-frequency = &lt;400000&gt;;

  rtc@51 {
    compatible = "nxp,pcf8563";
    reg = &lt;0x51&gt;;

    interrupts = &lt;30 IRQ_TYPE_LEVEL_LOW&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>

---

# Loongson LS2X I2C Controller

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

> Device-tree binding reference for Loongson LS2X 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;loongson&#44;ls2x&#45;i2c&#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;Binbin Zhou &#60;zhoubinbin&#64;loongson&#46;cn&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-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;loongson&#44;ls2k&#45;i2c&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;loongson&#44;ls7a&#45;i2c&#34;</code></span>

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

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

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

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

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

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

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

i2c0: i2c@1fe21000 {
    compatible = "loongson,ls2k-i2c";
    reg = &lt;0x1fe21000 0x8&gt;;
    interrupt-parent = &lt;&amp;extioiic&gt;;
    interrupts = &lt;22 IRQ_TYPE_LEVEL_LOW&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    eeprom@57 {
        compatible = "atmel,24c16";
        reg = &lt;0x57&gt;;
        pagesize = &lt;16&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>

---

# Marvell MV64XXX I2C Controller

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

> Device-tree binding reference for Marvell MV64XXX I2C Controller.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;marvell&#44;mv64xxx&#45;i2c&#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;Gregory CLEMENT &#60;gregory&#46;clement&#64;bootlin&#46;com&#62;&#34;</code></span>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;allwinner&#44;sun4i&#45;a10&#45;i2c&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;allwinner&#44;sun7i&#45;a20&#45;i2c&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;allwinner&#44;sun4i&#45;a10&#45;i2c&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> **Exact value (<code>const</code>):** <span id="dt-710bc579d54b8b6b1f6c"><code>&#34;allwinner&#44;sun6i&#45;a31&#45;i2c&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> <a id="dt-a1b1c435b08c85ff96c7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4758c8f9c99bfa28b10c"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-12b3e48e4010cb944698"></a> <span id="dt-e46f645e6715baa60581"><code>&#34;allwinner&#44;suniv&#45;f1c100s&#45;i2c&#34;</code></span>, <span id="dt-f0654d9dc65c16ce7d6a"><code>&#34;allwinner&#44;sun8i&#45;a23&#45;i2c&#34;</code></span>, <span id="dt-80bf5233c0e34928f5ac"><code>&#34;allwinner&#44;sun8i&#45;a83t&#45;i2c&#34;</code></span>, <span id="dt-3e86066ba2e9703b9565"><code>&#34;allwinner&#44;sun8i&#45;v536&#45;i2c&#34;</code></span>, <span id="dt-1fd75caf61d0f4869524"><code>&#34;allwinner&#44;sun50i&#45;a64&#45;i2c&#34;</code></span>, <span id="dt-51a303ddd42eafd347df"><code>&#34;allwinner&#44;sun50i&#45;h6&#45;i2c&#34;</code></span>
>
> <a id="dt-c99d921c49bf15e79633"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-9e0f2ef968dd632f09b7"><code>&#34;allwinner&#44;sun6i&#45;a31&#45;i2c&#34;</code></span>

<a id="dt-6932ba24e194ea67730d"></a>

**Rule 5**

> <div id="dt-67e1c2ab404e45238d0a">
> <p style="white-space: pre-wrap">Allwinner SoCs with offload support</p>
> </div>
>
> <a id="dt-196210d7e8a5e94e1226"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4b7c967de45ba4ead27f"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-427722b6d265dacc9449"></a> <span id="dt-3e38de7c21c96fb8ed17"><code>&#34;allwinner&#44;sun20i&#45;d1&#45;i2c&#34;</code></span>, <span id="dt-70bcbd54d6039c7aaf2b"><code>&#34;allwinner&#44;sun50i&#45;a100&#45;i2c&#34;</code></span>, <span id="dt-86255e190909da68156f"><code>&#34;allwinner&#44;sun50i&#45;h616&#45;i2c&#34;</code></span>, <span id="dt-aac8b48ada99e27f6e6d"><code>&#34;allwinner&#44;sun50i&#45;r329&#45;i2c&#34;</code></span>, <span id="dt-f7cdb1e4e4b2902ba168"><code>&#34;allwinner&#44;sun55i&#45;a523&#45;i2c&#34;</code></span>
>
> <a id="dt-caf6ce7d7f34e1e8d173"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-4a97b7e5e83d59103118"><code>&#34;allwinner&#44;sun8i&#45;v536&#45;i2c&#34;</code></span>
>
> <a id="dt-b60e8035dcb49b4d9b83"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-22ab81fe233b88f4cb1e"><code>&#34;allwinner&#44;sun6i&#45;a31&#45;i2c&#34;</code></span>

<a id="dt-264a99ec2691e9f8d8d2"></a>

**Rule 6**

> **Exact value (<code>const</code>):** <span id="dt-c300a8811f2c7ccc81ad"><code>&#34;marvell&#44;mv64xxx&#45;i2c&#34;</code></span>

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

**Rule 7**

> **Exact value (<code>const</code>):** <span id="dt-2ac514c95c227d8b07a6"><code>&#34;marvell&#44;mv78230&#45;i2c&#34;</code></span>

<a id="dt-60b24f68de01e59cfd70"></a>

**Rule 8**

> **Exact value (<code>const</code>):** <span id="dt-27c8ffe3d76e28ae72d6"><code>&#34;marvell&#44;mv78230&#45;a0&#45;i2c&#34;</code></span>

<div id="dt-e84064a2d568e9bcb9c3">
<p style="white-space: pre-wrap">Only use "marvell,mv78230-a0-i2c" for a very rare, initial version of the SoC which had broken offload support. Linux auto-detects this and sets it appropriately.</p>
</div>

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

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

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

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

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

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

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

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

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

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">Reference clock for the I2C bus</p>
> </div>

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

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">Bus clock (Only for Armada 7K/8K)</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

<a id="dt-3d1de59bdfddccf00eed"></a>

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;core&#34;</code></span>

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

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;reg&#34;</code></span>

<div id="dt-d153c20aa0faf1618c41">
<p style="white-space: pre-wrap">Mandatory if two clocks are used (only for Armada 7k and 8k).</p>
</div>

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

### <code>resets</code> — not listed as required here

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

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

### <code>dmas</code> — not listed as required here

<a id="dt-6b8b17969f3f8620256b"></a>

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

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

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">RX DMA Channel</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">TX DMA Channel</p>
> </div>

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

### <code>dma&#45;names</code> — not listed as required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;rx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;tx&#34;</code></span>

<a id="dt-3d235861b18e278e9c09"></a>

## Property dependencies (<code>dependencies</code>)

<a id="dt-70283eb3a1bead9fb2c2"></a>

### <code>dmas</code> — applies when this property is present

Also requires: <span id="dt-ec8b8501081903912d56"><code>&#34;dma&#45;names&#34;</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-61039da0155527cc02ba"></a> <span id="dt-20f8a813aab744ff239a"><code>&#34;allwinner&#44;sun4i&#45;a10&#45;i2c&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;allwinner&#44;sun6i&#45;a31&#45;i2c&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;clocks&#34;</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8cd5c6ac7cc13c2d9acf"><code>&#34;allwinner&#44;sun6i&#45;a31&#45;i2c&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-caec4da91c2837148d80"></a> <span id="dt-aa785038ee05bfb1e067"><code>&#34;resets&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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@11000 {
    compatible = "marvell,mv64xxx-i2c";
    reg = &lt;0x11000 0x20&gt;;
    interrupts = &lt;29&gt;;
    clock-frequency = &lt;100000&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">i2c@11000 {
    compatible = "marvell,mv78230-i2c";
    reg = &lt;0x11000 0x100&gt;;
    interrupts = &lt;29&gt;;
    clock-frequency = &lt;100000&gt;;
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">i2c@701000 {
    compatible = "marvell,mv78230-i2c";
    reg = &lt;0x701000 0x20&gt;;
    interrupts = &lt;29&gt;;
    clock-frequency = &lt;100000&gt;;
    clock-names = "core", "reg";
    clocks = &lt;&amp;core_clock&gt;, &lt;&amp;reg_clock&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</span></p>

</details>

---

# Mediatek MT7621/MT7628 I2C master controller

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

> Device-tree binding reference for Mediatek MT7621/MT7628 I2C master 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;mediatek&#44;mt7621&#45;i2c&#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>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Stefan Roese &#60;sr&#64;denx&#46;de&#62;&#34;</code></span>

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

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;mediatek&#44;mt7621&#45;i2c&#34;</code></span>

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

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

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

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

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

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;i2c&#34;</code></span>

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

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

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

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-fc45b57fcd1ba81d2c64"><code>&#34;i2c&#34;</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;resets&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;size&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/clock/mt7621-clk.h&gt;
#include &lt;dt-bindings/reset/mt7621-reset.h&gt;

i2c: i2c@900 {
  compatible = "mediatek,mt7621-i2c";
  reg = &lt;0x900 0x100&gt;;
  clocks = &lt;&amp;sysc MT7621_CLK_I2C&gt;;
  clock-names = "i2c";
  resets = &lt;&amp;sysc MT7621_RST_I2C&gt;;
  reset-names = "i2c";

  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  pinctrl-names = "default";
  pinctrl-0 = &lt;&amp;i2c_pins&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>

---

# Microchip MPFS I2C Controller

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

> Device-tree binding reference for Microchip MPFS 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;microchip&#44;corei2c&#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;Daire McNamara &#60;daire&#46;mcnamara&#64;microchip&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;microchip&#44;pic64gx&#45;i2c&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;microchip&#44;mpfs&#45;i2c&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;microchip&#44;corei2c&#45;rtl&#45;v7&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;microchip&#44;corei2c&#45;rtl&#45;v7&#34;</code></span>

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

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

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

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

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

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

<a id="dt-4e9a371963ac013ad39d"></a>

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

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

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">Desired I2C bus clock frequency in Hz. As only Standard and Fast
modes are supported, possible values are 100000 and 400000.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-584ddff4c08470f8da57"></a> <span id="dt-c25853fc91ba647e0b10"><code>100000</code></span>, <span id="dt-0692e3e2989f8742a1a1"><code>400000</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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@2010a000 {
  compatible = "microchip,mpfs-i2c", "microchip,corei2c-rtl-v7";
  reg = &lt;0x2010a000 0x1000&gt;;
  clocks = &lt;&amp;clkcfg 15&gt;;
  interrupt-parent = &lt;&amp;plic&gt;;
  interrupts = &lt;58&gt;;
  clock-frequency = &lt;100000&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>

<p id="dt-comment-1"><strong>Line 21:</strong> <span> Microchip PolarFire SoC compatible SoCs</span></p>

<p id="dt-comment-2"><strong>Line 22:</strong> <span> Microchip Fabric based i2c IP core</span></p>

<p id="dt-comment-3"><strong>Line 23:</strong> <span> Microchip Fabric based i2c IP core</span></p>

</details>

---

# nuvoton NPCM7XX I2C Controller

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

> Device-tree binding reference for nuvoton NPCM7XX 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;nuvoton&#44;npcm7xx&#45;i2c&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">I2C bus controllers of the NPCM series support both master and
slave mode. Each controller can switch between master and slave at run time
(i.e. IPMB mode). HW FIFO for TX and RX are supported.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Tali Perry &#60;tali&#46;perry1&#64;gmail&#46;com&#62;&#34;</code></span>

<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;nuvoton&#44;npcm750&#45;i2c&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;nuvoton&#44;npcm845&#45;i2c&#34;</code></span>

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

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

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

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

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

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

<a id="dt-4e9a371963ac013ad39d"></a>

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

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

<div id="dt-853257adf43f6880d753">
<p style="white-space: pre-wrap">Reference clock for the I2C bus</p>
</div>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">Desired I2C bus clock frequency in Hz. If not specified, the default 100 kHz frequency will be used. possible values are 100000, 400000 and 1000000.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-f1c4f38c5bf0a6f6c783"><code>100000</code></span>

**Allowed values (<code>enum</code>):** <a id="dt-584ddff4c08470f8da57"></a> <span id="dt-c25853fc91ba647e0b10"><code>100000</code></span>, <span id="dt-0692e3e2989f8742a1a1"><code>400000</code></span>, <span id="dt-ba115210cf1ddbd23415"><code>1000000</code></span>

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

### <code>nuvoton&#44;sys&#45;mgr</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a5749e0d20a9ca44354e">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>

<div id="dt-3b44336c06ccdbdd8b8b">
<p style="white-space: pre-wrap">The phandle of system manager register node.</p>
</div>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;nuvoton&#44;npcm845&#45;i2c&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;nuvoton&#44;sys&#45;mgr&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/clock/nuvoton,npcm7xx-clock.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
i2c0: i2c@80000 {
    reg = &lt;0x80000 0x1000&gt;;
    clocks = &lt;&amp;clk NPCM7XX_CLK_APB2&gt;;
    clock-frequency = &lt;100000&gt;;
    interrupts = &lt;GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH&gt;;
    compatible = "nuvoton,npcm750-i2c";
    nuvoton,sys-mgr = &lt;&amp;gcr&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>

---

# NVIDIA Tegra186 (and later) BPMP I2C controller

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

> Device-tree binding reference for NVIDIA Tegra186 (and later) BPMP 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;nvidia&#44;tegra186&#45;bpmp&#45;i2c&#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;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">In Tegra186 and later, the BPMP (Boot and Power Management Processor)
owns certain HW devices, such as the I2C controller for the power
management I2C bus. Software running on other CPUs must perform IPC to
the BPMP in order to execute transactions on that I2C bus. This
binding describes an I2C bus that is accessed in such a fashion.</p>
<p style="white-space: pre-wrap">The BPMP I2C node must be located directly inside the main BPMP node.
See ../firmware/nvidia,tegra186-bpmp.yaml for details of the BPMP
binding.</p>
<p style="white-space: pre-wrap">This node represents an I2C controller.</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;nvidia&#44;tegra186&#45;bpmp&#45;i2c&#34;</code></span>

<a id="dt-7613621c75d6aa295ca2"></a>

### <code>nvidia&#44;bpmp&#45;bus&#45;id</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5798b4e55ccf9b98722e">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-f805e62c2853b21635e1">
<p style="white-space: pre-wrap">Indicates the I2C bus number this DT node represents, as defined by the BPMP firmware.</p>
</div>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

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

<a id="dt-63ab525a9812ac23c446"></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;&#35;address&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;size&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;nvidia&#44;bpmp&#45;bus&#45;id&#34;</code></span>

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

---

# NVIDIA Tegra I2C controller driver

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

> Device-tree binding reference for NVIDIA Tegra I2C controller driver.

<!-- 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;nvidia&#44;tegra20&#45;i2c&#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>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Thierry Reding &#60;thierry&#46;reding&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Jon Hunter &#60;jonathanh&#64;nvidia&#46;com&#62;&#34;</code></span>

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

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> <div id="dt-ab1c3e7063bd95dc962e">
> <p style="white-space: pre-wrap">Tegra20 has 4 generic I2C controller. This can support master and slave mode of I2C communication. The i2c-tegra driver only support master mode of I2C communication. Driver of I2C controller is only compatible with "nvidia,tegra20-i2c".</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;nvidia&#44;tegra20&#45;i2c&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <div id="dt-4b64ce44adfe069638c4">
> <p style="white-space: pre-wrap">Tegra20 has specific I2C controller called as DVC I2C controller. This only support master mode of I2C communication. Register interface/offset and interrupts handling are different than generic I2C controller. Driver of DVC I2C controller is only compatible with "nvidia,tegra20-i2c-dvc".</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;nvidia&#44;tegra20&#45;i2c&#45;dvc&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <div id="dt-34ebc3371373135d1528">
> <p style="white-space: pre-wrap">Tegra30 has 5 generic I2C controller. This controller is very much
> similar to Tegra20 I2C controller with additional feature: Continue
> Transfer Support. This feature helps to implement M_NO_START as per
> I2C core API transfer flags. Driver of I2C controller is compatible
> with "nvidia,tegra30-i2c" to enable the continue transfer support.
> This is also compatible with "nvidia,tegra20-i2c" without continue
> transfer support.</p>
> </div>
>
> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-b4cf31a5f463012e1429"><code>&#34;nvidia&#44;tegra30&#45;i2c&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;nvidia&#44;tegra20&#45;i2c&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> <div id="dt-2e7dbd5da540c0c7ff41">
> <pre><code>Tegra114 has 5 generic I2C controllers. This controller is very much
> similar to Tegra30 I2C controller with some hardware modification:
>   - Tegra30/Tegra20 I2C controller has 2 clock source called div-clk
>     and fast-clk. Tegra114 has only one clock source called as
>     div-clk and hence clock mechanism is changed in I2C controller.
>   - Tegra30/Tegra20 I2C controller has enabled per packet transfer
>     by default and there is no way to disable it. Tegra114 has this
>     interrupt disable by default and SW need to enable explicitly.
> Due to above changes, Tegra114 I2C driver makes incompatible with
> previous hardware driver. Hence, Tegra114 I2C controller is
> compatible with "nvidia,tegra114-i2c".</code></pre>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-bb8aa9a35453860e510c"><code>&#34;nvidia&#44;tegra114&#45;i2c&#34;</code></span>

<a id="dt-6932ba24e194ea67730d"></a>

**Rule 5**

> <div id="dt-67e1c2ab404e45238d0a">
> <p style="white-space: pre-wrap">Tegra124 has 6 generic I2C controllers. These controllers are very
> similar to those found on Tegra114 but also contain several hardware
> improvements and new registers.</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-db09842262b0bfa9d4c5"><code>&#34;nvidia&#44;tegra124&#45;i2c&#34;</code></span>

<a id="dt-264a99ec2691e9f8d8d2"></a>

**Rule 6**

> <div id="dt-4045864b8eb90100af37">
> <p style="white-space: pre-wrap">Tegra210 has 6 generic I2C controllers. These controllers are very
> similar to those found on Tegra124.</p>
> </div>
>
> <a id="dt-4dad5affd79a503edb55"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-d020c8ab76f112be7460"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-871cc0788ba4de3e95d6"><code>&#34;nvidia&#44;tegra210&#45;i2c&#34;</code></span>
>
> <a id="dt-ad0f80061981c404704b"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-bc7bfc6606ce7d2bcbe4"><code>&#34;nvidia&#44;tegra124&#45;i2c&#34;</code></span>

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

**Rule 7**

> <div id="dt-b8736ed7e7d450a91dd1">
> <p style="white-space: pre-wrap">Tegra210 has one I2C controller that is on host1x bus and is part of
> the VE power domain and typically used for camera use-cases. This VI
> I2C controller is mostly compatible with the programming model of
> the regular I2C controllers with a few exceptions. The I2C registers
> start at an offset of 0xc00 (instead of 0), registers are 16 bytes
> apart (rather than 4) and the controller does not support slave
> mode.</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-2ac514c95c227d8b07a6"><code>&#34;nvidia&#44;tegra210&#45;i2c&#45;vi&#34;</code></span>

<a id="dt-60b24f68de01e59cfd70"></a>

**Rule 8**

> <div id="dt-38f875ca4efc3973cb85">
> <p style="white-space: pre-wrap">Tegra186 has 9 generic I2C controllers, two of which are in the AON
> (always-on) partition of the SoC. All of these controllers are very
> similar to those found on Tegra210.</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-27c8ffe3d76e28ae72d6"><code>&#34;nvidia&#44;tegra186&#45;i2c&#34;</code></span>

<a id="dt-840363fe85852843a5d5"></a>

**Rule 9**

> <div id="dt-5d4dd7358fe6f23b440e">
> <p style="white-space: pre-wrap">Tegra194 has 8 generic I2C controllers, two of which are in the AON
> (always-on) partition of the SoC. All of these controllers are very
> similar to those found on Tegra186. However, these controllers have
> support for 64 KiB transactions whereas earlier chips supported no
> more than 4 KiB per transactions.</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-bec40614635fcd46f2cb"><code>&#34;nvidia&#44;tegra194&#45;i2c&#34;</code></span>

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

**Rule 10**

> <div id="dt-59e746b9839217ce18c8">
> <p style="white-space: pre-wrap">Tegra256 has 8 generic I2C controllers. The controllers are similar to
> the previous generations, but have a different parent clock and hence
> the timing parameters are configured differently.</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-02326b96b5c4be808cd1"><code>&#34;nvidia&#44;tegra256&#45;i2c&#34;</code></span>

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

**Rule 11**

> <div id="dt-037b851575ea83e6d947">
> <p style="white-space: pre-wrap">Tegra264 has 17 generic I2C controllers, two of which are in the AON (always-on) partition of the SoC. In addition to the features from Tegra194, a SW mutex register is added to support use of the same I2C instance across multiple firmwares.</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-cdeb112c76527ce123e5"><code>&#34;nvidia&#44;tegra264&#45;i2c&#34;</code></span>

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

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

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

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

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

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

<a id="dt-4e9a371963ac013ad39d"></a>

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>2</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-65c84d57f9774b7ce5c4"><code>2</code></span>

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

### <code>resets</code> — not listed as required here

<a id="dt-7d15d3b17aa2d528614e"></a>

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

<a id="dt-95107b4b3584e917ff31"></a>

**Item 1**

> <div id="dt-3686a6620d670314acea">
> <p style="white-space: pre-wrap">Module reset. This property is optional for controllers in Tegra194, Tegra234 etc where an internal software reset is available as an alternative.</p>
> </div>

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — not listed as required here

<a id="dt-353fc881e5c58d1dcba1"></a>

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

<a id="dt-5629342117bd5a110a5b"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-00c19fce1fea453eab02"><code>&#34;i2c&#34;</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

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

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

### <code>dmas</code> — not listed as required here

<a id="dt-6b8b17969f3f8620256b"></a>

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

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

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">DMA channel for the reception FIFO</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">DMA channel for the transmission FIFO</p>
> </div>

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

### <code>dma&#45;names</code> — not listed as required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;rx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;tx&#34;</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

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

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-61039da0155527cc02ba"></a> <span id="dt-20f8a813aab744ff239a"><code>&#34;nvidia&#44;tegra20&#45;i2c&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;nvidia&#44;tegra30&#45;i2c&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-cc2edf6d98aafaff5f44"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-b0ed5de2f4ed693e5dda"><code>2</code></span>
> >
> > <a id="dt-dde63784a5285c3f925c"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-07c804bf76c975c5a644"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-855b6229a724a1e988d5"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-d22ff96126d7db564137"><code>&#34;div&#45;clk&#34;</code></span>
> >
> > <a id="dt-fbbb17d593cc6352303b"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-1c6351ea0af6cbead296"><code>&#34;fast&#45;clk&#34;</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;nvidia&#44;tegra114&#45;i2c&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;nvidia&#44;tegra210&#45;i2c&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-8308c8f88877cb33a5a0"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-b6a3ef79f98a671e3897"><code>1</code></span>
> >
> > <a id="dt-c6cd9634653c9bd1a32e"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-5b4140344e7664199596"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-38d589b0741e87d4c52a"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-2c23cdf57281bef15cec"><code>&#34;div&#45;clk&#34;</code></span>

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

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-3de4a4db25c09109abf4"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-5c56c46a4e287cf52ece"><code>&#34;nvidia&#44;tegra210&#45;i2c&#45;vi&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-7cd597a6bb6b91730c25"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-9b48ab756d49c09e7d6e"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-0d329c1d0e8794ec82db"><code>2</code></span>
> >
> > <a id="dt-0dd30bad243a0df76d0b"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-15601e83d4b95ac95a9c"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-c6508f79b7c67f4ab5c7"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6f7c4ab4df79eac8009c"><code>&#34;div&#45;clk&#34;</code></span>
> >
> > <a id="dt-8a09b1b82fc12eb8948c"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-33aee55eeaaf3e7d4421"><code>&#34;slow&#34;</code></span>
> >
> > <a id="dt-44a743bd26ee76cdbf37"></a>
> >
> > **<code>power&#45;domains</code> — not listed as required here**
> >
> > <a id="dt-ba95ba85c17f38f55299"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-b027941e0f4ca2c52ce1"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-60e254a9c68f68881b29">
> > > <p style="white-space: pre-wrap">phandle to the VENC power domain</p>
> > > </div>
>
> <a id="dt-1b6193699b46ee209acb"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-b46fd54c3fb20513db03"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-019cf4d0d4d69e44e90b"></a>
> >
> > **<code>power&#45;domains</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

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

### Rule 5

> <a id="dt-30dd43480a02ff52099e"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-06a32328eeb4e0ad5381"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > <a id="dt-94fb1b45a6c263b9d0b2"></a>
> > >
> > > **Properties and child nodes (<code>properties</code>)**
> > >
> > > <a id="dt-4dfa1d7e952c658b5efb"></a>
> > >
> > > **<code>compatible</code> — not listed as required here**
> > >
> > > <a id="dt-9442ce240d8796db92e3"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Allowed values (<code>enum</code>):** <a id="dt-8c7558f997ea9f89e6f6"></a> <span id="dt-231155c9ffcbd942a697"><code>&#34;nvidia&#44;tegra194&#45;i2c&#34;</code></span>, <span id="dt-a4394a58b9e8eceb7fc1"><code>&#34;nvidia&#44;tegra256&#45;i2c&#34;</code></span>, <span id="dt-2dc9819c7417560e1379"><code>&#34;nvidia&#44;tegra264&#45;i2c&#34;</code></span>
>
> <a id="dt-b13bdf6bf01ba2db1729"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-d0be233c145bb706d4e5"></a> <span id="dt-70d480dba72a9448693e"><code>&#34;resets&#34;</code></span>, <span id="dt-72a4536eb362c1dd710e"><code>&#34;reset&#45;names&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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@7000c000 {
    compatible = "nvidia,tegra20-i2c";
    reg = &lt;0x7000c000 0x100&gt;;
    interrupts = &lt;0 38 0x04&gt;;
    clocks = &lt;&amp;tegra_car 12&gt;, &lt;&amp;tegra_car 124&gt;;
    clock-names = "div-clk", "fast-clk";
    resets = &lt;&amp;tegra_car 12&gt;;
    reset-names = "i2c";
    dmas = &lt;&amp;apbdma 16&gt;, &lt;&amp;apbdma 16&gt;;
    dma-names = "rx", "tx";

    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&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>

---

# NXP I2C controller for LPC2xxx/178x/18xx/43xx

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

> Device-tree binding reference for NXP I2C controller for LPC2xxx/178x/18xx/43xx.

<!-- 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;nxp&#44;lpc1788&#45;i2c&#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;Vladimir Zapolskiy &#60;vz&#64;mleia&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;nxp&#44;lpc1788&#45;i2c&#34;</code></span>

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

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

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

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

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

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

<a id="dt-4e9a371963ac013ad39d"></a>

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

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

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">the desired I2C bus clock frequency in Hz</p>
</div>

**Default value (<code>default</code>):** <span id="dt-f1c4f38c5bf0a6f6c783"><code>100000</code></span>

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

### <code>resets</code> — not listed as required here

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

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include "dt-bindings/clock/lpc18xx-ccu.h"

i2c@400a1000 {
    compatible = "nxp,lpc1788-i2c";
    reg = &lt;0x400a1000 0x1000&gt;;
    interrupts = &lt;18&gt;;
    clocks = &lt;&amp;ccu1 CLK_APB1_I2C0&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&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>

---

# NXP PCA9541 I2C bus master selector

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

> Device-tree binding reference for NXP PCA9541 I2C bus master selector.

<!-- 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;nxp&#44;pca9541&#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;Peter Rosin &#60;peda&#64;axentia&#46;se&#62;&#34;</code></span>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;nxp&#44;pca9541&#34;</code></span>

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

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

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

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

### <code>i2c&#45;arb</code> — required here

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

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

<a id="dt-88a671e59d603764ff18"></a>

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

<code>false</code>

Not allowed by this rule.

<div id="dt-4173698b909bfefe2188">
<p style="white-space: pre-wrap">I2C arbitration bus node.</p>
</div>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;i2c&#45;arb&#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">#include &lt;dt-bindings/gpio/gpio.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

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

    i2c-arbitrator@74 {
        compatible = "nxp,pca9541";
        reg = &lt;0x74&gt;;

        i2c-arb {
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;

            eeprom@54 {
                compatible = "atmel,24c08";
                reg = &lt;0x54&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>

---

# NXP PNX I2C Controller

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

> Device-tree binding reference for NXP PNX 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;nxp&#44;pnx&#45;i2c&#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;Animesh Agarwal &#60;animeshagarwal28&#64;gmail&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;nxp&#44;pnx&#45;i2c&#34;</code></span>

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

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

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

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

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

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

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

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

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-f1c4f38c5bf0a6f6c783"><code>100000</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;size&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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@400a0000 {
    compatible = "nxp,pnx-i2c";
    reg = &lt;0x400a0000 0x100&gt;;
    interrupt-parent = &lt;&amp;mic&gt;;
    interrupts = &lt;51 0&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&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>

---

# OpenCores I2C controller

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

> Device-tree binding reference for OpenCores 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;opencores&#44;i2c&#45;ocores&#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;Peter Korsgaard &#60;peter&#64;korsgaard&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Andrew Lunn &#60;andrew&#64;lunn&#46;ch&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;sifive&#44;fu740&#45;c000&#45;i2c&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;sifive&#44;fu540&#45;c000&#45;i2c&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;sifive&#44;i2c0&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> **Allowed values (<code>enum</code>):** <a id="dt-ad5dbad5326d5a61ae46"></a> <span id="dt-af4759e2a8ab9583f63d"><code>&#34;opencores&#44;i2c&#45;ocores&#34;</code></span>, <span id="dt-9aa1d0e5d9a73a253eb7"><code>&#34;aeroflexgaisler&#44;i2cmst&#34;</code></span>

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

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

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

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

### <code>interrupts</code> — not listed as required here

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

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

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

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

<div id="dt-a8bced0e066c3e53744b">
<pre><code>clock-frequency property is meant to control the bus frequency for i2c bus
drivers, but it was incorrectly used to specify i2c controller input clock
frequency. So the following rules are set to fix this situation:
- if clock-frequency is present and neither opencores,ip-clock-frequency nor
  clocks are, then clock-frequency specifies i2c controller clock frequency.
  This is to keep backwards compatibility with setups using old DTB. i2c bus
  frequency is fixed at 100 KHz.
- if clocks is present it specifies i2c controller clock. clock-frequency
  property specifies i2c bus frequency.
- if opencores,ip-clock-frequency is present it specifies i2c controller
  clock frequency. clock-frequency property specifies i2c bus frequency.</code></pre>
</div>

**Default value (<code>default</code>):** <span id="dt-f1c4f38c5bf0a6f6c783"><code>100000</code></span>

<a id="dt-7836acfa10d0551c4644"></a>

### <code>reg&#45;io&#45;width</code> — not listed as required here

<div id="dt-6be0807df1fd28a9870c">
<p style="white-space: pre-wrap">io register width in bytes</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-fdf82f12b5e3b9f06aab"></a> <span id="dt-9565cdd3de3c6e2e1b69"><code>1</code></span>, <span id="dt-c50f6e334de75395219b"><code>2</code></span>, <span id="dt-1d4403f8e82a1628241b"><code>4</code></span>

<a id="dt-6f523d987a09d2f53180"></a>

### <code>reg&#45;shift</code> — not listed as required here

<div id="dt-ab88198ed050cb9d337c">
<p style="white-space: pre-wrap">device register offsets are shifted by this value</p>
</div>

**Default value (<code>default</code>):** <span id="dt-6b5074893cbe20e1b0c2"><code>0</code></span>

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

### <code>regstep</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bc77be3fe5abb64167ad">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-cfe5f705fe5a9ad9d54d">
<p style="white-space: pre-wrap">deprecated, use reg-shift above</p>
</div>

**Deprecated (<code>deprecated</code>):** <span id="dt-9f09962b811b73c91863"><code>true</code></span>

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

### <code>opencores&#44;ip&#45;clock&#45;frequency</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-38b86294ecfdab5eeb3a">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-1563c4717fe864069159">
<p style="white-space: pre-wrap">Frequency of the controller clock in Hz. Mutually exclusive with clocks.
See the note above.</p>
</div>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#34;</code></span>

<a id="dt-51356188806d31ca2021"></a>

## Exactly one of these rules must match (<code>oneOf</code>)

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

### Rule 1

> **Required in this object (<code>required</code>):** <a id="dt-48cc38ffec184df79a62"></a> <span id="dt-bbd3b687ebb435349af2"><code>&#34;opencores&#44;ip&#45;clock&#45;frequency&#34;</code></span>

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

### Rule 2

> **Required in this object (<code>required</code>):** <a id="dt-686ce4562589647d257c"></a> <span id="dt-8060cb7221f215eec82f"><code>&#34;clocks&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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@a0000000 {
  compatible = "opencores,i2c-ocores";
  reg = &lt;0xa0000000 0x8&gt;;
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;
  interrupts = &lt;10&gt;;
  opencores,ip-clock-frequency = &lt;20000000&gt;;

  reg-shift = &lt;0&gt;;	/* 8 bit registers */
  reg-io-width = &lt;1&gt;;	/* 8 bit read/write */
};

i2c@b0000000 {
  compatible = "opencores,i2c-ocores";
  reg = &lt;0xa0000000 0x8&gt;;
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;
  interrupts = &lt;10&gt;;
  clocks = &lt;&amp;osc&gt;;
  clock-frequency = &lt;400000&gt;; /* i2c bus frequency 400 KHz */

  reg-shift = &lt;0&gt;;	/* 8 bit registers */
  reg-io-width = &lt;1&gt;;	/* 8 bit read/write */
};
</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>

<p id="dt-comment-1"><strong>Line 21:</strong> <span> Opencore based IP block FU740-C000 SoC</span></p>

<p id="dt-comment-2"><strong>Line 22:</strong> <span> Opencore based IP block FU540-C000 SoC</span></p>

</details>

---

# Qualcomm Camera Control Interface (CCI) I2C controller

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

> Device-tree binding reference for Qualcomm Camera Control Interface (CCI) I2C controller.

<!-- SPDX-License-Identifier: GPL-2.0 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;qcom&#44;i2c&#45;cci&#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;Loic Poulain &#60;loic&#46;poulain&#64;linaro&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Robert Foss &#60;robert&#46;foss&#64;linaro&#46;org&#62;&#34;</code></span>

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

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

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

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

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

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

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;qcom&#44;msm8226&#45;cci&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;qcom&#44;msm8953&#45;cci&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;qcom&#44;msm8974&#45;cci&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;qcom&#44;msm8996&#45;cci&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;qcom&#44;msm8916&#45;cci&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;qcom&#44;msm8226&#45;cci&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9d5b9f6fd2f9759f6e43"></a> <span id="dt-73fb2f4b762df7b35870"><code>&#34;qcom&#44;kaanapali&#45;cci&#34;</code></span>, <span id="dt-4f2dd487e4b2e6e79827"><code>&#34;qcom&#44;qcm2290&#45;cci&#34;</code></span>, <span id="dt-dba59cbb664a09df0380"><code>&#34;qcom&#44;qcs8300&#45;cci&#34;</code></span>, <span id="dt-7337bb6973adc8f5010d"><code>&#34;qcom&#44;sa8775p&#45;cci&#34;</code></span>, <span id="dt-2a4824de128057522b89"><code>&#34;qcom&#44;sc7280&#45;cci&#34;</code></span>, <span id="dt-9d0b7e5fcd963b685b0d"><code>&#34;qcom&#44;sc8280xp&#45;cci&#34;</code></span>, <span id="dt-53e062f93be7aa5d7bb3"><code>&#34;qcom&#44;sdm670&#45;cci&#34;</code></span>, <span id="dt-6bdd021aae4cd71c629b"><code>&#34;qcom&#44;sdm845&#45;cci&#34;</code></span>, <span id="dt-f0a41fb0ccb86c57a4ce"><code>&#34;qcom&#44;sm6350&#45;cci&#34;</code></span>, <span id="dt-5697b2b922b4810e5e2a"><code>&#34;qcom&#44;sm8250&#45;cci&#34;</code></span>, <span id="dt-ae3ba9ea351c25bd7b93"><code>&#34;qcom&#44;sm8450&#45;cci&#34;</code></span>, <span id="dt-4734b2dd6b7318b3e978"><code>&#34;qcom&#44;sm8550&#45;cci&#34;</code></span>, <span id="dt-0ea3c2d1e0b267d84ab3"><code>&#34;qcom&#44;sm8650&#45;cci&#34;</code></span>, <span id="dt-7f00b95f2d3c295a0049"><code>&#34;qcom&#44;sm8750&#45;cci&#34;</code></span>, <span id="dt-3176f85ab166789fe4e6"><code>&#34;qcom&#44;x1e80100&#45;cci&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;qcom&#44;msm8996&#45;cci&#34;</code></span>

<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-4e9a371963ac013ad39d"></a>

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>6</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-65c84d57f9774b7ce5c4"><code>6</code></span>

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

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

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

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

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

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

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

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

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

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

<a id="dt-6a8b3a798cc7c169d7ea"></a>

### <code>&#94;i2c&#45;bus&#64;&#91;01&#93;&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-cddff370a07a95c2a038">[<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-a6190d663e6b0454a02b"></a>

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

<code>false</code>

Not allowed by this rule.

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

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

<a id="dt-396e2f4aed3b248cfccc"></a>

**<code>reg</code> — not listed as required here**

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

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

**<code>clock&#45;frequency</code> — not listed as required here**

**Default value (<code>default</code>):** <span id="dt-9f35d7f442362205f4c9"><code>100000</code></span>

**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;clock&#45;names&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;reg&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

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

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

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-b5c9dbe70762f9ad7bb5"></a> <span id="dt-d017b1b1b5a0bb01c549"><code>&#34;qcom&#44;msm8996&#45;cci&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-b0b2f2243ff9a854f151"></a> <span id="dt-4e9ead0e861b67997dec"><code>&#34;power&#45;domains&#34;</code></span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-61039da0155527cc02ba"></a> <span id="dt-20f8a813aab744ff239a"><code>&#34;qcom&#44;msm8226&#45;cci&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;qcom&#44;msm8916&#45;cci&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-fadb5f566ba68fb8a901"></a>
> >
> > **<code>i2c&#45;bus&#64;1</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-eb29f094b998dd9ccd71"></a>
> >
> > **Exactly one of these rules must match (<code>oneOf</code>)**
> >
> > <a id="dt-cb810d0705afa8e9f1dd"></a>
> >
> > **Rule 1**
> >
> > > <a id="dt-1aa7d32d540f03e68b97"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Allowed values (<code>enum</code>):** <a id="dt-5dc8eec178f891d1be50"></a> <span id="dt-11b7061963595f9ab130"><code>&#34;qcom&#44;msm8974&#45;cci&#34;</code></span>
> >
> > <a id="dt-e436dace3cde6a3acef6"></a>
> >
> > **Rule 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-27e563f5333b18b31a49"><code>&#34;qcom&#44;msm8226&#45;cci&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-8308c8f88877cb33a5a0"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-9d121778b610668f3c64"><code>3</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-b6a3ef79f98a671e3897"><code>3</code></span>
> >
> > <a id="dt-c6cd9634653c9bd1a32e"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-5b4140344e7664199596"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-38d589b0741e87d4c52a"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-2c23cdf57281bef15cec"><code>&#34;camss&#95;top&#95;ahb&#34;</code></span>
> >
> > <a id="dt-2317286a7b8251909776"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6649bb49f43157f996cf"><code>&#34;cci&#95;ahb&#34;</code></span>
> >
> > <a id="dt-81f6c403985022409818"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-a3cbb70d0db35ce9b406"><code>&#34;cci&#34;</code></span>

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

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-3de4a4db25c09109abf4"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-2f146490cc52d0a82c19"></a> <span id="dt-b1038ed41acf3cc462f9"><code>&#34;qcom&#44;kaanapali&#45;cci&#34;</code></span>, <span id="dt-ee83d100044168836749"><code>&#34;qcom&#44;qcm2290&#45;cci&#34;</code></span>, <span id="dt-e937cad1333060d95a2c"><code>&#34;qcom&#44;qcs8300&#45;cci&#34;</code></span>, <span id="dt-056d08a65205139bcaab"><code>&#34;qcom&#44;sm8750&#45;cci&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-7cd597a6bb6b91730c25"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-9b48ab756d49c09e7d6e"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-0d329c1d0e8794ec82db"><code>2</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-2840472fefd88961267c"><code>2</code></span>
> >
> > <a id="dt-0dd30bad243a0df76d0b"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-15601e83d4b95ac95a9c"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-c6508f79b7c67f4ab5c7"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6f7c4ab4df79eac8009c"><code>&#34;ahb&#34;</code></span>
> >
> > <a id="dt-8a09b1b82fc12eb8948c"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-33aee55eeaaf3e7d4421"><code>&#34;cci&#34;</code></span>

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

### Rule 5

> <a id="dt-30dd43480a02ff52099e"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-815e247e2e39708faa21"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-95159efb137dae08a1e1"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-4f7531de73a4d032d689"></a>
> >
> > **Exactly one of these rules must match (<code>oneOf</code>)**
> >
> > <a id="dt-7f62e4393fff02243b46"></a>
> >
> > **Rule 1**
> >
> > > <a id="dt-e5d99bfee7c4f09521b9"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Allowed values (<code>enum</code>):** <a id="dt-2f1fe2a2e309680c724d"></a> <span id="dt-9d031f5ce789e8403ff3"><code>&#34;qcom&#44;msm8916&#45;cci&#34;</code></span>, <span id="dt-f7806ca7660cb00bd5aa"><code>&#34;qcom&#44;msm8953&#45;cci&#34;</code></span>
> >
> > <a id="dt-a41ec0382a5d0e24a61a"></a>
> >
> > **Rule 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-a6cd9d3a2706eb7ba0fa"><code>&#34;qcom&#44;msm8996&#45;cci&#34;</code></span>
>
> <a id="dt-b13bdf6bf01ba2db1729"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-61105cb355bf27434ff1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-aa0d767cf1ac9fac4f5a"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-a0ce00e83e48875d8fd0"><code>4</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-2177aa6156683c9aaaa1"><code>4</code></span>
> >
> > <a id="dt-50f1ce702c9c66684754"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-e8a47eafddc2049ad540"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-ab9d3a4bb3f5c3a699cf"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-05088e2c6603aa4a6857"><code>&#34;camss&#95;top&#95;ahb&#34;</code></span>
> >
> > <a id="dt-39cb4fd49e17b40e2baa"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6d4accee37c7236e6463"><code>&#34;cci&#95;ahb&#34;</code></span>
> >
> > <a id="dt-2791ad0e9309567024af"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-b57bcd1e276ca41d5e53"><code>&#34;cci&#34;</code></span>
> >
> > <a id="dt-5075d08e1e44a8adeaef"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-60cc1d7d6bad70c3505c"><code>&#34;camss&#95;ahb&#34;</code></span>

<a id="dt-51879ae9be030b28e888"></a>

### Rule 6

> <a id="dt-29f1a7d11303016de0fb"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-31db8c2b34419cd49333"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-049791ad441d801be5c0"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-b015f3429cf037cca578"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7fd3859f97987911f131"></a> <span id="dt-c7b90595f82e2304d5f1"><code>&#34;qcom&#44;sdm670&#45;cci&#34;</code></span>
>
> <a id="dt-5d3814a6fa606b79b9a6"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-bc42d1cd066384e1f6fa"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-5cedb4af376c7ab36944"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-b7c54c3bf40945b85783"><code>4</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-5032aef16422f9f5489e"><code>4</code></span>
> >
> > <a id="dt-05f0b7ea7d095111f4fa"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-a65ebe8cc3336ac8cbff"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-4027beb4bf0d640ca440"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-582fc44624e5dbe1275f"><code>&#34;camnoc&#95;axi&#34;</code></span>
> >
> > <a id="dt-0f20f76973d245a6ddc3"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-33afb04ede35835da423"><code>&#34;soc&#95;ahb&#34;</code></span>
> >
> > <a id="dt-7d3b56570786fa51fed8"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-1154f167be11351706bc"><code>&#34;cpas&#95;ahb&#34;</code></span>
> >
> > <a id="dt-dfd6b986b83f1bef6a35"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-cf4b60cad60500685de5"><code>&#34;cci&#34;</code></span>

<a id="dt-60e5f24c7565f25c976f"></a>

### Rule 7

> <a id="dt-adc37659b18b744ffc21"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-d05034e35339a4228f73"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-012adea3ff9b123e6012"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-722bd6dfca33f01d98ac"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-8fc9e14b2279a9817cff"></a> <span id="dt-b4babef5338af7c8ece2"><code>&#34;qcom&#44;sdm845&#45;cci&#34;</code></span>, <span id="dt-d408288ade2fa2fa3be8"><code>&#34;qcom&#44;sm6350&#45;cci&#34;</code></span>
>
> <a id="dt-53bae45a2e235a9fb120"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-46da8c9fe8477efbe234"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-de0ab51df8d0425493fa"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-ab5b80bf5b8ae9905525"><code>6</code></span>
> >
> > <a id="dt-38f3d1f01effdad961e5"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-2bb21c27dd3131fa91db"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-c8de5ef42449dad8e527"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-307a2f74daf606ba9386"><code>&#34;camnoc&#95;axi&#34;</code></span>
> >
> > <a id="dt-b3cc5981d8b4f1e4401c"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-d6856c690f297a828c73"><code>&#34;soc&#95;ahb&#34;</code></span>
> >
> > <a id="dt-5b85357bf9b1b3f8d248"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-e41e9dcbd65287857812"><code>&#34;slow&#95;ahb&#95;src&#34;</code></span>
> >
> > <a id="dt-61d94cdae19834c08dd6"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-c1a6f10f5130da2c115c"><code>&#34;cpas&#95;ahb&#34;</code></span>
> >
> > <a id="dt-64f0d866c6ee89c76834"></a>
> >
> > **Item 5**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-d594333498e5373e2461"><code>&#34;cci&#34;</code></span>
> >
> > <a id="dt-1548879907cdaff6b7a3"></a>
> >
> > **Item 6**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-1e54ffcdad8455bd8c83"><code>&#34;cci&#95;src&#34;</code></span>

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

### Rule 8

> <a id="dt-0dec882f901dbdd5da96"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-e318d04d818f7848a412"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-33aecc82258b5c176a35"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-f9b8e456dce5ffcaab8e"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-f65cbbddfee052356608"></a> <span id="dt-d51a039ce1f0715889a9"><code>&#34;qcom&#44;sc7280&#45;cci&#34;</code></span>, <span id="dt-37e68b867024d1e905df"><code>&#34;qcom&#44;sm8250&#45;cci&#34;</code></span>, <span id="dt-2a650265d7dc93ec7747"><code>&#34;qcom&#44;sm8450&#45;cci&#34;</code></span>
>
> <a id="dt-f41b5086d105c7986c84"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-2c12b15fd025c8e34502"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-aa205c4aa1c5afbc6c03"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-3b8765ed77bf32d50f38"><code>5</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-4fef449240bd2542deed"><code>5</code></span>
> >
> > <a id="dt-1e72f29e19065b9cd836"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-cb9dcbdb55b19ecf7d4f"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-6326f2c1b744b9b95c79"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-d6eb30725e00b5227086"><code>&#34;camnoc&#95;axi&#34;</code></span>
> >
> > <a id="dt-9af86ac0acba1bc63a3c"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-20c6e3f1ddfa53c556c2"><code>&#34;slow&#95;ahb&#95;src&#34;</code></span>
> >
> > <a id="dt-da056399b62858b78a24"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-1d3c4cdc2133393bd747"><code>&#34;cpas&#95;ahb&#34;</code></span>
> >
> > <a id="dt-8cc829dfa0d56fa87a88"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-03b6af3502b0a1ae4263"><code>&#34;cci&#34;</code></span>
> >
> > <a id="dt-2b248365132a2446bbd1"></a>
> >
> > **Item 5**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-e2597ef8fd613cf891e2"><code>&#34;cci&#95;src&#34;</code></span>

<a id="dt-88f5a4b3a77d2020cf65"></a>

### Rule 9

> <a id="dt-f871ed7067b0b6ef87cb"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-01bdc5626c3998bc2e99"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-051c1a7403bdbad2904b"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-10054e7afdb2620c8f78"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-4d442f6b4da1706e59a2"></a> <span id="dt-5f0c7d2108882c39fe74"><code>&#34;qcom&#44;sc8280xp&#45;cci&#34;</code></span>
>
> <a id="dt-09300afc70fb9fe0f22b"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-013d77ea3c2b8ddc7377"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bb004a106cfc8a709f03"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-e872cb3436e7e44d69a0"><code>4</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-30302b5a62277f4e2639"><code>4</code></span>
> >
> > <a id="dt-f032a487ec741028f50c"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-5914886690976452a0da"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-68be8a288f77f53e209e"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-a35907eb369e4688c9dc"><code>&#34;camnoc&#95;axi&#34;</code></span>
> >
> > <a id="dt-2a728183f13e131f9042"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-075fafa65401b3dc0225"><code>&#34;slow&#95;ahb&#95;src&#34;</code></span>
> >
> > <a id="dt-3ce8d1c8e6f29f68df9f"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9016fdda98e940405e3c"><code>&#34;cpas&#95;ahb&#34;</code></span>
> >
> > <a id="dt-6313940bdc6191e86e32"></a>
> >
> > **Item 4**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-f2cf6827de1a947ca933"><code>&#34;cci&#34;</code></span>

<a id="dt-6a1a49ade079f3c62be6"></a>

### Rule 10

> <a id="dt-41298c209822d0125f8d"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-e091f041b91a1c5fb474"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-054bca3b4a239cc31f21"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-0ab4b9bbdbfe62b6d154"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-bd9b59d4c23d54dea3b2"></a> <span id="dt-48e0db8fb097ee51214e"><code>&#34;qcom&#44;sa8775p&#45;cci&#34;</code></span>, <span id="dt-db6d5a5ae44d7924f6bd"><code>&#34;qcom&#44;sm8550&#45;cci&#34;</code></span>, <span id="dt-7eeacc3525ef7121bfbc"><code>&#34;qcom&#44;sm8650&#45;cci&#34;</code></span>, <span id="dt-6ffed46ddea7328bd9f1"><code>&#34;qcom&#44;x1e80100&#45;cci&#34;</code></span>
>
> <a id="dt-3e755c2089553a877fdd"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-15f68e130c2e4007f848"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-d6689ec2c2ef214e8b16"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-246aff475ee1126342b9"><code>3</code></span>
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-049a64054d73cd39a861"><code>3</code></span>
> >
> > <a id="dt-70ab377b331183f57a7d"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-9d70c4eedbd6d38198bb"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-3e19a0bef1e0b42fa43a"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-4db51b8e067ec72afe83"><code>&#34;camnoc&#95;axi&#34;</code></span>
> >
> > <a id="dt-99f0d41d9c7506053596"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-d404aaa79a9ad75414b7"><code>&#34;cpas&#95;ahb&#34;</code></span>
> >
> > <a id="dt-f66f138bdb48c59ac8b2"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-c5d0656b574b444183d8"><code>&#34;cci&#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">#include &lt;dt-bindings/clock/qcom,camcc-sdm845.h&gt;
#include &lt;dt-bindings/gpio/gpio.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

cci@ac4a000 {
    reg = &lt;0x0ac4a000 0x4000&gt;;
    compatible = "qcom,sdm845-cci", "qcom,msm8996-cci";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    interrupts = &lt;GIC_SPI 460 IRQ_TYPE_EDGE_RISING&gt;;
    power-domains = &lt;&amp;clock_camcc TITAN_TOP_GDSC&gt;;

    clocks = &lt;&amp;clock_camcc CAM_CC_CAMNOC_AXI_CLK&gt;,
             &lt;&amp;clock_camcc CAM_CC_SOC_AHB_CLK&gt;,
             &lt;&amp;clock_camcc CAM_CC_SLOW_AHB_CLK_SRC&gt;,
             &lt;&amp;clock_camcc CAM_CC_CPAS_AHB_CLK&gt;,
             &lt;&amp;clock_camcc CAM_CC_CCI_CLK&gt;,
             &lt;&amp;clock_camcc CAM_CC_CCI_CLK_SRC&gt;;
    clock-names = "camnoc_axi",
                  "soc_ahb",
                  "slow_ahb_src",
                  "cpas_ahb",
                  "cci",
                  "cci_src";

    assigned-clocks = &lt;&amp;clock_camcc CAM_CC_CAMNOC_AXI_CLK&gt;,
                      &lt;&amp;clock_camcc CAM_CC_CCI_CLK&gt;;
    assigned-clock-rates = &lt;80000000&gt;,
                           &lt;37500000&gt;;

    pinctrl-names = "default", "sleep";
    pinctrl-0 = &lt;&amp;cci0_default &amp;cci1_default&gt;;
    pinctrl-1 = &lt;&amp;cci0_sleep &amp;cci1_sleep&gt;;

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

        camera@10 {
            compatible = "ovti,ov8856";
            reg = &lt;0x10&gt;;

            reset-gpios = &lt;&amp;tlmm 9 GPIO_ACTIVE_LOW&gt;;
            pinctrl-names = "default";
            pinctrl-0 = &lt;&amp;cam0_default&gt;;

            clocks = &lt;&amp;clock_camcc CAM_CC_MCLK0_CLK&gt;;
            clock-names = "xvclk";
            assigned-clocks = &lt;&amp;clock_camcc CAM_CC_MCLK0_CLK&gt;;
            assigned-clock-rates = &lt;19200000&gt;;

            dovdd-supply = &lt;&amp;vreg_lvs1a_1p8&gt;;
            avdd-supply = &lt;&amp;cam0_avdd_2v8&gt;;
            dvdd-supply = &lt;&amp;cam0_dvdd_1v2&gt;;

            port {
                ov8856_ep: endpoint {
                    link-frequencies = /bits/ 64 &lt;360000000 180000000&gt;;
                    data-lanes = &lt;1 2 3 4&gt;;
                    remote-endpoint = &lt;&amp;csiphy0_ep&gt;;
                };
            };
        };
    };

    cci_i2c1: i2c-bus@1 {
        reg = &lt;1&gt;;
        clock-frequency = &lt;1000000&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        camera@60 {
            compatible = "ovti,ov7251";
            reg = &lt;0x60&gt;;

            enable-gpios = &lt;&amp;tlmm 21 GPIO_ACTIVE_HIGH&gt;;
            pinctrl-names = "default";
            pinctrl-0 = &lt;&amp;cam3_default&gt;;

            clocks = &lt;&amp;clock_camcc CAM_CC_MCLK3_CLK&gt;;
            clock-names = "xclk";
            assigned-clocks = &lt;&amp;clock_camcc CAM_CC_MCLK3_CLK&gt;;
            assigned-clock-rates = &lt;24000000&gt;;

            vdddo-supply = &lt;&amp;vreg_lvs1a_1p8&gt;;
            vdda-supply = &lt;&amp;cam3_avdd_2v8&gt;;

            port {
                ov7251_ep: endpoint {
                    data-lanes = &lt;0&gt;;
                    link-frequencies = /bits/ 64 &lt;240000000 319200000&gt;;
                    remote-endpoint = &lt;&amp;csiphy3_ep&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 OR BSD-2-Clause</span></p>

<p id="dt-comment-1"><strong>Line 25:</strong> <span> CCI v1</span></p>

<p id="dt-comment-2"><strong>Line 44:</strong> <span> CCI v2</span></p>

</details>

---

# Qualcomm Geni based QUP I2C Controller

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

> Device-tree binding reference for Qualcomm Geni based QUP 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;qcom&#44;i2c&#45;geni&#45;qcom&#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;Andy Gross &#60;agross&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Bjorn Andersson &#60;bjorn&#46;andersson&#64;linaro&#46;org&#62;&#34;</code></span>

<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;qcom&#44;geni&#45;i2c&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;qcom&#44;geni&#45;i2c&#45;master&#45;hub&#34;</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

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

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>2</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-65c84d57f9774b7ce5c4"><code>2</code></span>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-f1c4f38c5bf0a6f6c783"><code>100000</code></span>

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

### <code>dmas</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>2</code></span>

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

### <code>dma&#45;names</code> — not listed as required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;tx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;rx&#34;</code></span>

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

### <code>interconnects</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-e2b192456ccc0762244e"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b4f76d59f71528edb502"><code>3</code></span>

<a id="dt-2ce9b9b6dd721fac25e9"></a>

### <code>interconnect&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dd204022e8a673182051"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-f0638465af1c26d3bd9f"><code>3</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-324942e28549e5e189eb"></a>

### <code>operating&#45;points&#45;v2</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-e5b2d2a306a82ca7f5db"></a>

### <code>pinctrl&#45;0</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-ab9bbcdf7df05eccecbb"></a>

### <code>pinctrl&#45;1</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-abe836d65f0d3b516449"></a>

### <code>pinctrl&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-3c0b6da8fca9dcaba9e2"><code>1</code></span>

<a id="dt-2a4c8347cd450cbb54d1"></a>

#### Array item rules (<code>items</code>)

<a id="dt-81e07bec64c76061809a"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-53a75a2483b213288417"><code>&#34;default&#34;</code></span>

<a id="dt-533e247d3334f36b600b"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-07541635483a597d9829"><code>&#34;sleep&#34;</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-01a7da425c5cdde10237"></a>

### <code>required&#45;opps</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-247a602eeb337c91095b"><code>1</code></span>

**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;interrupts&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;reg&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-22ca5ec5b89308748ecc"></a>

### Rule 2

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8549616abc3b04702c51">[<code>&#47;schemas&#47;soc&#47;qcom&#47;qcom&#44;se&#45;common&#45;props&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-soc/qcom/qcom-se-common-props.md#dt-root>)</span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8cd5c6ac7cc13c2d9acf"><code>&#34;qcom&#44;geni&#45;i2c&#45;master&#45;hub&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-8308c8f88877cb33a5a0"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-9d121778b610668f3c64"><code>2</code></span>
> >
> > <a id="dt-c6cd9634653c9bd1a32e"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > <a id="dt-5b4140344e7664199596"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-38d589b0741e87d4c52a"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-2c23cdf57281bef15cec"><code>&#34;se&#34;</code></span>
> >
> > <a id="dt-2317286a7b8251909776"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-6649bb49f43157f996cf"><code>&#34;core&#34;</code></span>
> >
> > <a id="dt-b65f976e28b0680b1529"></a>
> >
> > **<code>dmas</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-2a62c4407638ff407877"></a>
> >
> > **<code>dma&#45;names</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-b68fbb74507d271c39cf"></a>
> >
> > **<code>interconnects</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-d39c6aea5e4d42687fe3"><code>2</code></span>
> >
> > <a id="dt-09ae2ea6bc8bdd9c2c05"></a>
> >
> > **<code>interconnect&#45;names</code> — not listed as required here**
> >
> > <a id="dt-8d727d3612bd4e61c5fe"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-9c99dc0e1199c6e6a472"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8e69415187c322fb8a45"><code>&#34;qup&#45;core&#34;</code></span>
> >
> > <a id="dt-8a3ffc94670f4ba5bbd4"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-17b1b24f1d1d31552598"><code>&#34;qup&#45;config&#34;</code></span>
>
> <a id="dt-a27f5f4fc91750ae210f"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-10a581729d134f7b8a73"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-0f1a77fa3443de50a03f"></a>
> >
> > **<code>clocks</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-e0ca0a9ee02e030a59dd"><code>1</code></span>
> >
> > <a id="dt-129bda36b9b8f209dd84"></a>
> >
> > **<code>clock&#45;names</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-b4a95e4e8ab213f4c940"><code>&#34;se&#34;</code></span>
> >
> > <a id="dt-2be2f7ef9a7b1cdc27f7"></a>
> >
> > **<code>interconnects</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-087b079d0c70e0dfb06c"><code>3</code></span>
> >
> > <a id="dt-a153f52a41f3e0da3aa4"></a>
> >
> > **<code>interconnect&#45;names</code> — not listed as required here**
> >
> > <a id="dt-92b84b22ff06ce4e7b0b"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-84ebf8eeea3c148ca591"></a>
> >
> > **Item 1**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-29f60cd8833e5dc153fd"><code>&#34;qup&#45;core&#34;</code></span>
> >
> > <a id="dt-580ce29ee54d80e911b4"></a>
> >
> > **Item 2**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-5560bb122e83f392a3c4"><code>&#34;qup&#45;config&#34;</code></span>
> >
> > <a id="dt-e1776e29bc53acf5b168"></a>
> >
> > **Item 3**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-7ca408d8d84668291fda"><code>&#34;qup&#45;memory&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/clock/qcom,gcc-sc7180.h&gt;
#include &lt;dt-bindings/interconnect/qcom,sc7180.h&gt;
#include &lt;dt-bindings/power/qcom-rpmpd.h&gt;

i2c@88000 {
    compatible = "qcom,geni-i2c";
    reg = &lt;0x00880000 0x4000&gt;;
    clock-names = "se";
    clocks = &lt;&amp;gcc GCC_QUPV3_WRAP0_S0_CLK&gt;;
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;qup_i2c0_default&gt;;
    interrupts = &lt;GIC_SPI 601 IRQ_TYPE_LEVEL_HIGH&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    interconnects = &lt;&amp;qup_virt MASTER_QUP_CORE_0 0 &amp;qup_virt SLAVE_QUP_CORE_0 0&gt;,
                    &lt;&amp;gem_noc MASTER_APPSS_PROC 0 &amp;config_noc SLAVE_QUP_0 0&gt;,
                    &lt;&amp;aggre1_noc MASTER_QUP_0 0 &amp;mc_virt SLAVE_EBI1 0&gt;;
    interconnect-names = "qup-core", "qup-config", "qup-memory";
    power-domains = &lt;&amp;rpmhpd SC7180_CX&gt;;
    required-opps = &lt;&amp;rpmhpd_opp_low_svs&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>

---

# Qualcomm Universal Peripheral (QUP) I2C controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for Qualcomm Universal Peripheral (QUP) I2C controller.

<!-- SPDX-License-Identifier: GPL-2.0 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;qcom&#44;i2c&#45;qup&#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;Andy Gross &#60;agross&#64;kernel&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Bjorn Andersson &#60;bjorn&#46;andersson&#64;linaro&#46;org&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-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;qcom&#44;i2c&#45;qup&#45;v1&#46;1&#46;1&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;qcom&#44;i2c&#45;qup&#45;v2&#46;1&#46;1&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;qcom&#44;i2c&#45;qup&#45;v2&#46;2&#46;1&#34;</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>2</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;core&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;iface&#34;</code></span>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-f1c4f38c5bf0a6f6c783"><code>100000</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>2</code></span>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — not listed as required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;tx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;rx&#34;</code></span>

<a id="dt-e744adcd27efde46089d"></a>

### <code>interconnects</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b4f76d59f71528edb502"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-e5b2d2a306a82ca7f5db"></a>

### <code>pinctrl&#45;0</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-ab9bbcdf7df05eccecbb"></a>

### <code>pinctrl&#45;1</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-abe836d65f0d3b516449"></a>

### <code>pinctrl&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-3c0b6da8fca9dcaba9e2"><code>1</code></span>

<a id="dt-2a4c8347cd450cbb54d1"></a>

#### Array item rules (<code>items</code>)

<a id="dt-81e07bec64c76061809a"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-53a75a2483b213288417"><code>&#34;default&#34;</code></span>

<a id="dt-533e247d3334f36b600b"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-07541635483a597d9829"><code>&#34;sleep&#34;</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-01a7da425c5cdde10237"></a>

### <code>required&#45;opps</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-247a602eeb337c91095b"><code>1</code></span>

**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;clock&#45;names&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;clocks&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupts&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;reg&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/clock/qcom,gcc-msm8998.h&gt;
#include &lt;dt-bindings/interconnect/qcom,msm8996.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/power/qcom-rpmpd.h&gt;

i2c@c175000 {
    compatible = "qcom,i2c-qup-v2.2.1";
    reg = &lt;0x0c175000 0x600&gt;;
    interrupts = &lt;GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH&gt;;

    clocks = &lt;&amp;gcc GCC_BLSP1_QUP1_I2C_APPS_CLK&gt;,
             &lt;&amp;gcc GCC_BLSP1_AHB_CLK&gt;;
    clock-names = "core", "iface";
    dmas = &lt;&amp;blsp1_dma 6&gt;, &lt;&amp;blsp1_dma 7&gt;;
    dma-names = "tx", "rx";
    pinctrl-names = "default", "sleep";
    pinctrl-0 = &lt;&amp;blsp1_i2c1_default&gt;;
    pinctrl-1 = &lt;&amp;blsp1_i2c1_sleep&gt;;
    power-domains = &lt;&amp;rpmpd MSM8909_VDDCX&gt;;
    required-opps = &lt;&amp;rpmpd_opp_svs_krait&gt;;
    interconnects = &lt;&amp;pnoc MASTER_BLSP_1 &amp;bimc SLAVE_EBI_CH0&gt;;
    clock-frequency = &lt;400000&gt;;

    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&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 OR BSD-2-Clause</span></p>

<p id="dt-comment-1"><strong>Line 20:</strong> <span> for 8660, 8960 and 8064</span></p>

<p id="dt-comment-2"><strong>Line 21:</strong> <span> for 8974 v1</span></p>

<p id="dt-comment-3"><strong>Line 22:</strong> <span> for 8974 v2 and later</span></p>

</details>

---

# Realtek RTL I2C Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for Realtek RTL 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;realtek&#44;rtl9301&#45;i2c&#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;Chris Packham &#60;chris&#46;packham&#64;alliedtelesis&#46;co&#46;nz&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">RTL9300 SoCs have two I2C controllers. Each of these has an SCL line (which if not-used for SCL can be a GPIO). There are 8 common SDA lines that can be assigned to either I2C controller. RTL9310 SoCs have equal capabilities but support 12 common SDA lines which can be assigned to either I2C controller.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;realtek&#44;rtl9302b&#45;i2c&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;realtek&#44;rtl9302c&#45;i2c&#34;</code></span>, <span id="dt-b7d19de74fd35364d49f"><code>&#34;realtek&#44;rtl9303&#45;i2c&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;realtek&#44;rtl9301&#45;i2c&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;realtek&#44;rtl9311&#45;i2c&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;realtek&#44;rtl9312&#45;i2c&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;realtek&#44;rtl9313&#45;i2c&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;realtek&#44;rtl9310&#45;i2c&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> **Allowed values (<code>enum</code>):** <a id="dt-9fc3f5081af7fe32b794"></a> <span id="dt-264517b00ca7c7f3c30f"><code>&#34;realtek&#44;rtl9301&#45;i2c&#34;</code></span>, <span id="dt-78ff4d043ca24550ed33"><code>&#34;realtek&#44;rtl9310&#45;i2c&#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">Register offset and size of this I2C controller.</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-26cf2fcd09fab39b2319"></a>

### <code>realtek&#44;scl</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-336bd88c9bed4789b49b">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-954405c7ea60721bc089">
<p style="white-space: pre-wrap">The SCL line number of this I2C controller.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-3286c27bc767cf227ee7"></a> <span id="dt-6d0e7f96e97312fd06f4"><code>0</code></span>, <span id="dt-9c5cec9490a1a94a879d"><code>1</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-b6e48dc9a64288fb2bf1"></a>

### <code>&#94;i2c&#64;&#91;0&#45;9ab&#93;&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bc506cabf6c20bbebe57">[<code>&#47;schemas&#47;i2c&#47;i2c&#45;controller&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-shared/i2c/i2c-controller.md#dt-root>)</span>

<a id="dt-f9aac1c60a640c67e7ee"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-161b811d06b660060c10"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-6c5bb0b250f49db2fd8f"></a>

**<code>reg</code> — required here**

<div id="dt-43ac639e047b3fbc43f1">
<p style="white-space: pre-wrap">The SDA line number associated with the I2C bus.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c99868a05dac512b8d15"><code>1</code></span>

**Required in this object (<code>required</code>):** <a id="dt-3992b69ac383e3589175"></a> <span id="dt-1a5206b789059d5f310b"><code>&#34;reg&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> <a id="dt-3bbb54dfa1f05dfb4d25"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-97f47e9dc804c839f86d"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-bbadeeb73dfaefabae79"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;realtek&#44;rtl9310&#45;i2c&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-b0b2f2243ff9a854f151"></a> <span id="dt-4e9ead0e861b67997dec"><code>&#34;realtek&#44;scl&#34;</code></span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;realtek&#44;rtl9301&#45;i2c&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-8b91e530d80f7cc46df3"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-b487708da7bbc12f1509"></a>
> >
> > **<code>&#94;i2c&#64;&#91;89ab&#93;&#36;</code> — name matches this regular expression**
> >
> > <code>false</code> — Not permitted by this property 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@36c {
  compatible = "realtek,rtl9301-i2c";
  reg = &lt;0x36c 0x14&gt;;
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  i2c@2 {
    reg = &lt;2&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&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>

---

# Renesas EMMA Mobile EV2 IIC Interface

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for Renesas EMMA Mobile EV2 IIC Interface.

<!-- 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;renesas&#44;iic&#45;emev2&#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;Wolfram Sang &#60;wsa&#43;renesas&#64;sang&#45;engineering&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;renesas&#44;iic&#45;emev2&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;sclk&#34;</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;&#35;size&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

iic0: i2c@e0070000 {
    compatible = "renesas,iic-emev2";
    reg = &lt;0xe0070000 0x28&gt;;
    interrupts = &lt;GIC_SPI 32 IRQ_TYPE_EDGE_RISING&gt;;
    clocks = &lt;&amp;iic0_sclk&gt;;
    clock-names = "sclk";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&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>

---

# Renesas R-Car I2C Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for Renesas R-Car 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;renesas&#44;rcar&#45;i2c&#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;Wolfram Sang &#60;wsa&#43;renesas&#64;sang&#45;engineering&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;renesas&#44;i2c&#45;r8a7778&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;renesas&#44;i2c&#45;r8a7779&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;renesas&#44;rcar&#45;gen1&#45;i2c&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;renesas&#44;i2c&#45;r8a7742&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;renesas&#44;i2c&#45;r8a7743&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;renesas&#44;i2c&#45;r8a7744&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;renesas&#44;i2c&#45;r8a7745&#34;</code></span>, <span id="dt-eb61ad381053476dae55"><code>&#34;renesas&#44;i2c&#45;r8a77470&#34;</code></span>, <span id="dt-05b29c21ca38ad337d53"><code>&#34;renesas&#44;i2c&#45;r8a7790&#34;</code></span>, <span id="dt-93c2763ada782db7e26c"><code>&#34;renesas&#44;i2c&#45;r8a7791&#34;</code></span>, <span id="dt-36a81d983bbaf2a6b89d"><code>&#34;renesas&#44;i2c&#45;r8a7792&#34;</code></span>, <span id="dt-bbccc6a1a74023520617"><code>&#34;renesas&#44;i2c&#45;r8a7793&#34;</code></span>, <span id="dt-ca5599deed0d8617e9ff"><code>&#34;renesas&#44;i2c&#45;r8a7794&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;renesas&#44;rcar&#45;gen2&#45;i2c&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9d5b9f6fd2f9759f6e43"></a> <span id="dt-73fb2f4b762df7b35870"><code>&#34;renesas&#44;i2c&#45;r8a774a1&#34;</code></span>, <span id="dt-4f2dd487e4b2e6e79827"><code>&#34;renesas&#44;i2c&#45;r8a774b1&#34;</code></span>, <span id="dt-dba59cbb664a09df0380"><code>&#34;renesas&#44;i2c&#45;r8a774c0&#34;</code></span>, <span id="dt-7337bb6973adc8f5010d"><code>&#34;renesas&#44;i2c&#45;r8a774e1&#34;</code></span>, <span id="dt-2a4824de128057522b89"><code>&#34;renesas&#44;i2c&#45;r8a7795&#34;</code></span>, <span id="dt-9d0b7e5fcd963b685b0d"><code>&#34;renesas&#44;i2c&#45;r8a7796&#34;</code></span>, <span id="dt-53e062f93be7aa5d7bb3"><code>&#34;renesas&#44;i2c&#45;r8a77961&#34;</code></span>, <span id="dt-6bdd021aae4cd71c629b"><code>&#34;renesas&#44;i2c&#45;r8a77965&#34;</code></span>, <span id="dt-f0a41fb0ccb86c57a4ce"><code>&#34;renesas&#44;i2c&#45;r8a77970&#34;</code></span>, <span id="dt-5697b2b922b4810e5e2a"><code>&#34;renesas&#44;i2c&#45;r8a77980&#34;</code></span>, <span id="dt-ae3ba9ea351c25bd7b93"><code>&#34;renesas&#44;i2c&#45;r8a77990&#34;</code></span>, <span id="dt-4734b2dd6b7318b3e978"><code>&#34;renesas&#44;i2c&#45;r8a77995&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;renesas&#44;rcar&#45;gen3&#45;i2c&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> <a id="dt-a1b1c435b08c85ff96c7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4758c8f9c99bfa28b10c"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-12b3e48e4010cb944698"></a> <span id="dt-e46f645e6715baa60581"><code>&#34;renesas&#44;i2c&#45;r8a779a0&#34;</code></span>, <span id="dt-f0654d9dc65c16ce7d6a"><code>&#34;renesas&#44;i2c&#45;r8a779f0&#34;</code></span>, <span id="dt-80bf5233c0e34928f5ac"><code>&#34;renesas&#44;i2c&#45;r8a779g0&#34;</code></span>, <span id="dt-3e86066ba2e9703b9565"><code>&#34;renesas&#44;i2c&#45;r8a779h0&#34;</code></span>
>
> <a id="dt-c99d921c49bf15e79633"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-9e0f2ef968dd632f09b7"><code>&#34;renesas&#44;rcar&#45;gen4&#45;i2c&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">Desired I2C bus clock frequency in Hz. The absence of this property indicates the default frequency 100 kHz.</p>
</div>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-0b7af34c886c929ed823"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>4</code></span>

<div id="dt-af21a91b793bee877863">
<p style="white-space: pre-wrap">Must contain a list of pairs of references to DMA specifiers, one for transmission, and one for reception.</p>
</div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-6d0b8f093f81278007f9"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-f6fde33b632609b95b28"><code>4</code></span>

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-57258bd4a4fa06489340"></a> <span id="dt-77b39246038ee704a1be"><code>&#34;tx&#34;</code></span>, <span id="dt-75776b05535ae7c76115"><code>&#34;rx&#34;</code></span>

<a id="dt-483ad10d63c0af298e6c"></a>

### <code>i2c&#45;scl&#45;falling&#45;time&#45;ns</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-9840db10d377d1c0afbc"><code>35</code></span>

<div id="dt-cf2722e21ee84c23a7bb">
<p style="white-space: pre-wrap">Number of nanoseconds the SCL signal takes to fall; t(f) in the I2C specification.</p>
</div>

<a id="dt-ef8c22cf55bb349e5a7c"></a>

### <code>i2c&#45;scl&#45;internal&#45;delay&#45;ns</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-7025d9cfc59535c731f4"><code>50</code></span>

<div id="dt-a126a9b34820c410c23a">
<p style="white-space: pre-wrap">Number of nanoseconds the IP core additionally needs to setup SCL.</p>
</div>

<a id="dt-eb170cf7f8d2e0729659"></a>

### <code>i2c&#45;scl&#45;rising&#45;time&#45;ns</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-76e37b0ea890e10bf708"><code>200</code></span>

<div id="dt-107124a2fd1d4637d3d9">
<p style="white-space: pre-wrap">Number of nanoseconds the SCL signal takes to rise; t(r) in the I2C specification.</p>
</div>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;power&#45;domains&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;&#35;size&#45;cells&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-61039da0155527cc02ba"></a> <span id="dt-20f8a813aab744ff239a"><code>&#34;renesas&#44;rcar&#45;gen1&#45;i2c&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;renesas&#44;rcar&#45;gen2&#45;i2c&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-f444428309b17730c91b"></a>
> >
> > **<code>dmas</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-606ab4afd02d69f0a319"></a>
> >
> > **<code>dma&#45;names</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;renesas&#44;rcar&#45;gen2&#45;i2c&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;renesas&#44;rcar&#45;gen3&#45;i2c&#34;</code></span>, <span id="dt-d1d620265d00d6403d17"><code>&#34;renesas&#44;rcar&#45;gen4&#45;i2c&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-caec4da91c2837148d80"></a> <span id="dt-aa785038ee05bfb1e067"><code>&#34;resets&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/clock/r8a7791-cpg-mssr.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/power/r8a7791-sysc.h&gt;

i2c0: i2c@e6508000 {
    compatible = "renesas,i2c-r8a7791", "renesas,rcar-gen2-i2c";
    reg = &lt;0xe6508000 0x40&gt;;
    interrupts = &lt;GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH&gt;;
    clock-frequency = &lt;400000&gt;;
    clocks = &lt;&amp;cpg CPG_MOD 931&gt;;
    power-domains = &lt;&amp;sysc R8A7791_PD_ALWAYS_ON&gt;;
    resets = &lt;&amp;cpg 931&gt;;
    i2c-scl-internal-delay-ns = &lt;6&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&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>

<p id="dt-comment-1"><strong>Line 17:</strong> <span> R-Car M1A</span></p>

<p id="dt-comment-2"><strong>Line 18:</strong> <span> R-Car H1</span></p>

<p id="dt-comment-3"><strong>Line 19:</strong> <span> R-Car Gen1</span></p>

<p id="dt-comment-4"><strong>Line 23:</strong> <span> RZ/G1H</span></p>

<p id="dt-comment-5"><strong>Line 24:</strong> <span> RZ/G1M</span></p>

<p id="dt-comment-6"><strong>Line 25:</strong> <span> RZ/G1N</span></p>

<p id="dt-comment-7"><strong>Line 26:</strong> <span> RZ/G1E</span></p>

<p id="dt-comment-8"><strong>Line 27:</strong> <span> RZ/G1C</span></p>

<p id="dt-comment-9"><strong>Line 28:</strong> <span> R-Car H2</span></p>

<p id="dt-comment-10"><strong>Line 29:</strong> <span> R-Car M2-W</span></p>

<p id="dt-comment-11"><strong>Line 30:</strong> <span> R-Car V2H</span></p>

<p id="dt-comment-12"><strong>Line 31:</strong> <span> R-Car M2-N</span></p>

<p id="dt-comment-13"><strong>Line 32:</strong> <span> R-Car E2</span></p>

<p id="dt-comment-14"><strong>Line 33:</strong> <span> R-Car Gen2 and RZ/G1</span></p>

<p id="dt-comment-15"><strong>Line 37:</strong> <span> RZ/G2M</span></p>

<p id="dt-comment-16"><strong>Line 38:</strong> <span> RZ/G2N</span></p>

<p id="dt-comment-17"><strong>Line 39:</strong> <span> RZ/G2E</span></p>

<p id="dt-comment-18"><strong>Line 40:</strong> <span> RZ/G2H</span></p>

<p id="dt-comment-19"><strong>Line 41:</strong> <span> R-Car H3</span></p>

<p id="dt-comment-20"><strong>Line 42:</strong> <span> R-Car M3-W</span></p>

<p id="dt-comment-21"><strong>Line 43:</strong> <span> R-Car M3-W+</span></p>

<p id="dt-comment-22"><strong>Line 44:</strong> <span> R-Car M3-N</span></p>

<p id="dt-comment-23"><strong>Line 45:</strong> <span> R-Car V3M</span></p>

<p id="dt-comment-24"><strong>Line 46:</strong> <span> R-Car V3H</span></p>

<p id="dt-comment-25"><strong>Line 47:</strong> <span> R-Car E3</span></p>

<p id="dt-comment-26"><strong>Line 48:</strong> <span> R-Car D3</span></p>

<p id="dt-comment-27"><strong>Line 49:</strong> <span> R-Car Gen3 and RZ/G2</span></p>

<p id="dt-comment-28"><strong>Line 53:</strong> <span> R-Car V3U</span></p>

<p id="dt-comment-29"><strong>Line 54:</strong> <span> R-Car S4-8</span></p>

<p id="dt-comment-30"><strong>Line 55:</strong> <span> R-Car V4H</span></p>

<p id="dt-comment-31"><strong>Line 56:</strong> <span> R-Car V4M</span></p>

<p id="dt-comment-32"><strong>Line 57:</strong> <span> R-Car Gen4</span></p>

</details>

---

# Renesas RZ/A and RZ/G2L I2C Bus Interface (RIIC)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for Renesas RZ/A and RZ/G2L I2C Bus Interface (RIIC).

<!-- 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;renesas&#44;riic&#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;Chris Brandt &#60;chris&#46;brandt&#64;renesas&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Wolfram Sang &#60;wsa&#43;renesas&#64;sang&#45;engineering&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;renesas&#44;riic&#45;r7s72100&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;renesas&#44;riic&#45;r7s9210&#34;</code></span>, <span id="dt-b7d19de74fd35364d49f"><code>&#34;renesas&#44;riic&#45;r9a07g043&#34;</code></span>, <span id="dt-6cbdeefc52e7132bc62c"><code>&#34;renesas&#44;riic&#45;r9a07g044&#34;</code></span>, <span id="dt-fd88adda17227ca32776"><code>&#34;renesas&#44;riic&#45;r9a07g054&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;renesas&#44;riic&#45;rz&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;renesas&#44;riic&#45;r9a08g045&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;renesas&#44;riic&#45;r9a09g047&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;renesas&#44;riic&#45;r9a09g056&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;renesas&#44;riic&#45;r9a09g057&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> **Allowed values (<code>enum</code>):** <a id="dt-9fc3f5081af7fe32b794"></a> <span id="dt-264517b00ca7c7f3c30f"><code>&#34;renesas&#44;riic&#45;r9a09g057&#34;</code></span>, <span id="dt-78ff4d043ca24550ed33"><code>&#34;renesas&#44;riic&#45;r9a09g077&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> <a id="dt-a1b1c435b08c85ff96c7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4758c8f9c99bfa28b10c"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-4c3894ced8f7125f7050"><code>&#34;renesas&#44;riic&#45;r9a09g087&#34;</code></span>
>
> <a id="dt-c99d921c49bf15e79633"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-9e0f2ef968dd632f09b7"><code>&#34;renesas&#44;riic&#45;r9a09g077&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

<a id="dt-9b52a451eef25c07694b"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-d26657d1580e6ce9e383"></a>

**Rule 1**

> <a id="dt-e730f1ff71d80e4c5234"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-99b7a14bc2646110ee04"></a>
>
> **Item 1**
>
> > <div id="dt-fe2fc1f039d150270a0b">
> > <p style="white-space: pre-wrap">Transmit End Interrupt</p>
> > </div>
>
> <a id="dt-d3d2f783487b8e008a5c"></a>
>
> **Item 2**
>
> > <div id="dt-5168cff518622fe97510">
> > <p style="white-space: pre-wrap">Receive Data Full Interrupt</p>
> > </div>
>
> <a id="dt-bee0032dea26b3d2e3aa"></a>
>
> **Item 3**
>
> > <div id="dt-443dc302bd6f4bfc49af">
> > <p style="white-space: pre-wrap">Transmit Data Empty Interrupt</p>
> > </div>
>
> <a id="dt-0ba19f144479f245bf73"></a>
>
> **Item 4**
>
> > <div id="dt-740416a8b044921c8c4e">
> > <p style="white-space: pre-wrap">Stop Condition Detection Interrupt</p>
> > </div>
>
> <a id="dt-b1e517fad553cc11fc8e"></a>
>
> **Item 5**
>
> > <div id="dt-2fe8d3f8de17abdf9f0c">
> > <p style="white-space: pre-wrap">Start Condition Detection Interrupt</p>
> > </div>
>
> <a id="dt-8c2154972cd5cd2877be"></a>
>
> **Item 6**
>
> > <div id="dt-1603435b6e8194ae3860">
> > <p style="white-space: pre-wrap">NACK Reception Interrupt</p>
> > </div>
>
> <a id="dt-4e78224d79901624c92a"></a>
>
> **Item 7**
>
> > <div id="dt-bd4b038dca7536dfc74e">
> > <p style="white-space: pre-wrap">Arbitration-Lost Interrupt</p>
> > </div>
>
> <a id="dt-ffccf61c6631c3795321"></a>
>
> **Item 8**
>
> > <div id="dt-67c1be71a4faec9d91e4">
> > <p style="white-space: pre-wrap">Timeout Interrupt</p>
> > </div>

<a id="dt-ecf43776b66e4d97ec59"></a>

**Rule 2**

> <a id="dt-7e2661c1b3b72332bbb2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-507adeb6459bb581cf46"></a>
>
> **Item 1**
>
> > <div id="dt-24fb7f926feaedf29437">
> > <p style="white-space: pre-wrap">Transfer Error Or Event Generation</p>
> > </div>
>
> <a id="dt-162a42bf01a964a3c986"></a>
>
> **Item 2**
>
> > <div id="dt-d6a7300cf71f7ea72644">
> > <p style="white-space: pre-wrap">Receive Data Full Interrupt</p>
> > </div>
>
> <a id="dt-c3da503e69d0adb7b555"></a>
>
> **Item 3**
>
> > <div id="dt-a58789cdfc265db79787">
> > <p style="white-space: pre-wrap">Transmit Data Empty Interrupt</p>
> > </div>
>
> <a id="dt-7c231555169bf6760406"></a>
>
> **Item 4**
>
> > <div id="dt-b33f779ff571caa01d87">
> > <p style="white-space: pre-wrap">Transmit End Interrupt</p>
> > </div>

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — required here

<a id="dt-7c87f4c4d6ae5b67cb69"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-6f3c3caf871198d0891a"></a>

**Rule 1**

> <a id="dt-884cf2259e7919782d91"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-ae566b1863c35904fd78"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-70b44ca6c048c5d3a3af"><code>&#34;tei&#34;</code></span>
>
> <a id="dt-d549e6d900c0ad79ba7c"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-0ea26d5a82284fddd203"><code>&#34;ri&#34;</code></span>
>
> <a id="dt-ff4970bac801c0f78f25"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-adb6d00832cf46adc510"><code>&#34;ti&#34;</code></span>
>
> <a id="dt-7b195f49121953381547"></a>
>
> **Item 4**
>
> > **Exact value (<code>const</code>):** <span id="dt-c477d1f94709513d3f06"><code>&#34;spi&#34;</code></span>
>
> <a id="dt-1b1e56d153185065d57b"></a>
>
> **Item 5**
>
> > **Exact value (<code>const</code>):** <span id="dt-e3f8d9ef56b985c7ba78"><code>&#34;sti&#34;</code></span>
>
> <a id="dt-543e631bb327c729e746"></a>
>
> **Item 6**
>
> > **Exact value (<code>const</code>):** <span id="dt-6e259dae86702c445fbd"><code>&#34;naki&#34;</code></span>
>
> <a id="dt-8aa58223c5f0b6bf8729"></a>
>
> **Item 7**
>
> > **Exact value (<code>const</code>):** <span id="dt-f1da6e49d391a2170d34"><code>&#34;ali&#34;</code></span>
>
> <a id="dt-44ba186bcf7e9409d535"></a>
>
> **Item 8**
>
> > **Exact value (<code>const</code>):** <span id="dt-80108950b0b76e7b1d41"><code>&#34;tmoi&#34;</code></span>

<a id="dt-49450ca309f7fa677720"></a>

**Rule 2**

> <a id="dt-3f5226d3358b9f7233cd"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-168695c518f0a2b5192f"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-219a5f51cbccd7444454"><code>&#34;eei&#34;</code></span>
>
> <a id="dt-74dea7eca44399918292"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-94b431338a76fa9ae249"><code>&#34;rxi&#34;</code></span>
>
> <a id="dt-c5cfc6a5b382577118b4"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-6c8a800bce3050ac216d"><code>&#34;txi&#34;</code></span>
>
> <a id="dt-49e904b35cf148fa04a1"></a>
>
> **Item 4**
>
> > **Exact value (<code>const</code>):** <span id="dt-4bf52f3885a7adec6bc2"><code>&#34;tei&#34;</code></span>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — required here

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">Desired I2C bus clock frequency in Hz. The absence of this property indicates the default frequency 100 kHz.</p>
</div>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupt&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;frequency&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;power&#45;domains&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;&#35;size&#45;cells&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;renesas&#44;riic&#45;r9a09g077&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-46e318450db8639361ba"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-5826f726e17db7a38ebe"><code>4</code></span>
> >
> > <a id="dt-72203b463a4149b493f4"></a>
> >
> > **<code>interrupt&#45;names</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-f319f9155b3fd98d51a5"><code>4</code></span>
> >
> > <a id="dt-205788d1fea947f3ac3d"></a>
> >
> > **<code>resets</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-3a470f37dffcfac0d142"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-41cf5aee64be7e9db2c9"><code>8</code></span>
> >
> > <a id="dt-046e7059e7567cda1907"></a>
> >
> > **<code>interrupt&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-186e4dd231d767f6f4f1"><code>8</code></span>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;renesas&#44;riic&#45;r9a07g043&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;renesas&#44;riic&#45;r9a07g044&#34;</code></span>, <span id="dt-d1d620265d00d6403d17"><code>&#34;renesas&#44;riic&#45;r9a07g054&#34;</code></span>, <span id="dt-3d53ff488bbaf861c416"><code>&#34;renesas&#44;riic&#45;r9a09g057&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-caec4da91c2837148d80"></a> <span id="dt-aa785038ee05bfb1e067"><code>&#34;resets&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/clock/r7s72100-clock.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

i2c0: i2c@fcfee000 {
    compatible = "renesas,riic-r7s72100", "renesas,riic-rz";
    reg = &lt;0xfcfee000 0x44&gt;;
    interrupts = &lt;GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 158 IRQ_TYPE_EDGE_RISING&gt;,
                 &lt;GIC_SPI 159 IRQ_TYPE_EDGE_RISING&gt;,
                 &lt;GIC_SPI 160 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH&gt;;
    interrupt-names = "tei", "ri", "ti", "spi", "sti", "naki", "ali",
                      "tmoi";
    clocks = &lt;&amp;mstp9_clks R7S72100_CLK_I2C0&gt;;
    clock-frequency = &lt;100000&gt;;
    power-domains = &lt;&amp;cpg_clocks&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&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>

<p id="dt-comment-1"><strong>Line 18:</strong> <span> RZ/A1H</span></p>

<p id="dt-comment-2"><strong>Line 19:</strong> <span> RZ/A2M</span></p>

<p id="dt-comment-3"><strong>Line 20:</strong> <span> RZ/G2UL and RZ/Five</span></p>

<p id="dt-comment-4"><strong>Line 21:</strong> <span> RZ/G2{L,LC}</span></p>

<p id="dt-comment-5"><strong>Line 22:</strong> <span> RZ/V2L</span></p>

<p id="dt-comment-6"><strong>Line 23:</strong> <span> RZ/A or RZ/G2L</span></p>

<p id="dt-comment-7"><strong>Line 27:</strong> <span> RZ/G3S</span></p>

<p id="dt-comment-8"><strong>Line 28:</strong> <span> RZ/G3E</span></p>

<p id="dt-comment-9"><strong>Line 29:</strong> <span> RZ/V2N</span></p>

<p id="dt-comment-10"><strong>Line 30:</strong> <span> RZ/V2H(P)</span></p>

<p id="dt-comment-11"><strong>Line 33:</strong> <span> RZ/V2H(P)</span></p>

<p id="dt-comment-12"><strong>Line 34:</strong> <span> RZ/T2H</span></p>

<p id="dt-comment-13"><strong>Line 37:</strong> <span> RZ/N2H</span></p>

<p id="dt-comment-14"><strong>Line 38:</strong> <span> RZ/T2H</span></p>

</details>

---

# Renesas R-Mobile I2C Bus Interface (IIC)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for Renesas R-Mobile I2C Bus Interface (IIC).

<!-- 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;renesas&#44;rmobile&#45;iic&#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;Wolfram Sang &#60;wsa&#43;renesas&#64;sang&#45;engineering&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;renesas&#44;iic&#45;r8a73a4&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;renesas&#44;iic&#45;r8a7740&#34;</code></span>, <span id="dt-b7d19de74fd35364d49f"><code>&#34;renesas&#44;iic&#45;sh73a0&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;renesas&#44;rmobile&#45;iic&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;renesas&#44;iic&#45;r8a7742&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;renesas&#44;iic&#45;r8a7743&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;renesas&#44;iic&#45;r8a7744&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;renesas&#44;iic&#45;r8a7745&#34;</code></span>, <span id="dt-eb61ad381053476dae55"><code>&#34;renesas&#44;iic&#45;r8a7790&#34;</code></span>, <span id="dt-05b29c21ca38ad337d53"><code>&#34;renesas&#44;iic&#45;r8a7791&#34;</code></span>, <span id="dt-93c2763ada782db7e26c"><code>&#34;renesas&#44;iic&#45;r8a7792&#34;</code></span>, <span id="dt-36a81d983bbaf2a6b89d"><code>&#34;renesas&#44;iic&#45;r8a7793&#34;</code></span>, <span id="dt-bbccc6a1a74023520617"><code>&#34;renesas&#44;iic&#45;r8a7794&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;renesas&#44;rcar&#45;gen2&#45;iic&#34;</code></span>
>
> <a id="dt-1655c7bc2063a21f60f8"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-7c57653c6bcac024338a"><code>&#34;renesas&#44;rmobile&#45;iic&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <a id="dt-e626d61e9d5d76cc48f9"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-6b46935eab08de6d1f0a"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-9d5b9f6fd2f9759f6e43"></a> <span id="dt-73fb2f4b762df7b35870"><code>&#34;renesas&#44;iic&#45;r8a774a1&#34;</code></span>, <span id="dt-4f2dd487e4b2e6e79827"><code>&#34;renesas&#44;iic&#45;r8a774b1&#34;</code></span>, <span id="dt-dba59cbb664a09df0380"><code>&#34;renesas&#44;iic&#45;r8a774c0&#34;</code></span>, <span id="dt-7337bb6973adc8f5010d"><code>&#34;renesas&#44;iic&#45;r8a774e1&#34;</code></span>, <span id="dt-2a4824de128057522b89"><code>&#34;renesas&#44;iic&#45;r8a7795&#34;</code></span>, <span id="dt-9d0b7e5fcd963b685b0d"><code>&#34;renesas&#44;iic&#45;r8a7796&#34;</code></span>, <span id="dt-53e062f93be7aa5d7bb3"><code>&#34;renesas&#44;iic&#45;r8a77961&#34;</code></span>, <span id="dt-6bdd021aae4cd71c629b"><code>&#34;renesas&#44;iic&#45;r8a77965&#34;</code></span>, <span id="dt-f0a41fb0ccb86c57a4ce"><code>&#34;renesas&#44;iic&#45;r8a77990&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;renesas&#44;rcar&#45;gen3&#45;iic&#34;</code></span>
>
> <a id="dt-3acd265d2314f4be0bd4"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-d09fdb468825e586f676"><code>&#34;renesas&#44;rmobile&#45;iic&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">Desired I2C bus clock frequency in Hz. The absence of this property indicates the default frequency 100 kHz.</p>
</div>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-0b7af34c886c929ed823"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-9b3f438568f3e2b46d6f"><code>4</code></span>

<div id="dt-af21a91b793bee877863">
<p style="white-space: pre-wrap">Must contain a list of pairs of references to DMA specifiers, one for transmission, and one for reception.</p>
</div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-6d0b8f093f81278007f9"><code>2</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-f6fde33b632609b95b28"><code>4</code></span>

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-57258bd4a4fa06489340"></a> <span id="dt-77b39246038ee704a1be"><code>&#34;tx&#34;</code></span>, <span id="dt-75776b05535ae7c76115"><code>&#34;rx&#34;</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;power&#45;domains&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;&#35;size&#45;cells&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-61039da0155527cc02ba"></a> <span id="dt-20f8a813aab744ff239a"><code>&#34;renesas&#44;iic&#45;r8a7740&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;renesas&#44;iic&#45;sh73a0&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-46e318450db8639361ba"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > <a id="dt-38c5f39ec75feb617492"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-34545c0dc4f201806e16"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-c2bd30fe744c96c1b63c">
> > > <p style="white-space: pre-wrap">Arbitration Lost Interrupt (ALI)</p>
> > > </div>
> >
> > <a id="dt-813395cb4f0b371c88f7"></a>
> >
> > **Item 2**
> >
> > > <div id="dt-3642a3ae027aa030d27f">
> > > <p style="white-space: pre-wrap">Non-acknowledge Detection Interrupt (TACKI)</p>
> > > </div>
> >
> > <a id="dt-e71a091aa166910c8fea"></a>
> >
> > **Item 3**
> >
> > > <div id="dt-156557f005f55c8a8896">
> > > <p style="white-space: pre-wrap">Wait Interrupt (WAITI)</p>
> > > </div>
> >
> > <a id="dt-7edc709162674d354328"></a>
> >
> > **Item 4**
> >
> > > <div id="dt-a63a83dbdbb5b76414eb">
> > > <p style="white-space: pre-wrap">Data Transmit Enable interrupt (DTEI)</p>
> > > </div>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-3a470f37dffcfac0d142"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > <a id="dt-46125dabc22f8d24415d"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-a77e7105f9dbd9d72d23"></a>
> >
> > **Item 1**
> >
> > > <div id="dt-300df65d86f2ad016ca0">
> > > <p style="white-space: pre-wrap">Single combined interrupt</p>
> > > </div>

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;renesas&#44;rcar&#45;gen2&#45;iic&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;renesas&#44;rcar&#45;gen3&#45;iic&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-caec4da91c2837148d80"></a> <span id="dt-aa785038ee05bfb1e067"><code>&#34;resets&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/clock/r8a7790-cpg-mssr.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/power/r8a7790-sysc.h&gt;

iic0: i2c@e6500000 {
    compatible = "renesas,iic-r8a7790", "renesas,rcar-gen2-iic",
                 "renesas,rmobile-iic";
    reg = &lt;0xe6500000 0x425&gt;;
    interrupts = &lt;GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;cpg CPG_MOD 318&gt;;
    clock-frequency = &lt;400000&gt;;
    dmas = &lt;&amp;dmac0 0x61&gt;, &lt;&amp;dmac0 0x62&gt;, &lt;&amp;dmac1 0x61&gt;, &lt;&amp;dmac1 0x62&gt;;
    dma-names = "tx", "rx", "tx", "rx";
    power-domains = &lt;&amp;sysc R8A7790_PD_ALWAYS_ON&gt;;
    resets = &lt;&amp;cpg 318&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&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>

<p id="dt-comment-1"><strong>Line 17:</strong> <span> R-Mobile APE6</span></p>

<p id="dt-comment-2"><strong>Line 18:</strong> <span> R-Mobile A1</span></p>

<p id="dt-comment-3"><strong>Line 19:</strong> <span> SH-Mobile AG5</span></p>

<p id="dt-comment-4"><strong>Line 20:</strong> <span> Generic</span></p>

<p id="dt-comment-5"><strong>Line 24:</strong> <span> RZ/G1H</span></p>

<p id="dt-comment-6"><strong>Line 25:</strong> <span> RZ/G1M</span></p>

<p id="dt-comment-7"><strong>Line 26:</strong> <span> RZ/G1N</span></p>

<p id="dt-comment-8"><strong>Line 27:</strong> <span> RZ/G1E</span></p>

<p id="dt-comment-9"><strong>Line 28:</strong> <span> R-Car H2</span></p>

<p id="dt-comment-10"><strong>Line 29:</strong> <span> R-Car M2-W</span></p>

<p id="dt-comment-11"><strong>Line 30:</strong> <span> R-Car V2H</span></p>

<p id="dt-comment-12"><strong>Line 31:</strong> <span> R-Car M2-N</span></p>

<p id="dt-comment-13"><strong>Line 32:</strong> <span> R-Car E2</span></p>

<p id="dt-comment-14"><strong>Line 33:</strong> <span> R-Car Gen2 and RZ/G1</span></p>

<p id="dt-comment-15"><strong>Line 34:</strong> <span> Generic</span></p>

<p id="dt-comment-16"><strong>Line 38:</strong> <span> RZ/G2M</span></p>

<p id="dt-comment-17"><strong>Line 39:</strong> <span> RZ/G2N</span></p>

<p id="dt-comment-18"><strong>Line 40:</strong> <span> RZ/G2E</span></p>

<p id="dt-comment-19"><strong>Line 41:</strong> <span> RZ/G2H</span></p>

<p id="dt-comment-20"><strong>Line 42:</strong> <span> R-Car H3</span></p>

<p id="dt-comment-21"><strong>Line 43:</strong> <span> R-Car M3-W</span></p>

<p id="dt-comment-22"><strong>Line 44:</strong> <span> R-Car M3-W+</span></p>

<p id="dt-comment-23"><strong>Line 45:</strong> <span> R-Car M3-N</span></p>

<p id="dt-comment-24"><strong>Line 46:</strong> <span> R-Car E3</span></p>

<p id="dt-comment-25"><strong>Line 47:</strong> <span> R-Car Gen3 and RZ/G2</span></p>

<p id="dt-comment-26"><strong>Line 48:</strong> <span> Generic</span></p>

</details>

---

# Renesas RZ/V2M I2C Bus Interface

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for Renesas RZ/V2M I2C Bus Interface.

<!-- 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;renesas&#44;rzv2m&#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;Fabrizio Castro &#60;fabrizio&#46;castro&#46;jz&#64;renesas&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-cc3709943397035582d2"></a>

#### Array item rules (<code>items</code>)

<a id="dt-fec97e71a4359503ae6e"></a>

**Item 1**

> **Allowed values (<code>enum</code>):** <a id="dt-851ace07a50c83495949"></a> <span id="dt-63b688f2ccd82724cb8f"><code>&#34;renesas&#44;r9a09g011&#45;i2c&#34;</code></span>

<a id="dt-0891c69625632ea817fd"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-f1f862a3cfab3ac620c8"><code>&#34;renesas&#44;rzv2m&#45;i2c&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

<a id="dt-985aed94c3a5de8e946a"></a>

#### Array item rules (<code>items</code>)

<a id="dt-bc458260662c6fe0b59f"></a>

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">Data transmission/reception interrupt</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">Status interrupt</p>
> </div>

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — required here

<a id="dt-77e94e63ca0b20bb5ef1"></a>

#### Array item rules (<code>items</code>)

<a id="dt-1198ecbdbe49337cf73e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-7f7686a533ef09dda0b1"><code>&#34;tia&#34;</code></span>

<a id="dt-0d40baae5346e6957f8a"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-5af1964d23a153c89b8a"><code>&#34;tis&#34;</code></span>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

**Default value (<code>default</code>):** <span id="dt-f1c4f38c5bf0a6f6c783"><code>100000</code></span>

**Allowed values (<code>enum</code>):** <a id="dt-584ddff4c08470f8da57"></a> <span id="dt-c25853fc91ba647e0b10"><code>100000</code></span>, <span id="dt-0692e3e2989f8742a1a1"><code>400000</code></span>

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">Desired I2C bus clock frequency in Hz.</p>
</div>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;interrupt&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;power&#45;domains&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;resets&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-727c9b818c335e022c0e"><code>&#34;&#35;size&#45;cells&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/clock/r9a09g011-cpg.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

i2c0: i2c@a4030000 {
    compatible = "renesas,r9a09g011-i2c", "renesas,rzv2m-i2c";
    reg = &lt;0xa4030000 0x80&gt;;
    interrupts = &lt;GIC_SPI 232 IRQ_TYPE_EDGE_RISING&gt;,
                 &lt;GIC_SPI 236 IRQ_TYPE_EDGE_RISING&gt;;
    interrupt-names = "tia", "tis";
    clocks = &lt;&amp;cpg CPG_MOD R9A09G011_IIC_PCLK0&gt;;
    resets = &lt;&amp;cpg R9A09G011_IIC_GPA_PRESETN&gt;;
    power-domains = &lt;&amp;cpg&gt;;
    clock-frequency = &lt;100000&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&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>

<p id="dt-comment-1"><strong>Line 19:</strong> <span> RZ/V2M</span></p>

</details>

---

# Samsung S3C/S5P/Exynos SoC I2C Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for Samsung S3C/S5P/Exynos SoC 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;samsung&#44;s3c2410&#45;i2c&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;samsung&#44;s3c2440&#45;i2c&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;samsung&#44;s3c2440&#45;hdmiphy&#45;i2c&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;samsung&#44;exynos5&#45;sata&#45;phy&#45;i2c&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;samsung&#44;exynos7870&#45;i2c&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;samsung&#44;exynos7885&#45;i2c&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;samsung&#44;exynos850&#45;i2c&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;samsung&#44;s3c2440&#45;i2c&#34;</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;i2c&#34;</code></span>

<a id="dt-6423357510c4f559d9df"></a>

### <code>gpios</code> — not listed as required here

<div id="dt-e9a56736b9784e1b506e">
<p style="white-space: pre-wrap">The order of the GPIOs should be the following:: &lt;SDA, SCL&gt;.  The GPIO
specifier depends on the gpio controller. Required in all cases except
for "samsung,s3c2440-hdmiphy-i2c" whose input/output lines are
permanently wired to the respective client.
This property is deprecated. Use "pinctrl-0" and "pinctrl-names" instead.</p>
</div>

**Deprecated (<code>deprecated</code>):** <span id="dt-290ecc49cf3cf02a9373"><code>true</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de6392aea9755c828d"></a>

### <code>samsung&#44;i2c&#45;max&#45;bus&#45;freq</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5836b07853d7e21a8b7a">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-037247f74f28e16ff9a5">
<p style="white-space: pre-wrap">Desired frequency in Hz of the bus.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-1e2aa3d0afcec85a78c0"><code>100000</code></span>

<a id="dt-72f4a0f250844b9d8b15"></a>

### <code>samsung&#44;i2c&#45;sda&#45;delay</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-35da963c0c52e0eb0947">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-fc33b3aa025077241e33">
<p style="white-space: pre-wrap">Delay (in ns) applied to data line (SDA) edges.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-65269d69bb94b16ea701"><code>0</code></span>

<a id="dt-f5fa23f2c7a65a322257"></a>

### <code>samsung&#44;i2c&#45;slave&#45;addr</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-e116fa581ebe8f09d232">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-f8e6bfe4100c32abe9a1">
<p style="white-space: pre-wrap">Slave address in multi-master environment.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-a63232aafd1b3a4bb0b4"><code>0</code></span>

<a id="dt-2a266c6668d1510c2956"></a>

### <code>samsung&#44;sysreg&#45;phandle</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4fc05c7b306f2001afd3">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2533fa46618221e83225>)</span>

<div id="dt-f5c16d475206d557df50">
<p style="white-space: pre-wrap">Pandle to syscon used to control the system registers.</p>
</div>

**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-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-61039da0155527cc02ba"></a> <span id="dt-20f8a813aab744ff239a"><code>&#34;samsung&#44;s3c2440&#45;hdmiphy&#45;i2c&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;samsung&#44;exynos5&#45;sata&#45;phy&#45;i2c&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-62a28e5c914f4f7dec4b"></a>
> >
> > **<code>gpios</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;samsung&#44;s3c2440&#45;i2c&#34;</code></span>, <span id="dt-dde728fd212bd16cfbc3"><code>&#34;samsung&#44;s3c2440&#45;hdmiphy&#45;i2c&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-caec4da91c2837148d80"></a> <span id="dt-aa785038ee05bfb1e067"><code>&#34;interrupts&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/clock/exynos5250.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

i2c@12c60000 {
    compatible = "samsung,s3c2440-i2c";
    reg = &lt;0x12C60000 0x100&gt;;
    interrupts = &lt;GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    clocks = &lt;&amp;clock CLK_I2C0&gt;;
    clock-names = "i2c";
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;i2c0_bus&gt;;

    samsung,sysreg-phandle = &lt;&amp;sysreg_system_controller&gt;;
    samsung,i2c-sda-delay = &lt;100&gt;;
    samsung,i2c-max-bus-freq = &lt;20000&gt;;
    samsung,i2c-slave-addr = &lt;0x66&gt;;

    eeprom@50 {
        compatible = "samsung,s524ad0xd1", "atmel,24c128";
        reg = &lt;0x50&gt;;
    };
};

i2c@12ce0000 {
    compatible = "samsung,s3c2440-hdmiphy-i2c";
    reg = &lt;0x12CE0000 0x1000&gt;;
    interrupts = &lt;GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    clocks = &lt;&amp;clock CLK_I2C_HDMI&gt;;
    clock-names = "i2c";

    samsung,i2c-sda-delay = &lt;100&gt;;
    samsung,i2c-max-bus-freq = &lt;66000&gt;;

    phy-i2c@38 {
        compatible = "samsung,exynos4212-hdmiphy";
        reg = &lt;0x38&gt;;
    };
};

i2c@121d0000 {
    compatible = "samsung,exynos5-sata-phy-i2c";
    reg = &lt;0x121D0000 0x100&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    clocks = &lt;&amp;clock CLK_SATA_PHYI2C&gt;;
    clock-names = "i2c";

    samsung,i2c-sda-delay = &lt;100&gt;;
    samsung,i2c-max-bus-freq = &lt;40000&gt;;

    phy-i2c@38 {
        compatible = "samsung,exynos-sataphy-i2c";
        reg = &lt;0x38&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>

<p id="dt-comment-1"><strong>Line 17:</strong> <span> For s3c2440-like I2C used inside HDMIPHY block found on several SoCs:</span></p>

<p id="dt-comment-2"><strong>Line 19:</strong> <span> For s3c2440-like I2C used as a host to SATA PHY controller on an</span></p>

<p id="dt-comment-3"><strong>Line 20:</strong> <span> internal bus:</span></p>

</details>

---

# CP2112 HID USB to SMBus/I2C Bridge

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for CP2112 HID USB to SMBus/I2C Bridge.

<!-- 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;silabs&#44;cp2112&#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;Danny Kaehn &#60;danny&#46;kaehn&#64;plexus&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The CP2112 is a USB HID device which includes an integrated I2C controller and 8 GPIO pins. Its GPIO pins can each be configured as inputs, open-drain outputs, or push-pull outputs.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;usb10c4&#44;ea90&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">The USB port number</p>
</div>

<a id="dt-b98252f9c39642b1db8f"></a>

### <code>interrupt&#45;controller</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-317bbf786489389e8233"><code>2</code></span>

<a id="dt-f5d51cae76398cdb9d95"></a>

### <code>gpio&#45;controller</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-cfb238e0b7cdb276d83f"></a>

### <code>&#35;gpio&#45;cells</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-8950f722147d2cd640b8"><code>2</code></span>

<a id="dt-14035f3a8826cdac18bd"></a>

### <code>gpio&#45;line&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-a63b03dba047b6fd45f0"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-d7da1f39f1fcedec6860"><code>8</code></span>

<a id="dt-b361800e2bb49be128e2"></a>

### <code>i2c</code> — not listed as required here

<div id="dt-1c6f26fb3e4be07ad757">
<p style="white-space: pre-wrap">The SMBus/I2C controller node for the CP2112</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-cc2462c0ea2d1291844d">[<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-368304f0d33adef14e1b"></a>

#### Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-fda076bb70175d0aaa96"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-cdadc8e5dfcb6cd05dec"></a>

**<code>clock&#45;frequency</code> — not listed as required here**

**Minimum value (<code>minimum</code>):** <span id="dt-6bdee70dd6cb953e3d36"><code>10000</code></span>

**Default value (<code>default</code>):** <span id="dt-9f9e5f37e54cac16beb5"><code>100000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-2c19fa69b0585c8a1afc"><code>400000</code></span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-1e10c3a55b1285b2193d"></a>

### <code>&#45;hog&#40;&#45;&#91;0&#45;9&#93;&#43;&#41;&#63;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-b0360fee8ed7655dfd32"><code>&#34;object&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-a92c0f727772988db0f5"></a> <span id="dt-c6df4cd0db27b8ac7f8b"><code>&#34;gpio&#45;hog&#34;</code></span>

**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">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/gpio/gpio.h&gt;

usb {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    cp2112: device@1 {
        compatible = "usb10c4,ea90";
        reg = &lt;1&gt;;

        gpio-controller;
        interrupt-controller;
        #interrupt-cells = &lt;2&gt;;
        #gpio-cells = &lt;2&gt;;
        gpio-line-names = "CP2112_SDA", "CP2112_SCL", "TEST2",
                          "TEST3","TEST4", "TEST5", "TEST6";

        fan-rst-hog {
            gpio-hog;
            gpios = &lt;7 GPIO_ACTIVE_HIGH&gt;;
            output-high;
            line-name = "FAN_RST";
        };

        i2c {
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;
            sda-gpios = &lt;&amp;cp2112 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)&gt;;
            scl-gpios = &lt;&amp;cp2112 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)&gt;;

            temp@48 {
                compatible = "national,lm75";
                reg = &lt;0x48&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>

---

# Synopsys DesignWare APB I2C Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for Synopsys DesignWare APB I2C Controller.

<!-- SPDX-License-Identifier: GPL-2.0-only -->


<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;snps&#44;designware&#45;i2c&#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;Mika Westerberg &#60;mika&#46;westerberg&#64;linux&#46;intel&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d0559b738dfb5061864d"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > <a id="dt-cc4f6e3ceb73f2aa80a7"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-9e564441284d03e2d11c"><code>&#34;mscc&#44;ocelot&#45;i2c&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-18ed1f4bd380878274d8"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-022546edf486cc20947c"><code>1</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <div id="dt-ab1c3e7063bd95dc962e">
> <p style="white-space: pre-wrap">Generic Synopsys DesignWare I2C controller</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;snps&#44;designware&#45;i2c&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <div id="dt-4b64ce44adfe069638c4">
> <p style="white-space: pre-wrap">Renesas RZ/N1D I2C controller</p>
> </div>
>
> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;renesas&#44;r9a06g032&#45;i2c&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;renesas&#44;rzn1&#45;i2c&#34;</code></span>
>
> <a id="dt-1655c7bc2063a21f60f8"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-7c57653c6bcac024338a"><code>&#34;snps&#44;designware&#45;i2c&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> <div id="dt-34ebc3371373135d1528">
> <p style="white-space: pre-wrap">Baikal-T1 SoC System I2C controller</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-710bc579d54b8b6b1f6c"><code>&#34;baikal&#44;bt1&#45;sys&#45;i2c&#34;</code></span>

<a id="dt-61219c29f99de6d21702"></a>

**Rule 4**

> <div id="dt-2e7dbd5da540c0c7ff41">
> <p style="white-space: pre-wrap">Mobileye EyeQ DesignWare I2C controller</p>
> </div>
>
> <a id="dt-a1b1c435b08c85ff96c7"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4758c8f9c99bfa28b10c"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-12b3e48e4010cb944698"></a> <span id="dt-e46f645e6715baa60581"><code>&#34;mobileye&#44;eyeq7h&#45;i2c&#34;</code></span>
>
> <a id="dt-c99d921c49bf15e79633"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-9e0f2ef968dd632f09b7"><code>&#34;mobileye&#44;eyeq6lplus&#45;i2c&#34;</code></span>
>
> <a id="dt-a173ae1b2bc94ef6d3cd"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-fa32c9ce3acc1f92990a"><code>&#34;snps&#44;designware&#45;i2c&#34;</code></span>

<a id="dt-6932ba24e194ea67730d"></a>

**Rule 5**

> <a id="dt-196210d7e8a5e94e1226"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-4b7c967de45ba4ead27f"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-427722b6d265dacc9449"></a> <span id="dt-3e38de7c21c96fb8ed17"><code>&#34;mobileye&#44;eyeq6lplus&#45;i2c&#34;</code></span>, <span id="dt-70bcbd54d6039c7aaf2b"><code>&#34;mscc&#44;ocelot&#45;i2c&#34;</code></span>, <span id="dt-86255e190909da68156f"><code>&#34;sophgo&#44;sg2044&#45;i2c&#34;</code></span>, <span id="dt-aac8b48ada99e27f6e6d"><code>&#34;thead&#44;th1520&#45;i2c&#34;</code></span>
>
> <a id="dt-caf6ce7d7f34e1e8d173"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-4a97b7e5e83d59103118"><code>&#34;snps&#44;designware&#45;i2c&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-4b3e7791b11b96c3db87"><code>1</code></span>

<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">DW APB I2C controller memory mapped registers</p>
> </div>

<a id="dt-302751dd79bfd514b9d7"></a>

**Item 2**

> <div id="dt-b729cb065b03c20c0e01">
> <p style="white-space: pre-wrap">ICPU_CFG:TWI_DELAY registers to setup the SDA hold time.
> This registers are specific to the Ocelot I2C-controller.</p>
> </div>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">I2C controller reference clock source</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">APB interface clock source</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;ref&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;pclk&#34;</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">Desired I2C bus clock frequency in Hz</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-584ddff4c08470f8da57"></a> <span id="dt-c25853fc91ba647e0b10"><code>100000</code></span>, <span id="dt-0692e3e2989f8742a1a1"><code>400000</code></span>, <span id="dt-ba115210cf1ddbd23415"><code>1000000</code></span>, <span id="dt-f0cce890180d3fe891a7"><code>3400000</code></span>

**Default value (<code>default</code>):** <span id="dt-f1c4f38c5bf0a6f6c783"><code>400000</code></span>

<a id="dt-acec7c28ef13b684d9fc"></a>

### <code>i2c&#45;sda&#45;hold&#45;time&#45;ns</code> — not listed as required here

<div id="dt-1160df27ce63dfda10f5">
<p style="white-space: pre-wrap">The property should contain the SDA hold time in nanoseconds. This option
is only supported in hardware blocks version 1.11a or newer or on
Microsemi SoCs.</p>
</div>

<a id="dt-483ad10d63c0af298e6c"></a>

### <code>i2c&#45;scl&#45;falling&#45;time&#45;ns</code> — not listed as required here

<div id="dt-cf2722e21ee84c23a7bb">
<p style="white-space: pre-wrap">The property should contain the SCL falling time in nanoseconds.
This value is used to compute the tLOW period.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-9840db10d377d1c0afbc"><code>300</code></span>

<a id="dt-9c59535bafce92b7fe9d"></a>

### <code>i2c&#45;sda&#45;falling&#45;time&#45;ns</code> — not listed as required here

<div id="dt-baaafa8c682a778f3747">
<p style="white-space: pre-wrap">The property should contain the SDA falling time in nanoseconds.
This value is used to compute the tHIGH period.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-80d209c2ec187f250680"><code>300</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — not listed as required here

<a id="dt-6b8b17969f3f8620256b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-dd96a40b7042b311da6b"></a>

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">TX DMA Channel</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">RX DMA Channel</p>
> </div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — not listed as required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;tx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;rx&#34;</code></span>

<a id="dt-8d38a8b95585241dee03"></a>

### <code>snps&#44;bus&#45;capacitance&#45;pf</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d4e93bfcb7385e80c2a3">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<div id="dt-e87a804964f301dd103a">
<p style="white-space: pre-wrap">This property indicates the bus capacitance in picofarads (pF). This value is used to compute the tHIGH and tLOW periods for high speed mode.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-c665e8b0c794cb1d2b02"></a> <span id="dt-ec12b2d1730e6928fb36"><code>100</code></span>, <span id="dt-9950f0d7335c18acef4c"><code>400</code></span>

**Default value (<code>default</code>):** <span id="dt-3bc5d010d99d56bdfb7a"><code>100</code></span>

<a id="dt-993ba664fe01f84dff2c"></a>

### <code>snps&#44;clk&#45;freq&#45;optimized</code> — not listed as required here

<div id="dt-d6ca225706b711b79b80">
<p style="white-space: pre-wrap">This property indicates whether the hardware reduce its clock frequency by reducing the internal latency required to generate the high period and low period of SCL line.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-6a347dec38aea15d806b"><code>&#34;boolean&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">i2c@f0000 {
  compatible = "snps,designware-i2c";
  reg = &lt;0xf0000 0x1000&gt;;
  interrupts = &lt;11&gt;;
  clock-frequency = &lt;400000&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">i2c@1120000 {
  compatible = "snps,designware-i2c";
  reg = &lt;0x1120000 0x1000&gt;;
  interrupts = &lt;12 1&gt;;
  clock-frequency = &lt;400000&gt;;
  i2c-sda-hold-time-ns = &lt;300&gt;;
  i2c-sda-falling-time-ns = &lt;300&gt;;
  i2c-scl-falling-time-ns = &lt;300&gt;;
  snps,bus-capacitance-pf = &lt;400&gt;;
  snps,clk-freq-optimized;
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">i2c@2000 {
  compatible = "snps,designware-i2c";
  reg = &lt;0x2000 0x100&gt;;
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;
  clock-frequency = &lt;400000&gt;;
  clocks = &lt;&amp;i2cclk&gt;;
  interrupts = &lt;0&gt;;

  eeprom@64 {
    compatible = "atmel,24c02";
    reg = &lt;0x64&gt;;
  };
};
</code></pre>

<pre id="dt-cf8a683b5a963eb1c566"><code class="language-dts">i2c@100400 {
  compatible = "mscc,ocelot-i2c", "snps,designware-i2c";
  reg = &lt;0x100400 0x100&gt;, &lt;0x198 0x8&gt;;
  pinctrl-0 = &lt;&amp;i2c_pins&gt;;
  pinctrl-names = "default";
  interrupts = &lt;8&gt;;
  clocks = &lt;&amp;ahb_clk&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</span></p>

<p id="dt-comment-1"><strong>Line 32:</strong> <span> RZ/N1D</span></p>

<p id="dt-comment-2"><strong>Line 33:</strong> <span> RZ/N1</span></p>

</details>

---

# Socionext SynQuacer I2C Controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for Socionext SynQuacer 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;socionext&#44;synquacer&#45;i2c&#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;Ard Biesheuvel &#60;ardb&#64;kernel&#46;org&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;socionext&#44;synquacer&#45;i2c&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;pclk&#34;</code></span>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-bdf19748a029a958ea75"><code>100000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-60cd7829fc24dc9d0dc0"><code>400000</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

i2c@51210000 {
    compatible = "socionext,synquacer-i2c";
    reg = &lt;0x51210000 0x1000&gt;;
    interrupts = &lt;GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    clock-names = "pclk";
    clocks = &lt;&amp;clk_i2c&gt;;
    clock-frequency = &lt;400000&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>

---

# UniPhier I2C controller (FIFO-builtin)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for UniPhier I2C controller (FIFO-builtin).

<!-- 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;socionext&#44;uniphier&#45;fi2c&#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;Masahiro Yamada &#60;yamada&#46;masahiro&#64;socionext&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;socionext&#44;uniphier&#45;fi2c&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-bdf19748a029a958ea75"><code>100000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-60cd7829fc24dc9d0dc0"><code>400000</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupts&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clocks&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c0: i2c@58780000 {
    compatible = "socionext,uniphier-fi2c";
    reg = &lt;0x58780000 0x80&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    interrupts = &lt;0 41 4&gt;;
    clocks = &lt;&amp;i2c_clk&gt;;
    clock-frequency = &lt;100000&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>

---

# UniPhier I2C controller (FIFO-less)

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for UniPhier I2C controller (FIFO-less).

<!-- 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;socionext&#44;uniphier&#45;i2c&#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;Masahiro Yamada &#60;yamada&#46;masahiro&#64;socionext&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;socionext&#44;uniphier&#45;i2c&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-bdf19748a029a958ea75"><code>100000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-60cd7829fc24dc9d0dc0"><code>400000</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;interrupts&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clocks&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">i2c0: i2c@58400000 {
    compatible = "socionext,uniphier-i2c";
    reg = &lt;0x58400000 0x40&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    interrupts = &lt;0 41 1&gt;;
    clocks = &lt;&amp;i2c_clk&gt;;
    clock-frequency = &lt;100000&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>

---

# I2C controller embedded in SpacemiT's K1 SoC

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for I2C controller embedded in SpacemiT's K1 SoC.

<!-- 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;spacemit&#44;k1&#45;i2c&#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;Troy Mitchell &#60;troymitchell988&#64;gmail&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;spacemit&#44;k1&#45;i2c&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">I2C Functional Clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">APB Bus Clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;func&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;bus&#34;</code></span>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">K1 support three different modes which running different frequencies
standard speed mode: up to 100000 (100Hz)
fast speed mode    : up to 400000 (400Hz)
high speed mode    : up to 3300000 (3.3Mhz)</p>
</div>

**Default value (<code>default</code>):** <span id="dt-f1c4f38c5bf0a6f6c783"><code>400000</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-60cd7829fc24dc9d0dc0"><code>3300000</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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@d4010800 {
    compatible = "spacemit,k1-i2c";
    reg = &lt;0xd4010800 0x38&gt;;
    interrupt-parent = &lt;&amp;plic&gt;;
    interrupts = &lt;36&gt;;
    clocks = &lt;&amp;ccu 32&gt;, &lt;&amp;ccu 84&gt;;
    clock-names = "func", "bus";
    clock-frequency = &lt;100000&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>

---

# Spreadtrum SC9860 I2C controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for Spreadtrum SC9860 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;sprd&#44;sc9860&#45;i2c&#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;Orson Zhai &#60;orsonzhai&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Baolin Wang &#60;baolin&#46;wang7&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Chunyan Zhang &#60;zhang&#46;lyra&#64;gmail&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;sprd&#44;sc9860&#45;i2c&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

<a id="dt-cef4bdc0c633698ca186"></a>

#### Array item rules (<code>items</code>)

<a id="dt-41adf3ed8101eca13466"></a>

**Item 1**

> <div id="dt-4cfd4c1642ba13c357d6">
> <p style="white-space: pre-wrap">I2C clock</p>
> </div>

<a id="dt-f66d5e555a60eadcb519"></a>

**Item 2**

> <div id="dt-6b79aebfd2287d4aeab8">
> <p style="white-space: pre-wrap">I2C source (parent) clock</p>
> </div>

<a id="dt-2e04c77836db3f7805be"></a>

**Item 3**

> <div id="dt-98e44cf6c35fb1f8c6f9">
> <p style="white-space: pre-wrap">I2C module enable clock</p>
> </div>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

<a id="dt-b779484bf9e022991fd6"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-3403d68873725c15739a"><code>&#34;i2c&#34;</code></span>

<a id="dt-b7e4e477f91935ef1935"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0298e5f353a64a09a8a6"><code>&#34;source&#34;</code></span>

<a id="dt-261be8310c899fd46631"></a>

**Item 3**

> **Exact value (<code>const</code>):** <span id="dt-ad55fa67f3e765bf6ab6"><code>&#34;enable&#34;</code></span>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — required here

<code>true</code> — No constraints added by this property 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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;clock&#45;frequency&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

i2c@70500000 {
  compatible = "sprd,sc9860-i2c";
  reg = &lt;0x70500000 0x1000&gt;;
  interrupts = &lt;GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH&gt;;
  clocks = &lt;&amp;clk_i2c3&gt;, &lt;&amp;ext_26m&gt;, &lt;&amp;clk_ap_apb_gates 11&gt;;
  clock-names = "i2c", "source", "enable";
  clock-frequency = &lt;400000&gt;;
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&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>

---

# ST Microelectronics Nomadik I2C

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for ST Microelectronics Nomadik I2C.

<!-- 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;st&#44;nomadik&#45;i2c&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Nomadik I2C host controller began its life in the ST Microelectronics STn8800 SoC, and was then inherited into STn8810 and STn8815. It was part of the prototype STn8500 which then became ST-Ericsson DB8500 after the merge of these two companies wireless divisions.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Linus Walleij &#60;linusw&#64;kernel&#46;org&#62;&#34;</code></span>

<a id="dt-865ef19e891fb9fe7b15"></a>

## Automatic schema selection (<code>select</code>)

> <a id="dt-54d143fae2406295c883"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-e3400bab629503b08322"></a>
>
> #### <code>compatible</code> — required here
>
> <a id="dt-2ae4f0f9580bb5b2e406"></a>
>
> **Rule for matching array elements (<code>contains</code>)**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-ce9b069a8031ff280c23"></a> <span id="dt-e79f31d4eec3cf736314"><code>&#34;st&#44;nomadik&#45;i2c&#34;</code></span>, <span id="dt-b228f13d1a3291d89dd4"><code>&#34;mobileye&#44;eyeq5&#45;i2c&#34;</code></span>, <span id="dt-cc3d5823015e494170a8"><code>&#34;mobileye&#44;eyeq6h&#45;i2c&#34;</code></span>
>
> **Required in this object (<code>required</code>):** <a id="dt-c7b135d3aebb6d627788"></a> <span id="dt-7b7a89ef483af1198868"><code>&#34;compatible&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;st&#44;nomadik&#45;i2c&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;mobileye&#44;eyeq5&#45;i2c&#34;</code></span>, <span id="dt-b7d19de74fd35364d49f"><code>&#34;mobileye&#44;eyeq6h&#45;i2c&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;arm&#44;primecell&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-82dceb5784ff71f5fdf5"><code>&#34;stericsson&#44;db8500&#45;i2c&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;st&#44;nomadik&#45;i2c&#34;</code></span>
>
> <a id="dt-1655c7bc2063a21f60f8"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-7c57653c6bcac024338a"><code>&#34;arm&#44;primecell&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>2</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

<a id="dt-c94b78d6f12561baf6a0"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-661af0885579a69ba337"></a>

**Rule 1**

> <a id="dt-027418c760db9276fcba"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-bf543c95e0c50d9cb8f7"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-22588558d3128a1ce650"><code>&#34;mclk&#34;</code></span>
>
> <a id="dt-38d5e686f1ce154bdf61"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-78118bb2872ba1203b98"><code>&#34;apb&#95;pclk&#34;</code></span>

<a id="dt-ae674f98e655e0f74db4"></a>

**Rule 2**

> <a id="dt-20fc6bfaeee95ba35790"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-f468ad1eba090a3de488"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-8c8dcde100c56b536a91"><code>&#34;i2cclk&#34;</code></span>
>
> <a id="dt-b2245a46cbe503285ae3"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1e527555b977de836626"><code>&#34;apb&#95;pclk&#34;</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

**Minimum value (<code>minimum</code>):** <span id="dt-bdf19748a029a958ea75"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-60cd7829fc24dc9d0dc0"><code>3400000</code></span>

<a id="dt-70ba07d09ee3487ef3d2"></a>

### <code>mobileye&#44;olb</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-5a2034e35251e830c29c">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<a id="dt-2a4231b249a4bee29c84"></a>

#### Array item rules (<code>items</code>)

<a id="dt-50c14c9b6b576405732e"></a>

**Item 1**

> <a id="dt-393ec2094b15300a24ba"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b9eae635f01e488d892c"></a>
>
> **Item 1**
>
> > <div id="dt-a7b5b9911d0d373aa5a1">
> > <p style="white-space: pre-wrap">Phandle to OLB system controller node.</p>
> > </div>
>
> <a id="dt-f3962cd76998dd5aa5d9"></a>
>
> **Item 2**
>
> > <div id="dt-9e4b1e41050e0c1788b0">
> > <p style="white-space: pre-wrap">Platform-wide controller ID (integer starting from zero).</p>
> > </div>

<div id="dt-3eb2aaa62ded97e3742f">
<p style="white-space: pre-wrap">The phandle pointing to OLB system controller node, with the I2C controller index.</p>
</div>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;mobileye&#44;eyeq5&#45;i2c&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;mobileye&#44;olb&#34;</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-c7ab29aa8c0b58da4394"></a>
> >
> > **<code>mobileye&#44;olb</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/reset/stericsson,db8500-prcc-reset.h&gt;
#include &lt;dt-bindings/arm/ux500_pm_domains.h&gt;
i2c@80004000 {
  compatible = "stericsson,db8500-i2c", "st,nomadik-i2c", "arm,primecell";
  reg = &lt;0x80004000 0x1000&gt;;
  interrupts = &lt;GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH&gt;;

  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  clock-frequency = &lt;400000&gt;;
  clocks = &lt;&amp;prcc_kclk 3 3&gt;, &lt;&amp;prcc_pclk 3 3&gt;;
  clock-names = "i2cclk", "apb_pclk";
  power-domains = &lt;&amp;pm_domains DOMAIN_VAPE&gt;;
  resets = &lt;&amp;prcc_reset DB8500_PRCC_3 DB8500_PRCC_3_RESET_I2C0&gt;;
};

i2c@101f8000 {
  compatible = "st,nomadik-i2c", "arm,primecell";
  reg = &lt;0x101f8000 0x1000&gt;;
  interrupt-parent = &lt;&amp;vica&gt;;
  interrupts = &lt;20&gt;;
  clock-frequency = &lt;100000&gt;;
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;
  clocks = &lt;&amp;i2c0clk&gt;, &lt;&amp;pclki2c0&gt;;
  clock-names = "mclk", "apb_pclk";
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/mips-gic.h&gt;
i2c@300000 {
  compatible = "mobileye,eyeq5-i2c", "arm,primecell";
  reg = &lt;0x300000 0x1000&gt;;
  interrupt-parent = &lt;&amp;gic&gt;;
  interrupts = &lt;GIC_SHARED 1 IRQ_TYPE_LEVEL_HIGH&gt;;
  clock-frequency = &lt;400000&gt;;
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;
  clocks = &lt;&amp;i2c_ser_clk&gt;, &lt;&amp;i2c_clk&gt;;
  clock-names = "i2cclk", "apb_pclk";
  mobileye,olb = &lt;&amp;olb 0&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>

<p id="dt-comment-1"><strong>Line 17:</strong> <span> Need a custom select here or 'arm,primecell' will match on lots of nodes</span></p>

<p id="dt-comment-2"><strong>Line 54:</strong> <span> Clock name in STn8815</span></p>

<p id="dt-comment-3"><strong>Line 58:</strong> <span> Clock name in DB8500 or EyeQ</span></p>

</details>

---

# I2C controller embedded in STMicroelectronics STi platform

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for I2C controller embedded in STMicroelectronics STi platform.

<!-- 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;st&#44;sti&#45;i2c&#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;Patrice Chotard &#60;patrice&#46;chotard&#64;foss&#46;st&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-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;st&#44;comms&#45;ssc&#45;i2c&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;st&#44;comms&#45;ssc4&#45;i2c&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-65c84d57f9774b7ce5c4"><code>1</code></span>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-584ddff4c08470f8da57"></a> <span id="dt-c25853fc91ba647e0b10"><code>100000</code></span>, <span id="dt-0692e3e2989f8742a1a1"><code>400000</code></span>

**Default value (<code>default</code>):** <span id="dt-f1c4f38c5bf0a6f6c783"><code>100000</code></span>

<a id="dt-fdb58c507bbb5d866fec"></a>

### <code>st&#44;i2c&#45;min&#45;scl&#45;pulse&#45;width&#45;us</code> — not listed as required here

<div id="dt-dc55d131344aee991d0a">
<p style="white-space: pre-wrap">The minimum valid SCL pulse width that is allowed through the deglitch circuit. In units of us.</p>
</div>

<a id="dt-ddde2c07518b1d7d530f"></a>

### <code>st&#44;i2c&#45;min&#45;sda&#45;pulse&#45;width&#45;us</code> — not listed as required here

<div id="dt-7ca44a77067a69be0d3b">
<p style="white-space: pre-wrap">The minimum valid SDA pulse width that is allowed through the deglitch circuit. In units of us.</p>
</div>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clock&#45;names&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/clock/stih407-clks.h&gt;
i2c@fed40000 {
    compatible = "st,comms-ssc4-i2c";
    reg = &lt;0xfed40000 0x110&gt;;
    interrupts =  &lt;GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;clk_s_a0_ls CLK_ICN_REG&gt;;
    clock-names = "ssc";
    clock-frequency = &lt;400000&gt;;
    pinctrl-names = "default";
    pinctrl-0 = &lt;&amp;pinctrl_i2c0_default&gt;;
    st,i2c-min-scl-pulse-width-us = &lt;0&gt;;
    st,i2c-min-sda-pulse-width-us = &lt;5&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>

---

# I2C controller embedded in STMicroelectronics STM32 I2C platform

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for I2C controller embedded in STMicroelectronics STM32 I2C platform.

<!-- 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;st&#44;stm32&#45;i2c&#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;Pierre&#45;Yves MORDRET &#60;pierre&#45;yves&#46;mordret&#64;foss&#46;st&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-61039da0155527cc02ba"></a> <span id="dt-20f8a813aab744ff239a"><code>&#34;st&#44;stm32f7&#45;i2c&#34;</code></span>, <span id="dt-97636aa7a2139f7622b5"><code>&#34;st&#44;stm32mp13&#45;i2c&#34;</code></span>, <span id="dt-d29379bd469379c8aac7"><code>&#34;st&#44;stm32mp15&#45;i2c&#34;</code></span>, <span id="dt-4d46427daeb4d8de3150"><code>&#34;st&#44;stm32mp25&#45;i2c&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e5f5fb8dec3f667e7a2f"></a>
> >
> > **<code>i2c&#45;scl&#45;rising&#45;time&#45;ns</code> — not listed as required here**
> >
> > **Default value (<code>default</code>):** <span id="dt-f9c16c74055662574c38"><code>25</code></span>
> >
> > <a id="dt-8a20abb1ce6b6f301a47"></a>
> >
> > **<code>i2c&#45;scl&#45;falling&#45;time&#45;ns</code> — not listed as required here**
> >
> > **Default value (<code>default</code>):** <span id="dt-0d81164884133e5254b8"><code>10</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-4c75668015190ec77812"></a>
> >
> > **<code>st&#44;syscfg&#45;fmp</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-317510ea5c8bf789ca60"></a>

### Rule 3

> <a id="dt-15ef78abba37234c7e3a"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-81c13bb46c56768b42c8"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-676f6e45d3a322ea7096"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-7838023cb1ac8ba1fc13"></a> <span id="dt-2698b34438b1aced3e06"><code>&#34;st&#44;stm32f4&#45;i2c&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-1b43d7df965611962552"></a>
> >
> > **<code>clock&#45;frequency</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-06fe96317977183d2c6a"></a> <span id="dt-9546e045e51cf1efa532"><code>100000</code></span>, <span id="dt-805fe0ad8a42e30a2458"><code>400000</code></span>

<a id="dt-e198e1d898e7c60d5fed"></a>

### Rule 4

> <a id="dt-5d622c5a2672c1e49b35"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-8d84f7bba76b4e26221f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-11dc65c5cf7abc0317bb"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-3de4a4db25c09109abf4"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-2f146490cc52d0a82c19"></a> <span id="dt-b1038ed41acf3cc462f9"><code>&#34;st&#44;stm32f4&#45;i2c&#34;</code></span>, <span id="dt-ee83d100044168836749"><code>&#34;st&#44;stm32f7&#45;i2c&#34;</code></span>, <span id="dt-e937cad1333060d95a2c"><code>&#34;st&#44;stm32mp13&#45;i2c&#34;</code></span>, <span id="dt-056d08a65205139bcaab"><code>&#34;st&#44;stm32mp15&#45;i2c&#34;</code></span>
>
> <a id="dt-889ceb40bc531bf0dc1d"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-7cd597a6bb6b91730c25"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-a382a3bebc56926866a8"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-b0f2d19fab152c16b276"><code>2</code></span>
> >
> > <a id="dt-402fbca3dbb380a9fcb9"></a>
> >
> > **<code>interrupt&#45;names</code> — not listed as required here**
> >
> > **Minimum number of items (<code>minItems</code>):** <span id="dt-dee4495c4b5d1396fc52"><code>2</code></span>
>
> <a id="dt-1b6193699b46ee209acb"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-b46fd54c3fb20513db03"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-3ba678e8baecab4bffa2"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-e0fb9ada2bca106a0d28"><code>1</code></span>
> >
> > <a id="dt-bae6ed9ae03b067dd8dd"></a>
> >
> > **<code>interrupt&#45;names</code> — not listed as required here**
> >
> > **Maximum number of items (<code>maxItems</code>):** <span id="dt-27cca19ed6982f334160"><code>1</code></span>

<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;st&#44;stm32f4&#45;i2c&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;st&#44;stm32f7&#45;i2c&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;st&#44;stm32mp13&#45;i2c&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;st&#44;stm32mp15&#45;i2c&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;st&#44;stm32mp25&#45;i2c&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

<a id="dt-985aed94c3a5de8e946a"></a>

#### Array item rules (<code>items</code>)

<a id="dt-bc458260662c6fe0b59f"></a>

**Item 1**

> <div id="dt-094ee990c529b33ab668">
> <p style="white-space: pre-wrap">interrupt ID for I2C event</p>
> </div>

<a id="dt-14fdf3275cf454d3c593"></a>

**Item 2**

> <div id="dt-f26fcb0c97f34db34fe4">
> <p style="white-space: pre-wrap">interrupt ID for I2C error</p>
> </div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-1691b9edf145244244a0"><code>1</code></span>

<a id="dt-8aa4fd7705c68de75d2b"></a>

### <code>interrupt&#45;names</code> — not listed as required here

<a id="dt-77e94e63ca0b20bb5ef1"></a>

#### Array item rules (<code>items</code>)

<a id="dt-1198ecbdbe49337cf73e"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-7f7686a533ef09dda0b1"><code>&#34;event&#34;</code></span>

<a id="dt-0d40baae5346e6957f8a"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-5af1964d23a153c89b8a"><code>&#34;error&#34;</code></span>

**Minimum number of items (<code>minItems</code>):** <span id="dt-30089c7b6e408306475b"><code>1</code></span>

<a id="dt-df397b2b98a8cf834e89"></a>

### <code>resets</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-86a6993fcd90367ac91d"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-5bb8576c9296c5644e7f"></a>

### <code>dmas</code> — not listed as required here

<a id="dt-6b8b17969f3f8620256b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-dd96a40b7042b311da6b"></a>

**Item 1**

> <div id="dt-46fea02e2850ca221aa0">
> <p style="white-space: pre-wrap">RX DMA Channel phandle</p>
> </div>

<a id="dt-51dd129ab41c33f151af"></a>

**Item 2**

> <div id="dt-1e039b421ae08d0b7b70">
> <p style="white-space: pre-wrap">TX DMA Channel phandle</p>
> </div>

<a id="dt-5eca194f6565466d8a21"></a>

### <code>dma&#45;names</code> — not listed as required here

<a id="dt-5bb61e4f47c2d9203ed3"></a>

#### Array item rules (<code>items</code>)

<a id="dt-c93bb6563561f3ea6d51"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-eb45b3d6c9e2700a17b5"><code>&#34;rx&#34;</code></span>

<a id="dt-5368efb369d036c8a734"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-0d0500dc5105c48e5e72"><code>&#34;tx&#34;</code></span>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">Desired I2C bus clock frequency in Hz. If not specified, the default 100 kHz frequency will be used. For STM32F7, STM32H7 and STM32MP1 SoCs, if timing parameters match, the bus clock frequency can be from 1Hz to 1MHz.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-f1c4f38c5bf0a6f6c783"><code>100000</code></span>

**Minimum value (<code>minimum</code>):** <span id="dt-bdf19748a029a958ea75"><code>1</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-60cd7829fc24dc9d0dc0"><code>1000000</code></span>

<a id="dt-0f6bad833a1e5c6108dd"></a>

### <code>st&#44;syscfg&#45;fmp</code> — not listed as required here

<div id="dt-fb4c07b6f957781ac594">
<p style="white-space: pre-wrap">Use to set Fast Mode Plus bit within SYSCFG when Fast Mode Plus speed is selected by slave.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c5d27f04dd9d301a1c47">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

<a id="dt-b9eff689ee12f926ba7b"></a>

#### Array item rules (<code>items</code>)

<a id="dt-01207da254b1f4d3c97f"></a>

**Item 1**

> <a id="dt-e181530aec3da05b2c79"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-c9228e8c0614742864ab"></a>
>
> **Item 1**
>
> > <div id="dt-d456c5aa574d8108b171">
> > <p style="white-space: pre-wrap">phandle to syscfg</p>
> > </div>
>
> <a id="dt-d933b794b7d3304efff9"></a>
>
> **Item 2**
>
> > <div id="dt-4fcc5410e0f771ca6271">
> > <p style="white-space: pre-wrap">register offset within syscfg</p>
> > </div>
>
> <a id="dt-063c0fccdd21eb571330"></a>
>
> **Item 3**
>
> > <div id="dt-9a44d0fa5e5db4ead39e">
> > <p style="white-space: pre-wrap">register bitmask for FMP bit</p>
> > </div>

<a id="dt-2a09d6d20023955671c8"></a>

### <code>wakeup&#45;source</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-5f3f3e541535f5466fd9"></a>

### <code>access&#45;controllers</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-d4f269b8cc70ecfb4fbb"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-169e64bd1b86d7e387bd"><code>2</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;resets&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;clocks&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/mfd/stm32f7-rcc.h&gt;
#include &lt;dt-bindings/clock/stm32fx-clock.h&gt;
//Example 1 (with st,stm32f4-i2c compatible)
i2c@40005400 {
    compatible = "st,stm32f4-i2c";
    reg = &lt;0x40005400 0x400&gt;;
    interrupts = &lt;31&gt;,
                 &lt;32&gt;;
    resets = &lt;&amp;rcc 277&gt;;
    clocks = &lt;&amp;rcc 0 149&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">#include &lt;dt-bindings/mfd/stm32f7-rcc.h&gt;
#include &lt;dt-bindings/clock/stm32fx-clock.h&gt;
//Example 2 (with st,stm32f7-i2c compatible)
i2c@40005800 {
    compatible = "st,stm32f7-i2c";
    reg = &lt;0x40005800 0x400&gt;;
    interrupts = &lt;31&gt;,
                 &lt;32&gt;;
    resets = &lt;&amp;rcc STM32F7_APB1_RESET(I2C1)&gt;;
    clocks = &lt;&amp;rcc 1 CLK_I2C1&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">#include &lt;dt-bindings/mfd/stm32f7-rcc.h&gt;
#include &lt;dt-bindings/clock/stm32fx-clock.h&gt;
//Example 3 (with st,stm32mp15-i2c compatible on stm32mp)
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
#include &lt;dt-bindings/clock/stm32mp1-clks.h&gt;
#include &lt;dt-bindings/reset/stm32mp1-resets.h&gt;
i2c@40013000 {
    compatible = "st,stm32mp15-i2c";
    reg = &lt;0x40013000 0x400&gt;;
    interrupts = &lt;GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH&gt;,
                 &lt;GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH&gt;;
    clocks = &lt;&amp;rcc I2C2_K&gt;;
    resets = &lt;&amp;rcc I2C2_R&gt;;
    i2c-scl-rising-time-ns = &lt;185&gt;;
    i2c-scl-falling-time-ns = &lt;20&gt;;
    st,syscfg-fmp = &lt;&amp;syscfg 0x4 0x2&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&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>

---

# I2C controllers on TI's OMAP and K3 SoCs

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for I2C controllers on TI's OMAP and K3 SoCs.

<!-- 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;ti&#44;omap4&#45;i2c&#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;Vignesh Raghavendra &#60;vigneshr&#64;ti&#46;com&#62;&#34;</code></span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> **Allowed values (<code>enum</code>):** <a id="dt-617e1a2040e2496013d4"></a> <span id="dt-c31075c43df89b2793e3"><code>&#34;ti&#44;omap2420&#45;i2c&#34;</code></span>, <span id="dt-44b402f75e7bf3caf313"><code>&#34;ti&#44;omap2430&#45;i2c&#34;</code></span>, <span id="dt-f03e1478792ca587ff5c"><code>&#34;ti&#44;omap3&#45;i2c&#34;</code></span>, <span id="dt-34cab0afbb7f2b55efc5"><code>&#34;ti&#44;omap4&#45;i2c&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;ti&#44;am4372&#45;i2c&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;ti&#44;am64&#45;i2c&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;ti&#44;am654&#45;i2c&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;ti&#44;j721e&#45;i2c&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;ti&#44;omap4&#45;i2c&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-882f4571b4b135d59582"><code>&#34;fck&#34;</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-78eb8765da1b42beba07"></a>

### <code>ti&#44;hwmods</code> — not listed as required here

<div id="dt-6a8457e4523b4b4a94b2">
<p style="white-space: pre-wrap">Must be "i2c&lt;n&gt;", n being the instance number (1-based). This property is applicable only on legacy platforms mainly omap2/3 and ti81xx and should not be used on other platforms.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-af8320999c5ca0330b0f">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;string</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-2c695d502852c3a1e1b7>)</span>

**Deprecated (<code>deprecated</code>):** <span id="dt-95315e1f5259eeba881e"><code>true</code></span>

<a id="dt-7c8172d28de7effdcda0"></a>

### <code>mux&#45;states</code> — not listed as required here

<div id="dt-fef7a915b4e00798eeca">
<p style="white-space: pre-wrap">mux controller node to route the I2C signals from SoC to clients.</p>
</div>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-21fe78f085941a737462"><code>1</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-22ca5ec5b89308748ecc"></a>

### Rule 2

> <a id="dt-ffbf5afb799d5f07b3e1"></a>
>
> #### Condition (<code>if</code>)
>
> > <a id="dt-05d9c37a1275e72a170e"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-e9866824361c1aee7933"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > **Allowed values (<code>enum</code>):** <a id="dt-c0ab484bd71d0671c6ab"></a> <span id="dt-4eb87bb951292ac8d56d"><code>&#34;ti&#44;omap2420&#45;i2c&#34;</code></span>, <span id="dt-68ac103663508bfae0ff"><code>&#34;ti&#44;omap2430&#45;i2c&#34;</code></span>, <span id="dt-7e71a4327a0b7f6bd804"><code>&#34;ti&#44;omap3&#45;i2c&#34;</code></span>, <span id="dt-9c8361ad3495c3fa251c"><code>&#34;ti&#44;omap4&#45;i2c&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-01e1fb2e5e09d77e8253"></a>
> >
> > **<code>ti&#44;hwmods</code> — not listed as required here**
> >
> > <a id="dt-e7d77db840a6a64ff682"></a>
> >
> > **Array item rules (<code>items</code>)**
> >
> > <a id="dt-7b37ef66e24a4276fea1"></a>
> >
> > **Item 1**
> >
> > > **String pattern (<code>pattern</code>):** <span id="dt-442c62f7b3bd68998425"><code>&#34;&#94;i2c&#40;&#91;1&#45;9&#93;&#41;&#36;&#34;</code></span>
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-9429dd2a64658c398b32"></a>
> >
> > **<code>ti&#44;hwmods</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;

main_i2c0: i2c@2000000 {
    compatible = "ti,j721e-i2c", "ti,omap4-i2c";
    reg = &lt;0x2000000 0x100&gt;;
    interrupts = &lt;GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH&gt;;
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;
    mux-states = &lt;&amp;i2c_mux 1&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>

---

# Theobroma Systems Mule I2C multiplexer

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for Theobroma Systems Mule I2C multiplexer.

<!-- 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;tsd&#44;mule&#45;i2c&#45;mux&#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;Farouk Bouabid &#60;farouk&#46;bouabid&#64;cherry&#46;de&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Quentin Schulz &#60;quentin&#46;schulz&#64;cherry&#46;de&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Theobroma Systems Mule is an MCU that emulates a set of I2C devices, among
which devices that are reachable through an I2C-mux. The devices on the mux
can be selected by writing the appropriate device number to an I2C config
register.</p>
<pre><code>    +--------------------------------------------------+
    | Mule                                             |
0x18|    +---------------+                             |
--------&gt;|Config register|----+                        |
    |    +---------------+    |                        |
    |                         V_                       |
    |                        |  \          +--------+  |
    |                        |   \--------&gt;| dev #0 |  |
    |                        |   |         +--------+  |
0x6f|                        | M |--------&gt;| dev #1 |  |
----------------------------&gt;| U |         +--------+  |
    |                        | X |--------&gt;| dev #2 |  |
    |                        |   |         +--------+  |
    |                        |   /--------&gt;| dev #3 |  |
    |                        |__/          +--------+  |
    +--------------------------------------------------+</code></pre>
</div>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>&#47;schemas&#47;i2c&#47;i2c&#45;mux&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-i2c/i2c-mux.md#dt-root>)</span>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;tsd&#44;mule&#45;i2c&#45;mux&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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-mux {
    compatible = "tsd,mule-i2c-mux";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    i2c@0 {
        reg = &lt;0x0&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        rtc@6f {
            compatible = "isil,isl1208";
            reg = &lt;0x6f&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>

---

# I2C Controller on WonderMedia WM8505 and related SoCs

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for I2C Controller on WonderMedia WM8505 and related SoCs.

<!-- SPDX-License-Identifier: GPL-2.0 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;wm&#44;wm8505&#45;i2c&#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;Alexey Charkov &#60;alchark&#64;gmail&#46;com&#62;&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;wm&#44;wm8505&#45;i2c&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>1</code></span>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-584ddff4c08470f8da57"></a> <span id="dt-c25853fc91ba647e0b10"><code>100000</code></span>, <span id="dt-0692e3e2989f8742a1a1"><code>400000</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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_0: i2c@d8280000 {
    compatible = "wm,wm8505-i2c";
    reg = &lt;0xd8280000 0x1000&gt;;
    interrupts = &lt;19&gt;;
    clocks = &lt;&amp;clki2c0&gt;;
    clock-frequency = &lt;400000&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 OR BSD-2-Clause</span></p>

</details>

---

# Xilinx IIC controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / I2C bindings_

> Device-tree binding reference for Xilinx IIC controller.

<!-- SPDX-License-Identifier: (GPL-2.0 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;xlnx&#44;xps&#45;iic&#45;2&#46;00&#46;a&#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;info&#64;mocean&#45;labs&#46;com&#34;</code></span>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

<a id="dt-d33de94ac1d3652cd22a"></a>

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<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-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;xlnx&#44;axi&#45;iic&#45;2&#46;1&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;xlnx&#44;xps&#45;iic&#45;2&#46;00&#46;a&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

<a id="dt-555b77ac12a3396b493e"></a>

### <code>clock&#45;name</code> — not listed as required here

**Exact value (<code>const</code>):** <span id="dt-28826f4e7d67b3ba4dc1"><code>&#34;pclk&#34;</code></span>

<div id="dt-ff560d089bd51c7b2e7f">
<p style="white-space: pre-wrap">Input clock name.</p>
</div>

<a id="dt-0298421e73bc073162cc"></a>

### <code>clock&#45;frequency</code> — not listed as required here

<div id="dt-a8bced0e066c3e53744b">
<p style="white-space: pre-wrap">Optional I2C SCL clock frequency. If not specified, do not configure in software, rely only on hardware design value.</p>
</div>

**Default value (<code>default</code>):** <span id="dt-f1c4f38c5bf0a6f6c783"><code>100000</code></span>

**Allowed values (<code>enum</code>):** <a id="dt-584ddff4c08470f8da57"></a> <span id="dt-c25853fc91ba647e0b10"><code>100000</code></span>, <span id="dt-0692e3e2989f8742a1a1"><code>400000</code></span>, <span id="dt-ba115210cf1ddbd23415"><code>1000000</code></span>

**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>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;interrupts&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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">axi_iic_0: i2c@40800000 {
  compatible = "xlnx,xps-iic-2.00.a";
  clocks = &lt;&amp;clkc 15&gt;;
  interrupts = &lt; 1 2 &gt;;
  reg = &lt; 0x40800000 0x10000 &gt;;

  #size-cells = &lt;0&gt;;
  #address-cells = &lt;1&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 OR BSD-2-Clause)</span></p>

</details>
