# Marvell Armada CP110/CP115 UTMI PHY

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

> Device-tree binding reference for Marvell Armada CP110/CP115 UTMI 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;phy&#47;marvell&#44;armada&#45;cp110&#45;utmi&#45;phy&#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;Konstantin Porotchkin &#60;kostap&#64;marvell&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">On Armada 7k/8k and CN913x, there are two host and one device USB controllers. Each of two exiting UTMI PHYs could be connected to either USB host or USB device controller. The USB device controller can only be connected to a single UTMI PHY port 0.H----- USB HOST0 UTMI PHY0  --------/ 0.D-----0 \------ USB DEVICE 1.D-----1 UTMI PHY1  --------\ 1.H----- USB HOST1</p>
</div>

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

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

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

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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;marvell&#44;cp110&#45;utmi&#45;phy&#34;</code></span>

<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-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-e6e6af09ab617572731b"><code>1</code></span>

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

### <code>&#35;size&#45;cells</code> — required here

**Exact value (<code>const</code>):** <span id="dt-793e842f88ef513a8f93"><code>0</code></span>

<a id="dt-79c12c7ea27da3e75031"></a>

### <code>marvell&#44;system&#45;controller</code> — required here

<div id="dt-45622b00e96a8e16f2b1">
<p style="white-space: pre-wrap">Phandle to the system controller node</p>
</div>

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

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

### <code>swap&#45;dx&#45;lanes</code> — not listed as required here

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

<div id="dt-cd5f7f2c8a94b95ba86f">
<p style="white-space: pre-wrap">Specifies the ports which will swap the differential-pair (D+/D-),
default is not-swapped.</p>
</div>

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

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-56acab52e823b74b215f"></a>

### <code>&#94;usb&#45;phy&#64;&#91;0&#124;1&#93;&#36;</code> — name matches this regular expression

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

<div id="dt-25eb29c0e35021d9c6cd">
<p style="white-space: pre-wrap">Each UTMI PHY port must be represented as a sub-node.</p>
</div>

<a id="dt-2a3bcc3d73bdfb6dc703"></a>

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

<a id="dt-7f1ec15650ab0986958e"></a>

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

<div id="dt-51dc4375838f764227b7">
<p style="white-space: pre-wrap">phy port index.</p>
</div>

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

<a id="dt-08f4ddf4392ac52ab94d"></a>

**<code>&#35;phy&#45;cells</code> — required here**

**Exact value (<code>const</code>):** <span id="dt-8136eab6ccf71249338a"><code>0</code></span>

**Required in this object (<code>required</code>):** <a id="dt-1be47da7da48c6a1b3aa"></a> <span id="dt-2fa598fb1ef69dbe40f8"><code>&#34;reg&#34;</code></span>, <span id="dt-838ad701cc9359482282"><code>&#34;&#35;phy&#45;cells&#34;</code></span>

<a id="dt-008ac743274d086d6f55"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

**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;&#35;address&#45;cells&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;&#35;size&#45;cells&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;marvell&#44;system&#45;controller&#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">cp0_utmi: utmi@580000 {
  compatible = "marvell,cp110-utmi-phy";
  reg = &lt;0x580000 0x2000&gt;;
  marvell,system-controller = &lt;&amp;cp0_syscon0&gt;;
  #address-cells = &lt;1&gt;;
  #size-cells = &lt;0&gt;;

  cp0_utmi0: usb-phy@0 {
    reg = &lt;0&gt;;
    #phy-cells = &lt;0&gt;;
  };

  cp0_utmi1: usb-phy@1 {
    reg = &lt;1&gt;;
    #phy-cells = &lt;0&gt;;
  };
};

cp0_usb3_0 {
  usb-phy = &lt;&amp;cp0_usb3_0_phy0&gt;;
  phys = &lt;&amp;cp0_utmi0&gt;;
  phy-names = "utmi";
  /* UTMI0 is connected to USB host controller (default mode) */
  dr_mode = "host";
};

cp0_usb3_1 {
  usb-phy = &lt;&amp;cp0_usb3_0_phy1&gt;;
  phys = &lt;&amp;cp0_utmi1&gt;;
  phy-names = "utmi";
  /* UTMI1 is connected to USB device controller */
  dr_mode = "peripheral";
};
</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 50:</strong> <span> Required child nodes:</span></p>

</details>
