# Analog Devices ADIN1200/ADIN1300 PHY

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

> Device-tree binding reference for Analog Devices ADIN1200/ADIN1300 PHY.

<!-- SPDX-License-Identifier: GPL-2.0+ -->


<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;adi&#44;adin&#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;Marcelo Schmitt &#60;marcelo&#46;schmitt&#64;analog&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Bindings for Analog Devices Industrial Ethernet PHYs</p>
</div>

<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>ethernet&#45;phy&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-net/ethernet-phy.md#dt-root>)</span>

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

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

<a id="dt-70e3db69a3fe65dd9303"></a>

### <code>adi&#44;rx&#45;internal&#45;delay&#45;ps</code> — not listed as required here

<div id="dt-1856de425d40b10c3f2e">
<p style="white-space: pre-wrap">RGMII RX Clock Delay used only when PHY operates in RGMII mode with
internal delay (phy-mode is 'rgmii-id' or 'rgmii-rxid') in pico-seconds.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-6ed33b72921300e9cfc8"></a> <span id="dt-2c01d0b028c8429360a3"><code>1600</code></span>, <span id="dt-ccbfc35aac13f876dfac"><code>1800</code></span>, <span id="dt-391af4c296bd6f977f86"><code>2000</code></span>, <span id="dt-1d94205205acf3a529c3"><code>2200</code></span>, <span id="dt-63837a6b80655b8ebe05"><code>2400</code></span>

**Default value (<code>default</code>):** <span id="dt-dbc6a25f3625efebe667"><code>2000</code></span>

<a id="dt-814a405aac5be99dcd95"></a>

### <code>adi&#44;tx&#45;internal&#45;delay&#45;ps</code> — not listed as required here

<div id="dt-e36cfa44baf809dae8aa">
<p style="white-space: pre-wrap">RGMII TX Clock Delay used only when PHY operates in RGMII mode with
internal delay (phy-mode is 'rgmii-id' or 'rgmii-txid') in pico-seconds.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-d48223819a0956693b06"></a> <span id="dt-8202b4d3c356b440551b"><code>1600</code></span>, <span id="dt-931ea00c7d3e1a6a430b"><code>1800</code></span>, <span id="dt-08eb23cc242b203aa864"><code>2000</code></span>, <span id="dt-04a757af3d3b5021dbd2"><code>2200</code></span>, <span id="dt-f09e3e797087e1cd734e"><code>2400</code></span>

**Default value (<code>default</code>):** <span id="dt-203c90e0ac9d3e9e0d37"><code>2000</code></span>

<a id="dt-387e3f40b822e729453e"></a>

### <code>adi&#44;fifo&#45;depth&#45;bits</code> — not listed as required here

<div id="dt-297adee3f1aa62d9249e">
<p style="white-space: pre-wrap">When operating in RMII mode, this option configures the FIFO depth.</p>
</div>

**Allowed values (<code>enum</code>):** <a id="dt-cfb7a1a62d563677f425"></a> <span id="dt-ff0c0dda04dbbc3675c6"><code>4</code></span>, <span id="dt-27c30d434801e680cfdf"><code>8</code></span>, <span id="dt-2118f55c1b0d1197c071"><code>12</code></span>, <span id="dt-79dd9f5237e5ba6e060a"><code>16</code></span>, <span id="dt-24acbc0d00923768620a"><code>20</code></span>, <span id="dt-69dbbd2a95ed983c82fc"><code>24</code></span>

**Default value (<code>default</code>):** <span id="dt-8fa58f1865f25a58134c"><code>8</code></span>

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

### <code>adi&#44;phy&#45;output&#45;clock</code> — not listed as required here

<div id="dt-0db886a62d903c14357a">
<p style="white-space: pre-wrap">Select clock output on GP_CLK pin. Two clocks are available:
A 25MHz reference and a free-running 125MHz.
The phy can alternatively automatically switch between the reference and
the 125MHz clocks based on its internal state.</p>
</div>

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

**Allowed values (<code>enum</code>):** <a id="dt-fa6060393cecff63d8b1"></a> <span id="dt-aa2b8460cf648a10bb1d"><code>&#34;25mhz&#45;reference&#34;</code></span>, <span id="dt-e657031f67f636d06383"><code>&#34;125mhz&#45;free&#45;running&#34;</code></span>, <span id="dt-b3cdc0fff04afa481453"><code>&#34;adaptive&#45;free&#45;running&#34;</code></span>

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

### <code>adi&#44;phy&#45;output&#45;reference&#45;clock</code> — not listed as required here

<div id="dt-738d9f85c8bfb592656f">
<p style="white-space: pre-wrap">Enable 25MHz reference clock output on CLK25_REF pin.</p>
</div>

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

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

### <code>adi&#44;low&#45;cmode&#45;impedance</code> — not listed as required here

<div id="dt-8d3eed1dc2c27e45cc1d">
<p style="white-space: pre-wrap">Configure PHY for the lowest common-mode impedance on the receive pair
for 100BASE-TX. This is suited for capacitive coupled applications and
other applications where there may be a path for high common-mode noise
to reach the PHY.
If not present, by default the PHY is configured for normal termination
(zero-power termination) mode.</p>
<pre><code>Note: There is a trade-off of 12 mW increased power consumption with
  the lowest common-mode impedance setting, but in all cases the
  differential impedance is 100 ohms.</code></pre>
</div>

**Value type (<code>type</code>):** <span id="dt-b38004b992fb92eded30"><code>&#34;boolean&#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-1a130cabaa8a47b058bf"></a>

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">ethernet {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    phy-mode = "rgmii-id";

    ethernet-phy@0 {
        reg = &lt;0&gt;;

        adi,rx-internal-delay-ps = &lt;1800&gt;;
        adi,tx-internal-delay-ps = &lt;2200&gt;;
    };
};
</code></pre>

<pre id="dt-bae0d43ea48e35208b4a"><code class="language-dts">ethernet {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    phy-mode = "rmii";

    ethernet-phy@1 {
        reg = &lt;1&gt;;

        adi,fifo-depth-bits = &lt;16&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+</span></p>

</details>
