# Ipmi bindings

---

# Aspeed Block Transfer (BT) IPMI interface

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

> Device-tree binding reference for Aspeed Block Transfer (BT) IPMI 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;ipmi&#47;aspeed&#44;ast2400&#45;ibt&#45;bmc&#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;Joel Stanley &#60;joel&#64;jms&#46;id&#46;au&#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;aspeed&#44;ast2400&#45;ibt&#45;bmc&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;aspeed&#44;ast2500&#45;ibt&#45;bmc&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;aspeed&#44;ast2600&#45;ibt&#45;bmc&#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-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>

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

<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/aspeed-clock.h&gt;

bt@1e789140 {
    compatible = "aspeed,ast2400-ibt-bmc";
    reg = &lt;0x1e789140 0x18&gt;;
    interrupts = &lt;8&gt;;
    clocks = &lt;&amp;syscon ASPEED_CLK_GATE_LCLK&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>

---

# ASPEED BMC KCS Devices

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

> Device-tree binding reference for ASPEED BMC KCS Devices.

<!-- 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;ipmi&#47;aspeed&#44;ast2400&#45;kcs&#45;bmc&#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;Andrew Jeffery &#60;andrew&#64;aj&#46;id&#46;au&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Aspeed BMC SoCs typically use the Keyboard-Controller-Style (KCS)
interfaces on the LPC bus for in-band IPMI communication with their host.</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**

> <div id="dt-ab1c3e7063bd95dc962e">
> <p style="white-space: pre-wrap">Channel ID derived from reg</p>
> </div>
>
> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-987f821e94168faec68c"></a> <span id="dt-d563fad5a821afbc88df"><code>&#34;aspeed&#44;ast2400&#45;kcs&#45;bmc&#45;v2&#34;</code></span>, <span id="dt-e9933a7be8305354c303"><code>&#34;aspeed&#44;ast2500&#45;kcs&#45;bmc&#45;v2&#34;</code></span>, <span id="dt-8724e8b5c55e834f5229"><code>&#34;aspeed&#44;ast2600&#45;kcs&#45;bmc&#34;</code></span>

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

**Rule 2**

> <div id="dt-4b64ce44adfe069638c4">
> <p style="white-space: pre-wrap">Old-style with explicit channel ID, no reg</p>
> </div>
>
> **Deprecated (<code>deprecated</code>):** <span id="dt-7a0984fd34c2f9bbace7"><code>true</code></span>
>
> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-0a200203251eef03b3cb"></a> <span id="dt-21c6fa68ae1c49ecd907"><code>&#34;aspeed&#44;ast2400&#45;kcs&#45;bmc&#34;</code></span>, <span id="dt-d3500e084670fdb0caa2"><code>&#34;aspeed&#44;ast2500&#45;kcs&#45;bmc&#34;</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-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — not listed as 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">IDR register</p>
> </div>

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

**Item 2**

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

<a id="dt-80d36cb915ffeff5364a"></a>

**Item 3**

> <div id="dt-5151e97c331b693ee0dd">
> <p style="white-space: pre-wrap">STR register</p>
> </div>

<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-ceefb8704b734665863e"></a>

### <code>aspeed&#44;lpc&#45;io&#45;reg</code> — not listed as required here

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

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

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

<div id="dt-977cba92db86bc1af578">
<p style="white-space: pre-wrap">The host CPU LPC IO data and status addresses for the device. For most
channels the status address is derived from the data address, but the
status address may be optionally provided.</p>
</div>

<a id="dt-7e136b094255496fc1bd"></a>

### <code>aspeed&#44;lpc&#45;interrupts</code> — not listed as required here

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

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

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

<div id="dt-e3acd49a7d38b6297b01">
<p style="white-space: pre-wrap">A 2-cell property expressing the LPC SerIRQ number and the interrupt
level/sense encoding (specified in the standard fashion).</p>
<p style="white-space: pre-wrap">Note that the generated interrupt is issued from the BMC to the host, and
thus the target interrupt controller is not captured by the BMC's
devicetree.</p>
</div>

<a id="dt-990bf4c0afbe55e7fdc3"></a>

### <code>kcs&#95;chan</code> — not listed as required here

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-dbbc0af9c0718822ad45">[<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-b132bc4a976fb3a9e575">
<p style="white-space: pre-wrap">The LPC channel number in the controller</p>
</div>

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

### <code>kcs&#95;addr</code> — not listed as required here

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a8c3f4ed035a969c3e6e">[<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-a7dbdb7b08fc95646dc2">
<p style="white-space: pre-wrap">The host CPU IO map address</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;interrupts&#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-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;aspeed&#44;ast2400&#45;kcs&#45;bmc&#34;</code></span>, <span id="dt-b1891799a94ae03bda89"><code>&#34;aspeed&#44;ast2500&#45;kcs&#45;bmc&#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;kcs&#95;chan&#34;</code></span>, <span id="dt-5652a54c9ddda3dcd6bf"><code>&#34;kcs&#95;addr&#34;</code></span>
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-9f814971a49b2b16029a"></a> <span id="dt-37139fbd463ab3b18082"><code>&#34;reg&#34;</code></span>, <span id="dt-8c03dcb3d185395e0247"><code>&#34;aspeed&#44;lpc&#45;io&#45;reg&#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/irq.h&gt;
kcs3: kcs@24 {
    compatible = "aspeed,ast2600-kcs-bmc";
    reg = &lt;0x24 0x1&gt;, &lt;0x30 0x1&gt;, &lt;0x3c 0x1&gt;;
    aspeed,lpc-io-reg = &lt;0xca2&gt;;
    aspeed,lpc-interrupts = &lt;11 IRQ_TYPE_LEVEL_LOW&gt;;
    interrupts = &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-only OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 37:</strong> <span> maxItems: 3</span></p>

</details>

---

# The Intelligent Platform Management Bus(IPMB) Device

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

> Device-tree binding reference for The Intelligent Platform Management Bus(IPMB) Device.

<!-- 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;ipmi&#47;ipmb&#45;dev&#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 IPMB is an I2C bus which provides interconnection between a Baseboard
Management Controller(BMC) and chassis electronics. The BMC sends IPMI
requests to intelligent controllers like Satellite Management Controller(MC)
devices via IPMB and the device sends responses back to the BMC.
This device uses an I2C slave device to send and receive IPMB messages,
either on a BMC or other MC. A miscellaneous device provices a user space
program to communicate with the kernel and the backend device. Some IPMB
devices only support the I2C protocol and not the SMB protocol.</p>
<p style="white-space: pre-wrap">IPMB communications protocol Specification V1.0
https://www.intel.com/content/dam/www/public/us/en/documents/product-briefs/ipmp-spec-v1.0.pdf</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Ninad Palsule &#60;ninad&#64;linux&#46;ibm&#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;ipmb&#45;dev&#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-cdab69fbd071eed15ae7"></a>

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

<div id="dt-0d757e03ce2bdc98cd40">
<p style="white-space: pre-wrap">Use I2C block transfer instead of SMBUS block transfer.</p>
</div>

**Value type (<code>type</code>):** <span id="dt-b071ca9610701e6e6906"><code>&#34;boolean&#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/i2c/i2c.h&gt;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    ipmb-dev@10 {
        compatible = "ipmb-dev";
        reg = &lt;(0x10 | I2C_OWN_SLAVE_ADDRESS)&gt;;
        i2c-protocol;
    };
};
</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>

---

# IPMI IPMB device

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

> Device-tree binding reference for IPMI IPMB device.

<!-- 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;ipmi&#47;ipmi&#45;ipmb&#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">IPMI IPMB device bindings</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Corey Minyard &#60;cminyard&#64;mvista&#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;ipmi&#45;ipmb&#34;</code></span>

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

### <code>device&#95;type</code> — not listed as required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-91482303ca5d915bc2d2"><code>&#34;ipmi&#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-c4963cbc44166f7ef96a"></a>

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

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

<div id="dt-cb1777b86703d6da10ad">
<p style="white-space: pre-wrap">The address of the BMC on the IPMB bus.  Defaults to 0x20.</p>
</div>

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-68676a651e8b78715822">[<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-ba1a7a664436d21f385b">
<p style="white-space: pre-wrap">Time between retries of sends, in milliseconds.  Defaults to 250.</p>
</div>

<a id="dt-68788d811c344ded5713"></a>

### <code>max&#45;retries</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-76c7851e9b81d7b4f437">[<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-087705fdaf107dbfc90a">
<p style="white-space: pre-wrap">Number of retries before a failure is declared.  Defaults to 1.</p>
</div>

<a id="dt-868961b57846e16d2c07"></a>

### <code>slave&#45;dev</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3086c2683b64bad4caa6">[<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-02be5bf5c599c3e40ee3">
<p style="white-space: pre-wrap">The slave i2c device.  If not present, the main device is used. This
lets you use two devices on the IPMB, one for master and one for slave,
in case you have a slave device that can only be a slave.  The slave
will receive messages and the master will transmit.</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-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 {
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        ipmi-ipmb@40 {
                compatible = "ipmi-ipmb";
                device_type = "ipmi";
                reg = &lt;0x40&gt;;
                bmcaddr = /bits/ 8 &lt;0x20&gt;;
                retry-time = &lt;250&gt;;
                max-retries = &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-only OR BSD-2-Clause)</span></p>

</details>

---

# IPMI device

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

> Device-tree binding reference for IPMI device.

<!-- 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;ipmi&#47;ipmi&#45;smic&#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">IPMI device bindings</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Corey Minyard &#60;cminyard&#64;mvista&#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;ipmi&#45;kcs&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;ipmi&#45;smic&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;ipmi&#45;bt&#34;</code></span>

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

### <code>device&#95;type</code> — not listed as required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-91482303ca5d915bc2d2"><code>&#34;ipmi&#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

<div id="dt-b3ddec0f69e9f0c0dc40">
<p style="white-space: pre-wrap">Interface is polled if this property is omitted.</p>
</div>

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

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

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

<div id="dt-0af7ef880bd4c313e954">
<p style="white-space: pre-wrap">The access width of the register in bytes. Defaults to 1.</p>
</div>

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

**Allowed values (<code>enum</code>):** <a id="dt-0153e07a2c6ab3f4c93c"></a> <span id="dt-68d2d2cb72c2f0051a68"><code>1</code></span>, <span id="dt-1eb3ced3436a604b7c52"><code>2</code></span>, <span id="dt-d0eeac163b61353c545e"><code>4</code></span>, <span id="dt-ce1065aff1d27380a12f"><code>8</code></span>

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-90a894fd78b8d40b7d7d">[<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-2ca82541dcd65f8fd34a">
<p style="white-space: pre-wrap">The number of bytes between register starts. Defaults to 1.</p>
</div>

<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">The amount of bits to shift the register content to the right to get
the data into bit zero.</p>
</div>

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

**Maximum value (<code>maximum</code>):** <span id="dt-a8659bb896b18f8fd1e2"><code>56</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">smic@fff3a000 {
    compatible = "ipmi-smic";
    device_type = "ipmi";
    reg = &lt;0xfff3a000 0x1000&gt;;
    interrupts = &lt;0 24 4&gt;;
    reg-size = &lt;4&gt;;
    reg-spacing = &lt;4&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>

---

# Nuvoton NPCM KCS BMC

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

> Device-tree binding reference for Nuvoton NPCM KCS BMC.

<!-- 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;ipmi&#47;nuvoton&#44;npcm750&#45;kcs&#45;bmc&#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;Avi Fishman &#60;avifishman70&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Tomer Maimon &#60;tmaimon77&#64;gmail&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Tali Perry &#60;tali&#46;perry1&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Nuvoton SOCs (NPCM) are commonly used as BMCs (Baseboard Management Controllers) and the KCS interface can be used to perform in-band IPMI communication with their host.</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**

> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;nuvoton&#44;npcm750&#45;kcs&#45;bmc&#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;nuvoton&#44;npcm845&#45;kcs&#45;bmc&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;nuvoton&#44;npcm750&#45;kcs&#45;bmc&#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-990bf4c0afbe55e7fdc3"></a>

### <code>kcs&#95;chan</code> — required here

<div id="dt-b132bc4a976fb3a9e575">
<p style="white-space: pre-wrap">The KCS channel number in the controller</p>
</div>

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

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

**Maximum value (<code>maximum</code>):** <span id="dt-ab480a1309fd2613fa31"><code>3</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;kcs&#95;chan&#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">kcs@0 {
    compatible = "nuvoton,npcm750-kcs-bmc";
    reg = &lt;0x0 0x40&gt;;
    interrupts = &lt;9 4&gt;;
    kcs_chan = &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-only OR BSD-2-Clause)</span></p>

</details>

---

# SSIF IPMI BMC interface

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

> Device-tree binding reference for SSIF IPMI BMC 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;ipmi&#47;ssif&#45;bmc&#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">SSIF IPMI BMC device bindings</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Quan Nguyen &#60;quan&#64;os&#46;amperecomputing&#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;ssif&#45;bmc&#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-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 {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    ssif-bmc@10 {
        compatible = "ssif-bmc";
        reg = &lt;0x10&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>
