# Freescale Frame Manager Port Device

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

> Device-tree binding reference for Freescale Frame Manager Port Device.

<!-- 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;fsl&#44;fman&#45;port&#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;Frank Li &#60;Frank&#46;Li&#64;nxp&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<pre><code>The Frame Manager (FMan) supports several types of hardware ports:
  Ethernet receiver (RX)
  Ethernet transmitter (TX)
  Offline/Host command (O/H)</code></pre>
</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;fsl&#44;fman&#45;v2&#45;port&#45;oh&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;fsl&#44;fman&#45;v2&#45;port&#45;rx&#34;</code></span>, <span id="dt-88ff8a31b3bd20d1ddec"><code>&#34;fsl&#44;fman&#45;v2&#45;port&#45;tx&#34;</code></span>, <span id="dt-76b67e65b51f033b1109"><code>&#34;fsl&#44;fman&#45;v3&#45;port&#45;oh&#34;</code></span>, <span id="dt-498d24c42855e222b0fd"><code>&#34;fsl&#44;fman&#45;v3&#45;port&#45;rx&#34;</code></span>, <span id="dt-216696827b315708886c"><code>&#34;fsl&#44;fman&#45;v3&#45;port&#45;tx&#34;</code></span>

<a id="dt-19cbc5b7e5dabb16c580"></a>

### <code>cell&#45;index</code> — required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-096684b9829d7fb87075">[<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-8d4ab3d90cbbdd65cb67">
<p style="white-space: pre-wrap">Specifies the hardware port id. Each hardware port on the FMan has its own hardware PortID. Super set of all hardware Port IDs available at FMan Reference Manual under "FMan Hardware Ports in Freescale Devices" table.
Each hardware port is assigned a 4KB, port-specific page in the FMan hardware port memory region (which is part of the FMan memory map). The first 4 KB in the FMan hardware ports memory region is used for what are called common registers. The subsequent 63 4KB pages are allocated to the hardware ports. The page of a specific port is determined by the cell-index.</p>
</div>

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

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

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

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

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

**Item 1**

> <div id="dt-e773fec0b410a1422253">
> <p style="white-space: pre-wrap">There is one reg region describing the port configuration registers.</p>
> </div>

<a id="dt-14ca33ac9426a9343835"></a>

### <code>fsl&#44;fman&#45;10g&#45;port</code> — not listed as required here

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

<div id="dt-828ee506e94dafa478e2">
<p style="white-space: pre-wrap">The default port rate is 1G. If this property exists, the port is s 10G port.</p>
</div>

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

### <code>fsl&#44;fman&#45;best&#45;effort&#45;port</code> — not listed as required here

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

<div id="dt-9ecd8bd99a2132bfb2bc">
<p style="white-space: pre-wrap">The default port rate is 1G. Can be defined only if 10G-support is set. This property marks a best-effort 10G port (10G port that may not be capable of line rate).</p>
</div>

**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;cell&#45;index&#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">port@a8000 {
    compatible = "fsl,fman-v2-port-tx";
    reg = &lt;0xa8000 0x1000&gt;;
    cell-index = &lt;0x28&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>
