# Peci bindings

---

# Nuvoton PECI Bus

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

> Device-tree binding reference for Nuvoton PECI Bus.

<!-- 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;peci&#47;nuvoton&#44;npcm&#45;peci&#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;Tomer Maimon &#60;tmaimon77&#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>peci&#45;controller&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-peci/peci-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;nuvoton&#44;npcm750&#45;peci&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;nuvoton&#44;npcm845&#45;peci&#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">Clock source for PECI controller. Should reference the APB clock.</p>
</div>

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

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

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

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

**Maximum value (<code>maximum</code>):** <span id="dt-334b7ee6abf5f00c338b"><code>1000</code></span>

**Default value (<code>default</code>):** <span id="dt-1113e23196c2341e137e"><code>1000</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-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/nuvoton,npcm7xx-clock.h&gt;
#include &lt;dt-bindings/interrupt-controller/arm-gic.h&gt;
peci-controller@f0100000 {
  compatible = "nuvoton,npcm750-peci";
  reg = &lt;0xf0100000 0x200&gt;;
  interrupts = &lt;GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH&gt;;
  clocks = &lt;&amp;clk NPCM7XX_CLK_APB3&gt;;
  cmd-timeout-ms = &lt;1000&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 PECI Bus

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

> Device-tree binding reference for Aspeed PECI Bus.

<!-- 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;peci&#47;peci&#45;aspeed&#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;Iwona Winiarska &#60;iwona&#46;winiarska&#64;intel&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Jae Hyun Yoo &#60;jae&#46;hyun&#46;yoo&#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>peci&#45;controller&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-peci/peci-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;peci&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;aspeed&#44;ast2500&#45;peci&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;aspeed&#44;ast2600&#45;peci&#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">Clock source for PECI controller. Should reference the external oscillator clock.</p>
</div>

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

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

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

**Maximum value (<code>maximum</code>):** <span id="dt-334b7ee6abf5f00c338b"><code>1000</code></span>

**Default value (<code>default</code>):** <span id="dt-1113e23196c2341e137e"><code>1000</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 operation frequency of PECI controller in Hz.</p>
</div>

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

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

**Default value (<code>default</code>):** <span id="dt-f1c4f38c5bf0a6f6c783"><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>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;resets&#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/arm-gic.h&gt;
#include &lt;dt-bindings/clock/ast2600-clock.h&gt;
peci-controller@1e78b000 {
  compatible = "aspeed,ast2600-peci";
  reg = &lt;0x1e78b000 0x100&gt;;
  interrupts = &lt;GIC_SPI 38 IRQ_TYPE_LEVEL_HIGH&gt;;
  clocks = &lt;&amp;syscon ASPEED_CLK_GATE_REF0CLK&gt;;
  resets = &lt;&amp;syscon ASPEED_RESET_PECI&gt;;
  cmd-timeout-ms = &lt;1000&gt;;
  clock-frequency = &lt;1000000&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>

---

# Generic for PECI

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

> Device-tree binding reference for Generic for PECI.

<!-- 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;peci&#47;peci&#45;controller&#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;Iwona Winiarska &#60;iwona&#46;winiarska&#64;intel&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">PECI (Platform Environment Control Interface) is an interface that provides a communication channel from Intel processors and chipset components to external monitoring or control devices.</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;peci&#45;controller&#40;&#64;&#46;&#42;&#41;&#63;&#36;&#34;</code></span>

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

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

<div id="dt-22f75fe0ce3a84f72e2c">
<p style="white-space: pre-wrap">Command timeout in units of ms.</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.

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">peci-controller@1e78b000 {
  reg = &lt;0x1e78b000 0x100&gt;;
  cmd-timeout-ms = &lt;500&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>
