# StarFive JH7110 PCIe 2.0 PHY

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

> Device-tree binding reference for StarFive JH7110 PCIe 2.0 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;starfive&#44;jh7110&#45;pcie&#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;Minda Chen &#60;minda&#46;chen&#64;starfivetech&#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

**Exact value (<code>const</code>):** <span id="dt-1765195bf8e86c3ccec6"><code>&#34;starfive&#44;jh7110&#45;pcie&#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-9e9fb083c3bbc6075c67"></a>

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

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

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

### <code>starfive&#44;sys&#45;syscon</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b75ac25112885162def1">[<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-4aaeb02b59d3d6e412bd"></a>

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

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

**Item 1**

> <a id="dt-f76842e91ab2423c13d6"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-e37248f7e88ab798d5b3"></a>
>
> **Item 1**
>
> > <div id="dt-ca1691e6738d94706f07">
> > <p style="white-space: pre-wrap">phandle to System Register Controller sys_syscon node.</p>
> > </div>
>
> <a id="dt-28f7c0c757e281a8e7d3"></a>
>
> **Item 2**
>
> > <div id="dt-b97c2dbd50fe1560e506">
> > <p style="white-space: pre-wrap">PHY connect offset of SYS_SYSCONSAIF__SYSCFG register for USB PHY.</p>
> > </div>

<div id="dt-80b628dc4588396e3088">
<p style="white-space: pre-wrap">The phandle to System Register Controller syscon node and the PHY connect offset of SYS_SYSCONSAIF__SYSCFG register. Connect PHY to USB3 controller.</p>
</div>

<a id="dt-799695352ae5b1b785df"></a>

### <code>starfive&#44;stg&#45;syscon</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-96522fc4df351bd7a850">[<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-4dd98b52430a80740e0d"></a>

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

<a id="dt-1d4f780e64bcdc81dd18"></a>

**Item 1**

> <a id="dt-01cd0fb91775bc316995"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-93faf6a9f99ceecb85c6"></a>
>
> **Item 1**
>
> > <div id="dt-11263b412c4005549925">
> > <p style="white-space: pre-wrap">phandle to System Register Controller stg_syscon node.</p>
> > </div>
>
> <a id="dt-b2ea4503478f4d0b97ee"></a>
>
> **Item 2**
>
> > <div id="dt-3e0468064381ba72e561">
> > <p style="white-space: pre-wrap">PHY mode offset of STG_SYSCONSAIF__SYSCFG register.</p>
> > </div>
>
> <a id="dt-dd9d5a2b0f1ce718ff1a"></a>
>
> **Item 3**
>
> > <div id="dt-48ea46311b5853b39810">
> > <p style="white-space: pre-wrap">PHY enable for USB offset of STG_SYSCONSAIF__SYSCFG register.</p>
> > </div>

<div id="dt-601fccdcd2466760d47b">
<p style="white-space: pre-wrap">The phandle to System Register Controller syscon node and the offset of STG_SYSCONSAIF__SYSCFG register for PCIe PHY. Total 2 regsisters offset.</p>
</div>

**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;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">phy@10210000 {
    compatible = "starfive,jh7110-pcie-phy";
    reg = &lt;0x10210000 0x10000&gt;;
    #phy-cells = &lt;0&gt;;
    starfive,sys-syscon = &lt;&amp;sys_syscon 0x18&gt;;
    starfive,stg-syscon = &lt;&amp;stg_syscon 0x148 0x1f4&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>
