# Embedded controller bindings

---

# Acer Aspire 1 Embedded Controller

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

> Device-tree binding reference for Acer Aspire 1 Embedded 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;embedded&#45;controller&#47;acer&#44;aspire1&#45;ec&#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;Nikita Travkin &#60;nikita&#64;trvn&#46;ru&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Acer Aspire 1 laptop uses an embedded controller to control battery and charging as well as to provide a set of misc features such as the laptop lid status and HPD events for the USB Type-C DP alt mode.</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;acer&#44;aspire1&#45;ec&#34;</code></span>

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

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

**Exact value (<code>const</code>):** <span id="dt-37ff54f2982aadb4aad3"><code>118</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-7d451ca92e2f646dbb7e"></a>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9086775ef8d262f0e0a5">[<code>&#47;schemas&#47;connector&#47;usb&#45;connector&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-connector/usb-connector.md#dt-root>)</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-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;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    embedded-controller@76 {
        compatible = "acer,aspire1-ec";
        reg = &lt;0x76&gt;;

        interrupts-extended = &lt;&amp;tlmm 30 IRQ_TYPE_LEVEL_LOW&gt;;

        connector {
            compatible = "usb-c-connector";

            port {
                ec_dp_in: endpoint {
                    remote-endpoint = &lt;&amp;mdss_dp_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>

---

# ChromeOS Embedded Controller

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

> Device-tree binding reference for ChromeOS Embedded 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;embedded&#45;controller&#47;google&#44;cros&#45;ec&#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;Benson Leung &#60;bleung&#64;chromium&#46;org&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Guenter Roeck &#60;groeck&#64;chromium&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Google's ChromeOS EC is a microcontroller which talks to the AP and implements various functions such as keyboard and battery charging. The EC can be connected through various interfaces (I2C, SPI, and others) and the compatible string specifies which interface is being used.</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">For implementations of the EC connected through I2C.</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-d1fe1b456a54b64074d3"><code>&#34;google&#44;cros&#45;ec&#45;i2c&#34;</code></span>

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

**Rule 2**

> <div id="dt-4b64ce44adfe069638c4">
> <p style="white-space: pre-wrap">For implementations of the EC connected through SPI.</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;google&#44;cros&#45;ec&#45;spi&#34;</code></span>

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

**Rule 3**

> <div id="dt-34ebc3371373135d1528">
> <p style="white-space: pre-wrap">For implementations of the FPMCU connected through SPI.</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;google&#44;cros&#45;ec&#45;fp&#34;</code></span>
>
> <a id="dt-5ea82ea034747ba6da29"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-e9c55cb91230c7ee5a28"><code>&#34;google&#44;cros&#45;ec&#45;spi&#34;</code></span>

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

**Rule 4**

> <div id="dt-2e7dbd5da540c0c7ff41">
> <p style="white-space: pre-wrap">For implementations of the EC connected through RPMSG.</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-bb8aa9a35453860e510c"><code>&#34;google&#44;cros&#45;ec&#45;rpmsg&#34;</code></span>

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

**Rule 5**

> <div id="dt-67e1c2ab404e45238d0a">
> <p style="white-space: pre-wrap">For implementations of the EC connected through UART.</p>
> </div>
>
> **Exact value (<code>const</code>):** <span id="dt-db09842262b0bfa9d4c5"><code>&#34;google&#44;cros&#45;ec&#45;uart&#34;</code></span>

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

### <code>controller&#45;data</code> — not listed as required here

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

<a id="dt-59fdcfd205f3d8b82be5"></a>

### <code>google&#44;cros&#45;ec&#45;spi&#45;pre&#45;delay</code> — not listed as required here

<div id="dt-e6f1e069600571452b20">
<p style="white-space: pre-wrap">This property specifies the delay in usecs between the assertion of the CS and the first clock pulse.</p>
</div>

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

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

### <code>google&#44;cros&#45;ec&#45;spi&#45;msg&#45;delay</code> — not listed as required here

<div id="dt-4d8b27904384ca13d8c6">
<p style="white-space: pre-wrap">This property specifies the delay in usecs between messages.</p>
</div>

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

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

### <code>google&#44;has&#45;vbc&#45;nvram</code> — not listed as required here

<div id="dt-60cb1f08a5222d688933">
<p style="white-space: pre-wrap">Some implementations of the EC include a small nvram space used to store verified boot context data. This boolean flag is used to specify whether this nvram is present or not.</p>
</div>

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

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

### <code>mediatek&#44;rpmsg&#45;name</code> — not listed as required here

<div id="dt-590c8281f5794244aec3">
<p style="white-space: pre-wrap">Must be defined if the cros-ec is a rpmsg device for a Mediatek ARM Cortex M4 Co-processor. Contains the name of the rpmsg device. Used to match the subnode to the rpmsg device announced by the SCP.</p>
</div>

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

<a id="dt-03a3b4f56bf191dde680"></a>

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

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

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

### <code>reg</code> — not listed as 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-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-6efe77d37820de32bd44"></a>

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

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

<div id="dt-feee210fbf7297662c43">
<p style="white-space: pre-wrap">Assert for bootloader mode.</p>
</div>

<a id="dt-236855bde9eebcc9d904"></a>

### <code>vdd&#45;supply</code> — not listed as required here

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

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

### <code>wakeup&#45;source</code> — not listed as required here

<div id="dt-bc66149156eb778046f0">
<p style="white-space: pre-wrap">Button can wake-up the system.</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-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-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-ca005513ded0927376ad"></a>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a4f0ba3550c3c3b5e569">[<code>&#47;schemas&#47;chrome&#47;google&#44;cros&#45;ec&#45;typec&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-chrome/google-cros-ec-typec.md#dt-root>)</span>

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

### <code>ec&#45;pwm</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c059a00058cd17f73749">[<code>&#47;schemas&#47;pwm&#47;google&#44;cros&#45;ec&#45;pwm&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-pwm/google-cros-ec-pwm.md#dt-root>)</span>

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

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b1f2cf110527c95cb9c8">[<code>&#47;schemas&#47;pwm&#47;google&#44;cros&#45;ec&#45;pwm&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-pwm/google-cros-ec-pwm.md#dt-root>)</span>

<a id="dt-97745b5737e8a0db91d5"></a>

### <code>keyboard&#45;controller</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-20f0bc70fd457de29ecc">[<code>&#47;schemas&#47;input&#47;google&#44;cros&#45;ec&#45;keyb&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-input/google-cros-ec-keyb.md#dt-root>)</span>

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d733bdc9dbe75b9fae64">[<code>&#47;schemas&#47;iio&#47;proximity&#47;google&#44;cros&#45;ec&#45;mkbp&#45;proximity&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-iio/proximity/google-cros-ec-mkbp-proximity.md#dt-root>)</span>

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

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

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

<a id="dt-52a8466ca2ff9e2aa359"></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-d9dc52a5d3f6dfd4f883"></a>

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

<a id="dt-42203348ac0462f43d44"></a>

**<code>&#35;address&#45;cells</code> — required here**

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

<a id="dt-29dbb83f488b9ed399df"></a>

**<code>&#35;size&#45;cells</code> — required here**

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

<a id="dt-2623fa8e1f0170cf25f4"></a>

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

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

**<code>&#94;ec&#45;codec&#64;&#91;a&#45;f0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression**

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3a2868c95b0d7d4a4fea">[<code>&#47;schemas&#47;sound&#47;google&#44;cros&#45;ec&#45;codec&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-sound/google-cros-ec-codec.md#dt-root>)</span>

**Required in this object (<code>required</code>):** <a id="dt-fd9efe22e67cf5f0a00f"></a> <span id="dt-a5e86d6b90d0acb1a460"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-6d0fde30bd1bb24faae9"><code>&#34;&#35;size&#45;cells&#34;</code></span>

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

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

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

<div id="dt-07d9450a83e637bea7f1">
<p style="white-space: pre-wrap">This device is used to signal when a detachable base is attached to a Chrome OS tablet. This device cannot be detected at runtime.</p>
</div>

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

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

<a id="dt-206870c4f42448eb063c"></a>

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

**Exact value (<code>const</code>):** <span id="dt-6c7f38df3494237645f2"><code>&#34;google&#44;cros&#45;cbas&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-bd79dd1132e9060a6715"></a> <span id="dt-2bc295ffd967ba8d3298"><code>&#34;compatible&#34;</code></span>

<a id="dt-a74e9767ad03ca35026e"></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-e92215bd3c2f5373b164"></a>

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

<a id="dt-004621401359290dd5c6"></a>

### <code>&#94;i2c&#45;tunnel&#91;0&#45;9&#93;&#42;&#36;</code> — name matches this regular expression

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3c2ee8b8625862d763a3">[<code>&#47;schemas&#47;i2c&#47;google&#44;cros&#45;ec&#45;i2c&#45;tunnel&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-i2c/google-cros-ec-i2c-tunnel.md#dt-root>)</span>

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

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4b7e66b540044ac77b89">[<code>&#47;schemas&#47;regulator&#47;google&#44;cros&#45;ec&#45;regulator&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-regulator/google-cros-ec-regulator.md#dt-root>)</span>

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

### <code>&#94;extcon&#91;0&#45;9&#93;&#42;&#36;</code> — name matches this regular expression

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-daf53d53953fee2f8c95">[<code>&#47;schemas&#47;extcon&#47;extcon&#45;usbc&#45;cros&#45;ec&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-extcon/extcon-usbc-cros-ec.md#dt-root>)</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-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-bf9d7a6c36fc19e6cd0a"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > <a id="dt-451f8454a4f96d20fdd9"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Exact value (<code>const</code>):** <span id="dt-7ffdfc271ed461353e09"><code>&#34;google&#44;cros&#45;ec&#45;spi&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-b212c2ef78c22fab2e20"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-7fc211f93e8e91ba7bef"></a>
> >
> > **<code>controller&#45;data</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-e985e942198f79e0fa42"></a>
> >
> > **<code>google&#44;cros&#45;ec&#45;spi&#45;pre&#45;delay</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-6262832a65ede218a473"></a>
> >
> > **<code>google&#44;cros&#45;ec&#45;spi&#45;msg&#45;delay</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-85e5ecb7737f93f28ea6"></a>
> >
> > **<code>spi&#45;max&#45;frequency</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-3b9a57ddf0c1ff338d02">[<code>&#47;schemas&#47;spi&#47;spi&#45;peripheral&#45;props&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-spi/spi-peripheral-props.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;google&#44;cros&#45;ec&#45;rpmsg&#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-835fddd85dbf5ad6851d"></a>
> >
> > **<code>mediatek&#44;rpmsg&#45;name</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-d12232da396398a7b221"></a>
> >
> > **This rule must not match (<code>not</code>)**
> >
> > > <a id="dt-294851e26baa556ca1d1"></a>
> > >
> > > **Rule for matching array elements (<code>contains</code>)**
> > >
> > > > **Allowed values (<code>enum</code>):** <a id="dt-6ed7660f1000cc40b4d1"></a> <span id="dt-d7066f873bebdae9cd8d"><code>&#34;google&#44;cros&#45;ec&#45;rpmsg&#34;</code></span>, <span id="dt-79b164137b8f505f12d9"><code>&#34;google&#44;cros&#45;ec&#45;uart&#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;reg&#34;</code></span>, <span id="dt-ec639a3f525fd28f920c"><code>&#34;interrupts&#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;google&#44;cros&#45;ec&#45;fp&#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-f4702b730f3b1b445223"></a>
> >
> > **<code>&#35;address&#45;cells</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-86af953ecb5aa4168b72"></a>
> >
> > **<code>&#35;size&#45;cells</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-f36aff44edb678a9ef6d"></a>
> >
> > **<code>typec</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-c8e8e5f30fc76e622610"></a>
> >
> > **<code>ec&#45;pwm</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-99e01b51af897e1e560a"></a>
> >
> > **<code>kbd&#45;led&#45;backlight</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-6b1a3f85df1dce201eb0"></a>
> >
> > **<code>keyboard&#45;controller</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-3df8347508b659b7c49a"></a>
> >
> > **<code>proximity</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-c7452aba1b1a1fcde55c"></a>
> >
> > **<code>codecs</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-f9222a031d893ca31676"></a>
> >
> > **<code>cbas</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-9fff9961ce6722b392f4"></a>
> >
> > **Properties matching a name pattern (<code>patternProperties</code>)**
> >
> > <a id="dt-fb9e37828e74ec3916b3"></a>
> >
> > **<code>&#94;i2c&#45;tunnel&#91;0&#45;9&#93;&#42;&#36;</code> — name matches this regular expression**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-112819fa40eca3f692e4"></a>
> >
> > **<code>&#94;regulator&#64;&#91;0&#45;9&#93;&#43;&#36;</code> — name matches this regular expression**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-3a586811bf3abd116864"></a>
> >
> > **<code>&#94;extcon&#91;0&#45;9&#93;&#42;&#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-e8e2f7d7ecdebb81c712"></a> <span id="dt-1a51fa9eec7d4fe91130"><code>&#34;reset&#45;gpios&#34;</code></span>, <span id="dt-a1f07a977cb8e39a4174"><code>&#34;boot0&#45;gpios&#34;</code></span>, <span id="dt-ede14c503e4cd7bb26ed"><code>&#34;vdd&#45;supply&#34;</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-fc89c24bf0efeeee2e6f"></a>
> >
> > **<code>reset&#45;gpios</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-9b48c1b444516e9c0717"></a>
> >
> > **<code>boot0&#45;gpios</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-7477344defa1028dbcf4"></a>
> >
> > **<code>vdd&#45;supply</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

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

    cros-ec@1e {
        compatible = "google,cros-ec-i2c";
        reg = &lt;0x1e&gt;;
        interrupts = &lt;6 0&gt;;
        interrupt-parent = &lt;&amp;gpio0&gt;;
    };
};
</code></pre>

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

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

    cros-ec@0 {
        compatible = "google,cros-ec-spi";
        reg = &lt;0x0&gt;;
        google,cros-ec-spi-msg-delay = &lt;30&gt;;
        google,cros-ec-spi-pre-delay = &lt;10&gt;;
        interrupts = &lt;99 0&gt;;
        interrupt-parent = &lt;&amp;gpio7&gt;;
        spi-max-frequency = &lt;5000000&gt;;
        #gpio-cells = &lt;2&gt;;
        gpio-controller;

        proximity {
            compatible = "google,cros-ec-mkbp-proximity";
        };

        cbas {
            compatible = "google,cros-cbas";
        };
    };
};
</code></pre>

<pre id="dt-d0212a4cd671f89a0b40"><code class="language-dts">scp0 {
    cros-ec {
        compatible = "google,cros-ec-rpmsg";
    };
};
</code></pre>

<pre id="dt-cf8a683b5a963eb1c566"><code class="language-dts">spi {
  #address-cells = &lt;0x1&gt;;
  #size-cells = &lt;0x0&gt;;

  ec@0 {
    compatible = "google,cros-ec-fp", "google,cros-ec-spi";
    reg = &lt;0x0&gt;;
    interrupt-parent = &lt;&amp;gpio_controller&gt;;
    interrupts = &lt;4 IRQ_TYPE_LEVEL_LOW&gt;;
    spi-max-frequency = &lt;3000000&gt;;
    reset-gpios = &lt;&amp;gpio_controller 5 GPIO_ACTIVE_LOW&gt;;
    boot0-gpios = &lt;&amp;gpio_controller 10 GPIO_ACTIVE_HIGH&gt;;
    vdd-supply = &lt;&amp;pp3300_fp_mcu&gt;;
  };
};
</code></pre>

<pre id="dt-89dd782fdab7d446b5b9"><code class="language-dts">serial {
    cros-ec {
        compatible = "google,cros-ec-uart";
    };
};
</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 230:</strong> <span> Using additionalProperties: false here and</span></p>

<p id="dt-comment-2"><strong>Line 231:</strong> <span> listing true properties doesn't work</span></p>

<p id="dt-comment-3"><strong>Line 246:</strong> <span> Example for I2C</span></p>

<p id="dt-comment-4"><strong>Line 263:</strong> <span> Example for SPI</span></p>

<p id="dt-comment-5"><strong>Line 293:</strong> <span> Example for RPMSG</span></p>

<p id="dt-comment-6"><strong>Line 301:</strong> <span> Example for FPMCU</span></p>

<p id="dt-comment-7"><strong>Line 319:</strong> <span> Example for UART</span></p>

</details>

---

# Gateworks System Controller

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

> Device-tree binding reference for Gateworks System 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;embedded&#45;controller&#47;gw&#44;gsc&#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">
<pre><code>The Gateworks System Controller (GSC) is a device present across various
Gateworks product families that provides a set of system related features
such as the following (refer to the board hardware user manuals to see what
features are present)
 - Watchdog Timer
 - GPIO
 - Pushbutton controller
 - Hardware monitor with ADC's for temperature and voltage rails and
   fan controller</code></pre>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Tim Harvey &#60;tharvey&#64;gateworks&#46;com&#62;&#34;</code></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;gsc&#64;&#91;0&#45;9a&#45;f&#93;&#123;1&#44;2&#125;&#34;</code></span>

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

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

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

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

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C device address</p>
</div>

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

### <code>interrupt&#45;controller</code> — required here

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

<a id="dt-8586fac2d9a71adf4795"></a>

### <code>&#35;interrupt&#45;cells</code> — required here

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

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

### <code>&#35;address&#45;cells</code> — 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> — required here

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

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

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

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

<a id="dt-213882ca6117f6766aea"></a>

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

<code>false</code>

Not allowed by this rule.

<div id="dt-5bb8791ca8dabd8226b7">
<p style="white-space: pre-wrap">Optional hardware monitoring module</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-11692997dcc65ce6977c"><code>&#34;gw&#44;gsc&#45;adc&#34;</code></span>

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

**<code>&#35;address&#45;cells</code> — required here**

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

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

**<code>&#35;size&#45;cells</code> — required here**

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

<a id="dt-6390eb8593d0ffd0d92e"></a>

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

<a id="dt-75b5b81efbfc273c9f97"></a>

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

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

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

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

<code>false</code>

Not allowed by this rule.

<div id="dt-4ed7315336ea0cb4cbcf">
<p style="white-space: pre-wrap">Properties for a single ADC which can report cooked values
(i.e. temperature sensor based on thermister), raw values
(i.e. voltage rail with a pre-scaling resistor divider).</p>
</div>

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

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

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

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

<div id="dt-4e8f401c1dec6728650d">
<p style="white-space: pre-wrap">Register of the ADC</p>
</div>

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

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

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

<div id="dt-28933d8756096be9004c">
<p style="white-space: pre-wrap">Name of the ADC input</p>
</div>

<a id="dt-9642907e3083e9d65f10"></a>

**<code>gw&#44;mode</code> — required here**

<div id="dt-725970bb78eafee30764">
<pre><code>conversion mode:
  0 - temperature, in C*10
  1 - pre-scaled 24-bit voltage value
  2 - scaled voltage based on an optional resistor divider
      and optional offset
  3 - pre-scaled 16-bit voltage value
  4 - fan tach input to report RPM's</code></pre>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8fc0c3c258a8aefe8fda">[<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-ea89020297fd8a122171"></a> <span id="dt-86eaa770645b2cb47dcd"><code>0</code></span>, <span id="dt-8d588c87cd6e032bb249"><code>1</code></span>, <span id="dt-31493ef821c49152904b"><code>2</code></span>, <span id="dt-fdf4074e92843b7a7345"><code>3</code></span>, <span id="dt-67fa6e1c5eb997047292"><code>4</code></span>

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

**<code>gw&#44;voltage&#45;divider&#45;ohms</code> — not listed as required here**

<div id="dt-007eda56088cfad4de35">
<p style="white-space: pre-wrap">Values of resistors for divider on raw ADC input</p>
</div>

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

<a id="dt-3934b5d8517f7d0db03e"></a>

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

> **Minimum value (<code>minimum</code>):** <span id="dt-e5dc0de3850953f39364"><code>1000</code></span>
>
> **Maximum value (<code>maximum</code>):** <span id="dt-8e9f7ad0ed6c5c0875ed"><code>1000000</code></span>

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

**<code>gw&#44;voltage&#45;offset&#45;microvolt</code> — not listed as required here**

<div id="dt-6708900f838684944400">
<p style="white-space: pre-wrap">A positive voltage offset to apply to a raw ADC
(i.e. to compensate for a diode drop).</p>
</div>

**Minimum value (<code>minimum</code>):** <span id="dt-18804bb590cd4f471821"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-55ec1c0bad20c336d20b"><code>1000000</code></span>

**Required in this object (<code>required</code>):** <a id="dt-ee5e86644160682c972e"></a> <span id="dt-d99485b4605a36c880a4"><code>&#34;gw&#44;mode&#34;</code></span>, <span id="dt-1c34562a502b8ff4b3bb"><code>&#34;reg&#34;</code></span>, <span id="dt-eb007adb1f240a9ff781"><code>&#34;label&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-eff94abf7f7271ae4bf9"></a> <span id="dt-c7c5d9cb12490906c7fb"><code>&#34;compatible&#34;</code></span>, <span id="dt-fb17f0df13e9e4a6199d"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-c7575eed4b64b5ebb96a"><code>&#34;&#35;size&#45;cells&#34;</code></span>

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

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

<a id="dt-13246c287203d0f7deff"></a>

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

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

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

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

<code>false</code>

Not allowed by this rule.

<div id="dt-e48aec493a7514af91e5">
<p style="white-space: pre-wrap">Optional fan controller</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-ea8d1b79266fb30e6bfb"><code>&#34;gw&#44;gsc&#45;fan&#34;</code></span>

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

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

<div id="dt-fbb7c84a204783924302">
<p style="white-space: pre-wrap">The fan controller base address</p>
</div>

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

**Required in this object (<code>required</code>):** <a id="dt-d82a9744ec83d4e1f98b"></a> <span id="dt-3b416f05d0ef591a353b"><code>&#34;compatible&#34;</code></span>, <span id="dt-c4e14adbeea8864cae92"><code>&#34;reg&#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;interrupt&#45;controller&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;interrupt&#45;cells&#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-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;;

    gsc@20 {
        compatible = "gw,gsc";
        reg = &lt;0x20&gt;;
        interrupt-parent = &lt;&amp;gpio1&gt;;
        interrupts = &lt;4 IRQ_TYPE_LEVEL_LOW&gt;;
        interrupt-controller;
        #interrupt-cells = &lt;1&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        adc {
            compatible = "gw,gsc-adc";
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;

            channel@0 { /* A0: Board Temperature */
                reg = &lt;0x00&gt;;
                label = "temp";
                gw,mode = &lt;0&gt;;
            };

            channel@2 { /* A1: Input Voltage (raw ADC) */
                reg = &lt;0x02&gt;;
                label = "vdd_vin";
                gw,mode = &lt;1&gt;;
                gw,voltage-divider-ohms = &lt;22100 1000&gt;;
                gw,voltage-offset-microvolt = &lt;800000&gt;;
            };

            channel@b { /* A2: Battery voltage */
                reg = &lt;0x0b&gt;;
                label = "vdd_bat";
                gw,mode = &lt;1&gt;;
            };
        };

        fan-controller@2c {
            compatible = "gw,gsc-fan";
            reg = &lt;0x2c&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>

---

# Huawei Matebook E Go Embedded Controller

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

> Device-tree binding reference for Huawei Matebook E Go Embedded 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;embedded&#45;controller&#47;huawei&#44;gaokun3&#45;ec&#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;Pengyu Luo &#60;mitltlatltl&#64;gmail&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Different from other Qualcomm Snapdragon sc8180x and sc8280xp-based machines, the Huawei Matebook E Go tablets use embedded controllers while others use a system called PMIC GLink which handles battery, UCSI, USB Type-C DP Alt Mode. In addition, Huawei's implementation also handles additional features, such as charging thresholds, FN lock, smart charging, tablet lid status, thermal sensors, and more.</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;huawei&#44;gaokun3&#45;ec&#34;</code></span>

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

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

**Exact value (<code>const</code>):** <span id="dt-37ff54f2982aadb4aad3"><code>56</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-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-e92215bd3c2f5373b164"></a>

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

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

### <code>&#94;connector&#64;&#91;01&#93;&#36;</code> — name matches this regular expression

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

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

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

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

**<code>reg</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-66c3138c077bb75e20bf"><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-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;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    embedded-controller@38 {
        compatible = "huawei,gaokun3-ec";
        reg = &lt;0x38&gt;;

        interrupts-extended = &lt;&amp;tlmm 107 IRQ_TYPE_LEVEL_LOW&gt;;

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

        connector@0 {
            compatible = "usb-c-connector";
            reg = &lt;0&gt;;
            power-role = "dual";
            data-role = "dual";

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

                port@0 {
                    reg = &lt;0&gt;;

                    ucsi0_ss_in: endpoint {
                        remote-endpoint = &lt;&amp;usb_0_qmpphy_out&gt;;
                    };
                };

                port@1 {
                    reg = &lt;1&gt;;

                    ucsi0_sbu: endpoint {
                        remote-endpoint = &lt;&amp;usb0_sbu_mux&gt;;
                    };
                };
            };
        };

        connector@1 {
            compatible = "usb-c-connector";
            reg = &lt;1&gt;;
            power-role = "dual";
            data-role = "dual";

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

                port@0 {
                    reg = &lt;0&gt;;

                    ucsi1_ss_in: endpoint {
                        remote-endpoint = &lt;&amp;usb_1_qmpphy_out&gt;;
                    };
                };

                port@1 {
                    reg = &lt;1&gt;;

                    ucsi1_sbu: endpoint {
                        remote-endpoint = &lt;&amp;usb1_sbu_mux&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>

---

# Kontron's sl28cpld board management controller

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

> Device-tree binding reference for Kontron's sl28cpld board management 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;embedded&#45;controller&#47;kontron&#44;sl28cpld&#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;Michael Walle &#60;michael&#64;walle&#46;cc&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The board management controller may contain different IP blocks like
watchdog, fan monitoring, PWM controller, interrupt controller and a
GPIO 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;kontron&#44;sa67mcu&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;kontron&#44;sl28cpld&#34;</code></span>

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

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-58a429cd4bf531951c0d"><code>&#34;kontron&#44;sl28cpld&#34;</code></span>

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

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

<div id="dt-571d87f60678ead6c5ff">
<p style="white-space: pre-wrap">I2C device address.</p>
</div>

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

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

### <code>&#35;address&#45;cells</code> — 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> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</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-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-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-e92215bd3c2f5373b164"></a>

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

<a id="dt-49719ec5a51608c0d348"></a>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-d94f946f78962d2baa42">[<code>&#47;schemas&#47;gpio&#47;kontron&#44;sl28cpld&#45;gpio&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-gpio/kontron-sl28cpld-gpio.md#dt-root>)</span>

<a id="dt-1440c91705269ef11f0b"></a>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-36fe670aa8d070fc50f6">[<code>&#47;schemas&#47;hwmon&#47;kontron&#44;sl28cpld&#45;hwmon&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-hwmon/kontron-sl28cpld-hwmon.md#dt-root>)</span>

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

### <code>&#94;interrupt&#45;controller&#40;&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#41;&#63;&#36;</code> — name matches this regular expression

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-82b16dbc8979c416e44a">[<code>&#47;schemas&#47;interrupt&#45;controller&#47;kontron&#44;sl28cpld&#45;intc&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-interrupt-controller/kontron-sl28cpld-intc.md#dt-root>)</span>

<a id="dt-13a805f420b60cf870a1"></a>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9e5f2968e3a471cd3169">[<code>&#47;schemas&#47;pwm&#47;kontron&#44;sl28cpld&#45;pwm&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-pwm/kontron-sl28cpld-pwm.md#dt-root>)</span>

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

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-62f55604dac3fbc405a9">[<code>&#47;schemas&#47;watchdog&#47;kontron&#44;sl28cpld&#45;wdt&#46;yaml</code>](</kernel/hardware/devicetree-bindings/dt-watchdog/kontron-sl28cpld-wdt.md#dt-root>)</span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;&#35;address&#45;cells&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;&#35;size&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;compatible&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><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;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    sl28cpld@4a {
        compatible = "kontron,sl28cpld";
        reg = &lt;0x4a&gt;;
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        watchdog@4 {
            compatible = "kontron,sl28cpld-wdt";
            reg = &lt;0x4&gt;;
            kontron,assert-wdt-timeout-pin;
        };

        hwmon@b {
            compatible = "kontron,sl28cpld-fan";
            reg = &lt;0xb&gt;;
        };

        pwm@c {
            compatible = "kontron,sl28cpld-pwm";
            reg = &lt;0xc&gt;;
            #pwm-cells = &lt;2&gt;;
        };

        pwm@e {
            compatible = "kontron,sl28cpld-pwm";
            reg = &lt;0xe&gt;;
            #pwm-cells = &lt;2&gt;;
        };

        gpio@10 {
            compatible = "kontron,sl28cpld-gpio";
            reg = &lt;0x10&gt;;
            interrupts-extended = &lt;&amp;gpio2 6
                           IRQ_TYPE_EDGE_FALLING&gt;;

            gpio-controller;
            #gpio-cells = &lt;2&gt;;
            gpio-line-names = "a", "b", "c";

            interrupt-controller;
            #interrupt-cells = &lt;2&gt;;
        };

        gpio@15 {
            compatible = "kontron,sl28cpld-gpio";
            reg = &lt;0x15&gt;;
            interrupts-extended = &lt;&amp;gpio2 6
                           IRQ_TYPE_EDGE_FALLING&gt;;

            gpio-controller;
            #gpio-cells = &lt;2&gt;;

            interrupt-controller;
            #interrupt-cells = &lt;2&gt;;
        };

        gpio@1a {
            compatible = "kontron,sl28cpld-gpo";
            reg = &lt;0x1a&gt;;

            gpio-controller;
            #gpio-cells = &lt;2&gt;;
        };

        gpio@1b {
            compatible = "kontron,sl28cpld-gpi";
            reg = &lt;0x1b&gt;;

            gpio-controller;
            #gpio-cells = &lt;2&gt;;
        };

        interrupt-controller@1c {
            compatible = "kontron,sl28cpld-intc";
            reg = &lt;0x1c&gt;;
            interrupts-extended = &lt;&amp;gpio2 6
                           IRQ_TYPE_EDGE_FALLING&gt;;

            interrupt-controller;
            #interrupt-cells = &lt;2&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>

---

# Lenovo Thinkpad T14s Embedded Controller

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

> Device-tree binding reference for Lenovo Thinkpad T14s Embedded 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;embedded&#45;controller&#47;lenovo&#44;thinkpad&#45;t14s&#45;ec&#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;Sebastian Reichel &#60;sre&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Qualcomm Snapdragon-based Lenovo Thinkpad T14s has an Embedded Controller (EC) which handles things such as keyboard backlight, LEDs or non-standard keys.</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;lenovo&#44;thinkpad&#45;t14s&#45;ec&#34;</code></span>

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

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

**Exact value (<code>const</code>):** <span id="dt-37ff54f2982aadb4aad3"><code>40</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-2a09d6d20023955671c8"></a>

### <code>wakeup&#45;source</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>

<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;
i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    embedded-controller@28 {
        compatible = "lenovo,thinkpad-t14s-ec";
        reg = &lt;0x28&gt;;
        interrupts-extended = &lt;&amp;tlmm 66 IRQ_TYPE_LEVEL_LOW&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>

---

# Lenovo Yoga C630 Embedded Controller.

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

> Device-tree binding reference for Lenovo Yoga C630 Embedded 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;embedded&#45;controller&#47;lenovo&#44;yoga&#45;c630&#45;ec&#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;Bjorn Andersson &#60;andersson&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Qualcomm Snapdragon-based Lenovo Yoga C630 has an Embedded Controller (EC) which handles things such as battery and USB Type-C. This binding describes the interface, on an I2C bus, to this EC.</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;lenovo&#44;yoga&#45;c630&#45;ec&#34;</code></span>

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

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

**Exact value (<code>const</code>):** <span id="dt-37ff54f2982aadb4aad3"><code>112</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-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-e92215bd3c2f5373b164"></a>

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

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

### <code>&#94;connector&#64;&#91;01&#93;&#36;</code> — name matches this regular expression

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

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

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

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

**<code>reg</code> — not listed as required here**

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

<a id="dt-2551567f65ab9a734026"></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-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;
i2c {
    clock-frequency = &lt;400000&gt;;

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

    embedded-controller@70 {
        compatible = "lenovo,yoga-c630-ec";
        reg = &lt;0x70&gt;;

        interrupts-extended = &lt;&amp;tlmm 20 IRQ_TYPE_LEVEL_HIGH&gt;;

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

        connector@0 {
            compatible = "usb-c-connector";
            reg = &lt;0&gt;;
            power-role = "source";
            data-role = "host";
        };

        connector@1 {
            compatible = "usb-c-connector";
            reg = &lt;1&gt;;
            power-role = "source";
            data-role = "host";
        };
    };
};
</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>

---

# Surface System Aggregator Module (SAM, SSAM)

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

> Device-tree binding reference for Surface System Aggregator Module (SAM, SSAM).

<!-- 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;embedded&#45;controller&#47;microsoft&#44;surface&#45;sam&#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;Konrad Dybcio &#60;konradybcio&#64;kernel&#46;org&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Surface devices use a standardized embedded controller to let the
operating system interface with various hardware functions. The
specific functionalities are modeled as subdevices and matched on
five levels: domain, category, target, instance and function.</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;microsoft&#44;surface&#45;sam&#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-6d7d719f8cc734f6147b"></a>

### <code>current&#45;speed</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;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-1a130cabaa8a47b058bf"></a>

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/interrupt-controller/irq.h&gt;
uart {
    embedded-controller {
        compatible = "microsoft,surface-sam";

        interrupts-extended = &lt;&amp;tlmm 91 IRQ_TYPE_EDGE_RISING&gt;;

        pinctrl-0 = &lt;&amp;ssam_state&gt;;
        pinctrl-names = "default";

        current-speed = &lt;4000000&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>

---

# Traverse Ten64 board microcontroller

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

> Device-tree binding reference for Traverse Ten64 board microcontroller.

<!-- 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;embedded&#45;controller&#47;traverse&#44;ten64&#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;Mathew McBride &#60;matt&#64;traverse&#46;com&#46;au&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The board microcontroller on the Ten64 board family is responsible for
management of power sources on the board, as well as signalling the SoC
to power on and reset.</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;traverse&#44;ten64&#45;controller&#34;</code></span>

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

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

**Exact value (<code>const</code>):** <span id="dt-37ff54f2982aadb4aad3"><code>126</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;;

    board-controller@7e {
        compatible = "traverse,ten64-controller";
        reg = &lt;0x7e&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>
