# HiSilicon STB PCIE/SATA/USB3 PHY

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

> Device-tree binding reference for HiSilicon STB PCIE/SATA/USB3 PHY.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<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;hisilicon&#44;hi3798cv200&#45;combphy&#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;Shawn Guo &#60;shawn&#46;guo&#64;linaro&#46;org&#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;hisilicon&#44;hi3798cv200&#45;combphy&#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

<div id="dt-fe2c7f9201e8406fc747">
<p style="white-space: pre-wrap">The cell contains the PHY mode</p>
</div>

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

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

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

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

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

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

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

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

### <code>hisilicon&#44;fixed&#45;mode</code> — not listed as required here

<div id="dt-3a51e9e3e71f687a941e">
<p style="white-space: pre-wrap">If the phy device doesn't support mode select but a fixed mode setting, the property should be present to specify the particular mode.</p>
</div>

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

**Allowed values (<code>enum</code>):** <a id="dt-63661cf8b3cf702eefda"></a> <span id="dt-757f1cc05e7a74332424"><code>1</code></span>, <span id="dt-89c6ece7ba563af375f1"><code>2</code></span>, <span id="dt-69a6944c2c0acfe94fdc"><code>4</code></span>

<a id="dt-7874ca87333d8701d6e1"></a>

### <code>hisilicon&#44;mode&#45;select&#45;bits</code> — not listed as required here

<div id="dt-ba947618dc8d79d4a4d6">
<p style="white-space: pre-wrap">If the phy device support mode select, this property should be present to specify the register bits in peripheral controller.</p>
</div>

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

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

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

**Item 1**

> <div id="dt-45a667e4737cb927dfa3">
> <p style="white-space: pre-wrap">register_offset</p>
> </div>

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

**Item 2**

> <div id="dt-2ce16f00d0a4f5204523">
> <p style="white-space: pre-wrap">bit shift</p>
> </div>

<a id="dt-41d1e3c761de4f5633a9"></a>

**Item 3**

> <div id="dt-afbdedc80fc71e8248ea">
> <p style="white-space: pre-wrap">bit mask</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>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;clocks&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;resets&#34;</code></span>

<a id="dt-51356188806d31ca2021"></a>

## Exactly one of these rules must match (<code>oneOf</code>)

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

### Rule 1

> **Required in this object (<code>required</code>):** <a id="dt-48cc38ffec184df79a62"></a> <span id="dt-bbd3b687ebb435349af2"><code>&#34;hisilicon&#44;fixed&#45;mode&#34;</code></span>

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

### Rule 2

> **Required in this object (<code>required</code>):** <a id="dt-686ce4562589647d257c"></a> <span id="dt-8060cb7221f215eec82f"><code>&#34;hisilicon&#44;mode&#45;select&#45;bits&#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.

## 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</span></p>

<p id="dt-comment-1"><strong>Line 33:</strong> <span> SATA, PCIE, USB3</span></p>

</details>
