# Generic Ethernet Connector

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

> Device-tree binding reference for Generic Ethernet Connector.

<!-- 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;ethernet&#45;connector&#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;Maxime Chevallier &#60;maxime&#46;chevallier&#64;bootlin&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">An Ethernet Connector represents the output of a network component such as a PHY, an Ethernet controller with no PHY, or an SFP module.</p>
</div>

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

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

<a id="dt-236d1008b0aa9326b3e7"></a>

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

<div id="dt-a8425f0eebaa0ab492df">
<p style="white-space: pre-wrap">Defines the number of BaseT pairs that are used on the connector.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-ea621dadba163049ba20">[<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-65a7cce18ccf04e548c8"></a> <span id="dt-d1643203f2834da91e23"><code>1</code></span>, <span id="dt-325abb7eab1e47f09fc2"><code>2</code></span>, <span id="dt-c7f1fdb8a18d4bb58d77"><code>4</code></span>

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

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

<div id="dt-27f0974eb8115d5f6ee7">
<p style="white-space: pre-wrap">The mediums, as defined in 802.3, that can be used on the port.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-f5f0e8caca8f79727eca"></a> <span id="dt-d288ec548960a56ecaab"><code>&#34;BaseT&#34;</code></span>, <span id="dt-111d792ddfca76a471d5"><code>&#34;BaseK&#34;</code></span>, <span id="dt-ebb962345eee2a440c79"><code>&#34;BaseS&#34;</code></span>, <span id="dt-d00fb398e5628aec3f13"><code>&#34;BaseC&#34;</code></span>, <span id="dt-ae1e31177a082607322a"><code>&#34;BaseL&#34;</code></span>, <span id="dt-0c4bc404e20c71ba97e4"><code>&#34;BaseD&#34;</code></span>, <span id="dt-1881ecc1b918272427da"><code>&#34;BaseE&#34;</code></span>, <span id="dt-5ef94769fd6da5ff0e22"><code>&#34;BaseF&#34;</code></span>, <span id="dt-fe9cf0c86b019210f7e7"><code>&#34;BaseV&#34;</code></span>, <span id="dt-6836aa08b8cb47a5f863"><code>&#34;BaseMLD&#34;</code></span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;media&#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-b5b627cf6107f0f233fc"></a>
> >
> > **<code>media</code> — not listed as required here**
> >
> > **Exact value (<code>const</code>):** <span id="dt-024e130978e5fcaa2c2e"><code>&#34;BaseT&#34;</code></span>
>
> <a id="dt-1ba25143802b75b74702"></a>
>
> #### When the condition matches (<code>then</code>)
>
> > **Required in this object (<code>required</code>):** <a id="dt-b0b2f2243ff9a854f151"></a> <span id="dt-4e9ead0e861b67997dec"><code>&#34;pairs&#34;</code></span>
>
> <a id="dt-f985d6aaa3f73a650205"></a>
>
> #### When the condition does not match (<code>else</code>)
>
> > <a id="dt-0b56c96a40292905ded0"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-1345ffadb89cb4dd9b3d"></a>
> >
> > **<code>pairs</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>true</code>

Allowed by this rule.

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