# Socionext UniPhier USB2 PHY

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

> Device-tree binding reference for Socionext UniPhier USB2 PHY.

<!-- 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;phy&#47;socionext&#44;uniphier&#45;usb2&#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>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">This describes the devicetree bindings for PHY interface built into
USB2 controller implemented on Socionext UniPhier SoCs.
Pro4 SoC has both USB2 and USB3 host controllers, however, this USB3
controller doesn't include its own High-Speed PHY. This needs to specify
USB2 PHY instead of USB3 HS-PHY.</p>
</div>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Kunihiko Hayashi &#60;hayashi&#46;kunihiko&#64;socionext&#46;com&#62;&#34;</code></span>

<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;socionext&#44;uniphier&#45;pro4&#45;usb2&#45;phy&#34;</code></span>, <span id="dt-0d17ba1dd2e75413f7d4"><code>&#34;socionext&#44;uniphier&#45;ld11&#45;usb2&#45;phy&#34;</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-e92215bd3c2f5373b164"></a>

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

<a id="dt-785471f7e72539b2ce84"></a>

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

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

<a id="dt-3654865b25bb647de5df"></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-3795c91ea73f13137182"></a>

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

<a id="dt-238621448f33cb38747d"></a>

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

**Minimum value (<code>minimum</code>):** <span id="dt-ea2f546356acab7268c3"><code>0</code></span>

**Maximum value (<code>maximum</code>):** <span id="dt-42b33da2191922b840f5"><code>3</code></span>

<div id="dt-d952b68a007ba402bc39">
<p style="white-space: pre-wrap">The ID number for the PHY</p>
</div>

<a id="dt-920ab85f8c20fb96bd7b"></a>

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

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

<a id="dt-59fd853a6318fc432416"></a>

**<code>vbus&#45;supply</code> — not listed as required here**

<div id="dt-61bbe1dbafb1981d928b">
<p style="white-space: pre-wrap">A phandle to the regulator for USB VBUS, only for USB host</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-4d5d0216ab33bb9e15ac"></a> <span id="dt-e92eb7790e058be17fc1"><code>&#34;reg&#34;</code></span>, <span id="dt-bde5e84fe20d4495df38"><code>&#34;&#35;phy&#45;cells&#34;</code></span>

**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;&#35;address&#45;cells&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;&#35;size&#45;cells&#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">// The UniPhier usb2-phy should be a subnode of a "syscon" compatible node.

usb-hub {
    compatible = "socionext,uniphier-ld11-usb2-phy";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

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

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

    usb_phy2: phy@2 {
        reg = &lt;2&gt;;
        #phy-cells = &lt;0&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>
