# Marvell International Ltd. NCI NFC controller

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Network bindings / nfc_

> Device-tree binding reference for Marvell International Ltd. NCI NFC 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;net&#47;nfc&#47;marvell&#44;nci&#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;Krzysztof Kozlowski &#60;krzk&#64;kernel&#46;org&#62;&#34;</code></span>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;marvell&#44;nfc&#45;i2c&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;marvell&#44;nfc&#45;spi&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;marvell&#44;nfc&#45;uart&#34;</code></span>

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

### <code>hci&#45;muxed</code> — not listed as required here

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

<div id="dt-4239a55194f4e8a54eb1">
<p style="white-space: pre-wrap">Specifies that the chip is muxing NCI over HCI frames</p>
</div>

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

### <code>reset&#45;n&#45;io</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4e042fefa91ee7a593bd">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;phandle&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-8f5710c4314b4caa4970>)</span>

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

<div id="dt-cd3c286969078ec79a7d">
<p style="white-space: pre-wrap">Output GPIO pin used to reset the chip (active low)</p>
</div>

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

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

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

<div id="dt-06475cd2f52ab61ec74c">
<p style="white-space: pre-wrap">For I2C type of connection. Specifies that the chip read event shall be
triggered on falling edge.</p>
</div>

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

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

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

<div id="dt-b544dfbc217e18c68d49">
<p style="white-space: pre-wrap">For I2C type of connection.  Specifies that the chip read event shall be
triggered on rising edge.</p>
</div>

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

### <code>break&#45;control</code> — not listed as required here

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

<div id="dt-cc50fa98ba8dfec07085">
<p style="white-space: pre-wrap">For UART type of connection. Specifies that the chip needs specific break
management.</p>
</div>

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

### <code>flow&#45;control</code> — not listed as required here

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

<div id="dt-4cf5b9ab305b8cc81837">
<p style="white-space: pre-wrap">For UART type of connection. Specifies that the chip is using RTS/CTS.</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.

**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-ebe43a424f4497a78746"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8997992e7087b5549d86"><code>&#34;marvell&#44;nfc&#45;i2c&#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-fef556b03b99864d6e8f"></a>
> >
> > **<code>break&#45;control</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-1212133217fd5c38ee81"></a>
> >
> > **<code>flow&#45;control</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-fef0240f955ebfd29fe2"></a>
> >
> > **<code>spi&#45;cpha</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-1d493248c2e9372cc53a"></a>
> >
> > **<code>spi&#45;cpol</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.
> >
> > **Required in this object (<code>required</code>):** <a id="dt-b0b2f2243ff9a854f151"></a> <span id="dt-4e9ead0e861b67997dec"><code>&#34;reg&#34;</code></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;marvell&#44;nfc&#45;spi&#34;</code></span>
>
> <a id="dt-0971d01a730acc20e97a"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-31f358ea7df9f0e0fa97">[<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-26d1c84fcc55a7d91dea"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-c5fe378baefd8abb6482"></a>
> >
> > **<code>break&#45;control</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-ea65bd3bbffbc3b50631"></a>
> >
> > **<code>flow&#45;control</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-8a09fecba222f1996fe9"></a>
> >
> > **<code>i2c&#45;int&#45;falling</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-7d1d9fdb250649a16d72"></a>
> >
> > **<code>i2c&#45;int&#45;rising</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > **Required in this object (<code>required</code>):** <a id="dt-ee96a18d4bb2a9d39bd9"></a> <span id="dt-96ee7f71687cd234a9f8"><code>&#34;reg&#34;</code></span>

<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-c8f14712d9ed2dde9441"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Exact value (<code>const</code>):** <span id="dt-8cd5c6ac7cc13c2d9acf"><code>&#34;marvell&#44;nfc&#45;uart&#34;</code></span>
>
> <a id="dt-86c371e5831ff1f84ce5"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > <a id="dt-4b2e0558620eefde94e1"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-415092f47543d3275631"></a>
> >
> > **<code>i2c&#45;int&#45;falling</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-a631f213969917524f1e"></a>
> >
> > **<code>i2c&#45;int&#45;rising</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-3a46c9d3a981c9cf87fd"></a>
> >
> > **<code>interrupts</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-005d2e2f9965a621986d"></a>
> >
> > **<code>spi&#45;cpha</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-2d0cb48b4c424849dbc1"></a>
> >
> > **<code>spi&#45;cpol</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.
> >
> > <a id="dt-67cef77caabd74afffd0"></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-b5c94fac3a56b4f9f0e9"></a>
> >
> > **<code>reg</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

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

    nfc@8 {
        compatible = "marvell,nfc-i2c";
        reg = &lt;0x8&gt;;

        interrupt-parent = &lt;&amp;gpio3&gt;;
        interrupts = &lt;21 IRQ_TYPE_EDGE_RISING&gt;;

        i2c-int-rising;

        reset-n-io = &lt;&amp;gpio3 19 GPIO_ACTIVE_LOW&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;;

    nfc@0 {
        compatible = "marvell,nfc-spi";
        reg = &lt;0&gt;;

        spi-max-frequency = &lt;3000000&gt;;
        spi-cpha;
        spi-cpol;

        interrupt-parent = &lt;&amp;gpio1&gt;;
        interrupts = &lt;17 IRQ_TYPE_EDGE_RISING&gt;;

        reset-n-io = &lt;&amp;gpio3 19 GPIO_ACTIVE_LOW&gt;;
    };
};
</code></pre>

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

uart {
    nfc {
        compatible = "marvell,nfc-uart";

        reset-n-io = &lt;&amp;gpio3 16 GPIO_ACTIVE_LOW&gt;;

        hci-muxed;
        flow-control;
    };
};
</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>
