# Synaptics RMI4 compliant devices

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

> Device-tree binding reference for Synaptics RMI4 compliant devices.

<!-- SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause -->


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

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;input&#47;syna&#44;rmi4&#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;Jason A&#46; Donenfeld &#60;Jason&#64;zx2c4&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Matthias Schiffer &#60;matthias&#46;schiffer&#64;ew&#46;tq&#45;group&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Vincent Huang &#60;vincent&#46;huang&#64;tw&#46;synaptics&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The Synaptics RMI4 (Register Mapped Interface 4) core is able to support RMI4
devices using different transports (I2C, SPI) and different functions (e.g.
Function 1, 2D sensors using Function 11 or 12).</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;syna&#44;rmi4&#45;i2c&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;syna&#44;rmi4&#45;spi&#34;</code></span>

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

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

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

<a id="dt-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> — 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>

<div id="dt-451564af2b6998692dea">
<p style="white-space: pre-wrap">Active low signal</p>
</div>

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

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

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

<a id="dt-27851c8ce8d41152ef35"></a>

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

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

<a id="dt-295ef2b3aa8af1ae462d"></a>

### <code>syna&#44;reset&#45;delay&#45;ms</code> — not listed as required here

<div id="dt-3bf011e350a62898264c">
<p style="white-space: pre-wrap">Delay to wait after resetting the device.</p>
</div>

<a id="dt-0707609ea1785f489edb"></a>

### <code>syna&#44;startup&#45;delay&#45;ms</code> — not listed as required here

<div id="dt-52bea936fd579c7b3b1a">
<p style="white-space: pre-wrap">Delay to wait after powering on the device.</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-db82700d525a0fe59ed2"></a>

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

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

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

### <code>rmi4&#45;f01&#64;1</code> — not listed as required here

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

<a id="dt-1c0d79d39fea94f933d8"></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-0e485761743646f24a5b">
<p style="white-space: pre-wrap">Function 1</p>
</div>

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

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

<a id="dt-3715fc0e6646fe44a25c"></a>

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

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

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

**<code>syna&#44;nosleep&#45;mode</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f0fd9a8341d86f06e58f">[<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-678d96fc709d6f3563a0"></a> <span id="dt-38e6c3cb4e4c3f2e82be"><code>0</code></span>, <span id="dt-656ebc05587996110341"><code>1</code></span>, <span id="dt-e3d052f0eb5dcd6726bd"><code>2</code></span>

<div id="dt-afd2ccf9303da23551fa">
<p style="white-space: pre-wrap">If set the device will run at full power without sleeping.  nosleep has 3 modes, 0 will not change the default setting, 1 will disable nosleep (allow sleeping), and 2 will enable nosleep (disabling sleep).</p>
</div>

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

**<code>syna&#44;wakeup&#45;threshold</code> — not listed as required here**

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

<div id="dt-0ac128e71a28833ed3fe">
<p style="white-space: pre-wrap">Defines the amplitude of the disturbance to the background capacitance that will cause the device to wake from dozing.</p>
</div>

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

**<code>syna&#44;doze&#45;holdoff&#45;ms</code> — not listed as required here**

<div id="dt-238e464d7e6684389196">
<p style="white-space: pre-wrap">The delay to wait after the last finger lift and the first doze cycle.</p>
</div>

<a id="dt-793603f543a453f5f198"></a>

**<code>syna&#44;doze&#45;interval&#45;ms</code> — not listed as required here**

<div id="dt-fe68fd6e4849d0aadf91">
<p style="white-space: pre-wrap">The time period that the device sleeps between finger activity.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-c795c158826b52ce324b"></a> <span id="dt-02355ae26d97752ad3f8"><code>&#34;reg&#34;</code></span>

<a id="dt-48c93763b5b5531428af"></a>

### <code>rmi4&#45;f1a&#64;1a</code> — not listed as required here

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

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

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

<code>false</code>

Not allowed by this rule.

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-768f8888cfcdc4179525">[<code>input&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-input/input.md#dt-root>)</span>

<div id="dt-3577aa42537826256682">
<p style="white-space: pre-wrap">RMI4 Function 1A is for capacitive keys.</p>
</div>

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

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

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

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

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

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

**<code>linux&#44;keycodes</code> — not listed as required here**

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

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

**Required in this object (<code>required</code>):** <a id="dt-c5d2483dc314ac470005"></a> <span id="dt-18c772de239bc0017b83"><code>&#34;reg&#34;</code></span>

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

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

<a id="dt-55c4c62b6245a7306ecd"></a>

### <code>&#94;rmi4&#45;f1&#91;12&#93;&#64;1&#91;12&#93;&#36;</code> — name matches this regular expression

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

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

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

<code>false</code>

Not allowed by this rule.

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

<div id="dt-a61cef5c0ce7a001b9e0">
<p style="white-space: pre-wrap">RMI4 Function 11 and Function 12 are for 2D touch position sensing.</p>
</div>

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

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

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

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

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

<a id="dt-523174e01f24efea8fe7"></a>

**<code>syna&#44;clip&#45;x&#45;low</code> — not listed as required here**

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

<div id="dt-43be29c9df1ef033e4ab">
<p style="white-space: pre-wrap">Minimum value for X.</p>
</div>

<a id="dt-37a90f052d8bc6a2de5b"></a>

**<code>syna&#44;clip&#45;y&#45;low</code> — not listed as required here**

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

<div id="dt-9a669026435a17f9ce31">
<p style="white-space: pre-wrap">Minimum value for Y.</p>
</div>

<a id="dt-755b8585332bbf00ecb5"></a>

**<code>syna&#44;clip&#45;x&#45;high</code> — not listed as required here**

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

<div id="dt-e7ab2ec533cef6b152e1">
<p style="white-space: pre-wrap">Maximum value for X.</p>
</div>

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

**<code>syna&#44;clip&#45;y&#45;high</code> — not listed as required here**

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

<div id="dt-4bcdae12800228c54984">
<p style="white-space: pre-wrap">Maximum value for Y.</p>
</div>

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

**<code>syna&#44;offset&#45;x</code> — not listed as required here**

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

<div id="dt-c2a790ddd5b141ea7917">
<p style="white-space: pre-wrap">Add an offset to X.</p>
</div>

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

**<code>syna&#44;offset&#45;y</code> — not listed as required here**

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

<div id="dt-217d7fedf1f07a18c859">
<p style="white-space: pre-wrap">Add an offset to Y.</p>
</div>

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

**<code>syna&#44;delta&#45;x&#45;threshold</code> — not listed as required here**

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

<div id="dt-bcc4cdcd627191844f1e">
<p style="white-space: pre-wrap">Minimum distance on the X axis required to generate an interrupt in reduced reporting mode.</p>
</div>

<a id="dt-72bdc79e6b7e54515471"></a>

**<code>syna&#44;delta&#45;y&#45;threshold</code> — not listed as required here**

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

<div id="dt-2a7781af45554539b574">
<p style="white-space: pre-wrap">Minimum distance on the Y axis required to generate an interrupt in reduced reporting mode.</p>
</div>

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

**<code>syna&#44;sensor&#45;type</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9cd1798c6723288e9e80">[<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-fbb0ff59357ec885917e"></a> <span id="dt-9debae8d6fb88a65b0d6"><code>1</code></span>, <span id="dt-1aee5f29eb8e91fd049e"><code>2</code></span>

<div id="dt-e10cff115cffe305971d">
<p style="white-space: pre-wrap">Sensor type: 1 for touchscreen 2 for touchpad.</p>
</div>

<a id="dt-97539d2c3806f0373836"></a>

**<code>syna&#44;disable&#45;report&#45;mask</code> — not listed as required here**

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

<div id="dt-5f3a57e6e8aedeb7fc00">
<p style="white-space: pre-wrap">Mask for disabling posiiton reporting. Used to disable reporing absolute position data.</p>
</div>

<a id="dt-457bbef5fd2590c9cdea"></a>

**<code>syna&#44;rezero&#45;wait&#45;ms</code> — not listed as required here**

<div id="dt-04e4a5a2829de7652087">
<p style="white-space: pre-wrap">Time to wait after issuing a rezero command.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-e54e1c86185090d5d7e9"></a> <span id="dt-d1a524e6d73c550a63c9"><code>&#34;reg&#34;</code></span>

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

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

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

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

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

<code>true</code>

Allowed by this rule.

<div id="dt-e50ae447febb41f2a9cc">
<p style="white-space: pre-wrap">Other functions, not documented yet.</p>
</div>

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

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

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

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

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

**Required in this object (<code>required</code>):** <a id="dt-1f3c6be25c43268f8a8f"></a> <span id="dt-8248db7d3d3c7ff3389d"><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>

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

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

<code>false</code>

Not allowed by this rule.

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

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

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>&#47;schemas&#47;spi&#47;spi&#45;peripheral&#45;props&#46;yaml&#35;</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-d1402748b5f4caf0b18a"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-9b74ad9882646c4a5116"><code>&#34;syna&#44;rmi4&#45;i2c&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-ef5ea56ac455f1a68263"></a>
> >
> > **<code>spi&#45;rx&#45;delay&#45;us</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-7c2cbd99aef36ef027f8"></a>
> >
> > **<code>spi&#45;tx&#45;delay&#45;us</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
>
> <a id="dt-56ef1e95d4edd6e6f24c"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-f0255e6a88a00985d33b"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-12c76acba7b3a23c367f"></a>
> >
> > **<code>syna&#44;reset&#45;delay&#45;ms</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-9f3a377df10ce770a558"></a>
> >
> > **<code>syna&#44;startup&#45;delay&#45;ms</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

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

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/input/linux-event-codes.h&gt;
#include &lt;dt-bindings/interrupt-controller/irq.h&gt;

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

    touchscreen@20 {
        compatible = "syna,rmi4-i2c";
        reg = &lt;0x20&gt;;
        interrupt-parent = &lt;&amp;gpx1&gt;;
        interrupts = &lt;6 IRQ_TYPE_EDGE_FALLING&gt;;

        syna,startup-delay-ms = &lt;100&gt;;
        vdd-supply = &lt;&amp;tsp_vdd&gt;;
        vio-supply = &lt;&amp;ldo32_reg&gt;;

        pinctrl-0 = &lt;&amp;touch_irq&gt;;
        pinctrl-names = "default";
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;0&gt;;

        rmi4-f01@1 {
            reg = &lt;0x1&gt;;
            syna,nosleep-mode = &lt;1&gt;;
        };

        rmi4-f12@12 {
            reg = &lt;0x12&gt;;
            syna,sensor-type = &lt;1&gt;;
        };

        rmi4-f1a@1a {
            reg = &lt;0x1a&gt;;
            linux,keycodes = &lt;KEY_BACK KEY_HOME KEY_MENU&gt;;
        };
    };
};
</code></pre>

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

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

    touchscreen@0 {
        compatible = "syna,rmi4-spi";
        reg = &lt;0x0&gt;;
        interrupt-parent = &lt;&amp;gpx1&gt;;
        interrupts = &lt;6 IRQ_TYPE_EDGE_FALLING&gt;;

        spi-max-frequency = &lt;4000000&gt;;
        spi-rx-delay-us = &lt;30&gt;;
        spi-cpha;
        spi-cpol;

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

        rmi4-f01@1 {
            reg = &lt;0x1&gt;;
            syna,nosleep-mode = &lt;1&gt;;
        };

        rmi4-f11@11 {
            reg = &lt;0x11&gt;;
            touchscreen-inverted-y;
            syna,sensor-type = &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>
