# STMicroelectronics STiH407 USB PHY controller

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

> Device-tree binding reference for STMicroelectronics STiH407 USB PHY controller.

<!-- 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;st&#44;stih407&#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>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;Patrice Chotard &#60;patrice&#46;chotard&#64;foss&#46;st&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">The USB picoPHY device is the PHY for both USB2 and USB3 host controllers (when controlling usb2/1.1 devices) available on STiH407 SoC family from STMicroelectronics.</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;st&#44;stih407&#45;usb2&#45;phy&#34;</code></span>

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

### <code>st&#44;syscfg</code> — required here

<div id="dt-cd46a6ff2c24fa7b007e">
<p style="white-space: pre-wrap">Phandle to the syscfg bank</p>
</div>

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

<a id="dt-39b97864658ecd135d01"></a>

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

<a id="dt-6ad68663918ac4fc2b48"></a>

**Item 1**

> <a id="dt-e000ffb148c125ff149f"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-e363fbf2ab4273d2f9a8"></a>
>
> **Item 1**
>
> > <div id="dt-abddebfae4612558c743">
> > <p style="white-space: pre-wrap">phandle to syscfg</p>
> > </div>
>
> <a id="dt-1bad0b4194f367d52e8e"></a>
>
> **Item 2**
>
> > <div id="dt-0601795acb4be8e69e5a">
> > <p style="white-space: pre-wrap">phyparam register offset</p>
> > </div>
>
> <a id="dt-7a27adb42d5945106b4b"></a>
>
> **Item 3**
>
> > <div id="dt-035abf4d0aa430e65a23">
> > <p style="white-space: pre-wrap">phyctrl register offset</p>
> > </div>

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

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

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

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

<a id="dt-95107b4b3584e917ff31"></a>

**Item 1**

> <div id="dt-3686a6620d670314acea">
> <p style="white-space: pre-wrap">Phandle and reset specifier pair for the whole phy.</p>
> </div>

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

**Item 2**

> <div id="dt-ea6a40f03c50681315cc">
> <p style="white-space: pre-wrap">Phandle and reset specifier pair for the port.</p>
> </div>

<a id="dt-563c20491090a57ac4c9"></a>

### <code>reset&#45;names</code> — required here

<a id="dt-353fc881e5c58d1dcba1"></a>

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

<a id="dt-5629342117bd5a110a5b"></a>

**Item 1**

> **Exact value (<code>const</code>):** <span id="dt-00c19fce1fea453eab02"><code>&#34;global&#34;</code></span>

<a id="dt-80813f149d5a57545875"></a>

**Item 2**

> **Exact value (<code>const</code>):** <span id="dt-bff27a7e8c043853e284"><code>&#34;port&#34;</code></span>

<a id="dt-9e9fb083c3bbc6075c67"></a>

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

**Exact value (<code>const</code>):** <span id="dt-1ecd3d01b2c1b237d666"><code>0</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;st&#44;syscfg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;resets&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;reset&#45;names&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;&#35;phy&#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">#include &lt;dt-bindings/reset/stih407-resets.h&gt;
usb-phy {
    compatible = "st,stih407-usb2-phy";
    #phy-cells = &lt;0&gt;;
    st,syscfg = &lt;&amp;syscfg_core 0x100 0xf4&gt;;
    resets = &lt;&amp;softreset STIH407_PICOPHY_SOFTRESET&gt;,
             &lt;&amp;picophyreset STIH407_PICOPHY0_RESET&gt;;
    reset-names = "global", "port";
};
</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>
