# TI DP83867 ethernet PHY

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

> Device-tree binding reference for TI DP83867 ethernet PHY.

<!-- SPDX-License-Identifier: (GPL-2.0+ 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;ti&#44;dp83867&#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>

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

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Andrew Davis &#60;afd&#64;ti&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The DP83867 device is a robust, low power, fully featured Physical Layer
transceiver with integrated PMD sublayers to support 10BASE-Te, 100BASE-TX
and 1000BASE-T Ethernet protocols.</p>
<p style="white-space: pre-wrap">The DP83867 is designed for easy implementation of 10/100/1000 Mbps Ethernet
LANs. It interfaces directly to twisted pair media via an external
transformer. This device interfaces directly to the MAC layer through the
IEEE 802.3 Standard Media Independent Interface (MII), the IEEE 802.3 Gigabit
Media Independent Interface (GMII) or Reduced GMII (RGMII).</p>
<pre><code>Specifications about the Ethernet PHY can be found at:
  https://www.ti.com/lit/gpn/dp83867ir</code></pre>
</div>

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

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

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

### <code>nvmem&#45;cells</code> — not listed as required here

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

<div id="dt-6e22bea212c5f15c1ddb">
<p style="white-space: pre-wrap">Nvmem data cell containing the value to write to the IO_IMPEDANCE_CTRL field of the IO_MUX_CFG register.</p>
</div>

<a id="dt-28ee7fd676493bbd8d08"></a>

### <code>nvmem&#45;cell&#45;names</code> — not listed as required here

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

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

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

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-30d2a590f6c0a447cfaa"><code>&#34;io&#95;impedance&#95;ctrl&#34;</code></span>

<a id="dt-620c07ebd2a4aa824d3b"></a>

### <code>ti&#44;min&#45;output&#45;impedance</code> — not listed as required here

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

<div id="dt-8dfec1f4972c77afeb97">
<p style="white-space: pre-wrap">MAC Interface Impedance control to set the programmable output impedance
to a minimum value (35 ohms).</p>
</div>

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

### <code>ti&#44;max&#45;output&#45;impedance</code> — not listed as required here

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

<div id="dt-8f5607d97c30da28b559">
<pre><code>MAC Interface Impedance control to set the programmable output impedance
to a maximum value (70 ohms).
Note: Specifying an io_impedance_ctrl nvmem cell or one of the
  ti,min-output-impedance, ti,max-output-impedance properties
  are mutually exclusive. If more than one is present, an nvmem
  cell takes precedence over ti,max-output-impedance, which in
  turn takes precedence over ti,min-output-impedance.</code></pre>
</div>

<a id="dt-32fb0597a0aa6823f10f"></a>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-02de27648aea5e6ba453">[<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-74b9796b86169d212ff4">
<p style="white-space: pre-wrap">Transmitt FIFO depth see dt-bindings/net/ti-dp83867.h for values</p>
</div>

<a id="dt-21f06d74a526f9b7fd66"></a>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9898e4014fcfa6772ee6">[<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-d06a5ab3603fa520ed22">
<p style="white-space: pre-wrap">Receive FIFO depth see dt-bindings/net/ti-dp83867.h for values</p>
</div>

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

### <code>ti&#44;clk&#45;output&#45;sel</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-cbcbb518e1d969c64673">[<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-15446c11f5f79f08b4aa">
<p style="white-space: pre-wrap">Muxing option for CLK_OUT pin.  See dt-bindings/net/ti-dp83867.h
for applicable values. The CLK_OUT pin can also be disabled by this
property.  When omitted, the PHY's default will be left as is.</p>
</div>

<a id="dt-3349c7536322451672d9"></a>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-c2a15500fd646c70c58e">[<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-9fc7f74c2db5dbbefeba">
<p style="white-space: pre-wrap">RGMII Receive Clock Delay - see dt-bindings/net/ti-dp83867.h
for applicable values. Required only if interface type is
PHY_INTERFACE_MODE_RGMII_ID or PHY_INTERFACE_MODE_RGMII_RXID.</p>
</div>

<a id="dt-42be519a9bcf881968a1"></a>

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

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-a1bc1416880f162e83f5">[<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-ddbe84581aa7716f9b34">
<p style="white-space: pre-wrap">RGMII Transmit Clock Delay - see dt-bindings/net/ti-dp83867.h
for applicable values. Required only if interface type is
PHY_INTERFACE_MODE_RGMII_ID or PHY_INTERFACE_MODE_RGMII_TXID.</p>
<pre><code>  Note: If the interface type is PHY_INTERFACE_MODE_RGMII the TX/RX clock
    delays will be left at their default values, as set by the PHY's pin
    strapping. The default strapping will use a delay of 2.00 ns.  Thus
    PHY_INTERFACE_MODE_RGMII, by default, does not behave as RGMII with no
    internal delay, but as PHY_INTERFACE_MODE_RGMII_ID.  The device tree
    should use "rgmii-id" if internal delays are desired as this may be
    changed in future to cause "rgmii" mode to disable delays.</code></pre>
</div>

<a id="dt-60e1a3d90c7dbf48331e"></a>

### <code>ti&#44;dp83867&#45;rxctrl&#45;strap&#45;quirk</code> — not listed as required here

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

<div id="dt-5c3b0b6b07f9b77b4eab">
<p style="white-space: pre-wrap">This denotes the fact that the board has RX_DV/RX_CTRL pin strapped in
mode 1 or 2. To ensure PHY operation, there are specific actions that
software needs to take when this pin is strapped in these modes.
See data manual for details.</p>
</div>

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

### <code>ti&#44;sgmii&#45;ref&#45;clock&#45;output&#45;enable</code> — not listed as required here

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

<div id="dt-1771b4cc57a5649885a5">
<p style="white-space: pre-wrap">This denotes which SGMII configuration is used (4 or 6-wire modes).
Some MACs work with differential SGMII clock. See data manual for details.</p>
</div>

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

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

**Deprecated (<code>deprecated</code>):** <span id="dt-befb7318c40493eb95de"><code>true</code></span>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-f7b75ca55c518fa03e27">[<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-442c18c7bcf23cc02b99">
<p style="white-space: pre-wrap">Transmitt FIFO depth- see dt-bindings/net/ti-dp83867.h for applicable
values.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><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-1a130cabaa8a47b058bf"></a>

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

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">#include &lt;dt-bindings/net/ti-dp83867.h&gt;
mdio0 {
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;
  ethphy0: ethernet-phy@0 {
    reg = &lt;0&gt;;
    tx-fifo-depth = &lt;DP83867_PHYCR_FIFO_DEPTH_4_B_NIB&gt;;
    rx-fifo-depth = &lt;DP83867_PHYCR_FIFO_DEPTH_4_B_NIB&gt;;
    ti,max-output-impedance;
    ti,clk-output-sel = &lt;DP83867_CLK_O_SEL_CHN_A_RCLK&gt;;
    ti,rx-internal-delay = &lt;DP83867_RGMIIDCTL_2_25_NS&gt;;
    ti,tx-internal-delay = &lt;DP83867_RGMIIDCTL_2_75_NS&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+ OR BSD-2-Clause)</span></p>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright (C) 2019 Texas Instruments Incorporated</span></p>

</details>
