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