# ON Semiconductor Type-C DisplayPort ALT Mode Linear Redriver

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

> Device-tree binding reference for ON Semiconductor Type-C DisplayPort ALT Mode Linear Redriver.

<!-- 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;usb&#47;onnn&#44;nb7vpq904m&#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;Neil Armstrong &#60;neil&#46;armstrong&#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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;onnn&#44;nb7vpq904m&#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-5b20c41001654467bdea"></a>

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

<div id="dt-304923183fea32e69a40">
<p style="white-space: pre-wrap">power supply (1.8V)</p>
</div>

<a id="dt-0d068058a6f4b36b1505"></a>

### <code>enable&#45;gpios</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-8459239d22594ac44b38"></a>

### <code>orientation&#45;switch</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

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

### <code>retimer&#45;switch</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-638717a7c9bbf1878b7e"></a>

### <code>ports</code> — not listed as required here

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-253551a11be145495212">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;ports</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-638717a7c9bbf1878b7e>)</span>

<a id="dt-076265030fa616d9c245"></a>

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

<a id="dt-16a3f454af238f04e210"></a>

**<code>port&#64;0</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-4bf3c29e51dd1dcdbf80">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;port</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-1d845f0617b4072cef77>)</span>

<div id="dt-b1724f7738be96ef356e">
<p style="white-space: pre-wrap">Super Speed (SS) Output endpoint to the Type-C connector</p>
</div>

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

**<code>port&#64;1</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9faa1456d91cf714ff9d">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;&#36;defs&#47;port&#45;base</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-61dbefbf4cdd7cc4556a>)</span>

<div id="dt-0fa4b11c6410ab72ea2f">
<p style="white-space: pre-wrap">Super Speed (SS) Input endpoint from the Super-Speed PHY</p>
</div>

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

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

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

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

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

**<code>endpoint</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b05be6f25c006a034e08">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;&#36;defs&#47;endpoint&#45;base</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-7415ffe8e57fb59e2968>)</span>

<a id="dt-11cd44624c2541beba98"></a>

**Properties not evaluated by applicable rules (<code>unevaluatedProperties</code>)**

<code>false</code>

Not allowed by this rule.

<a id="dt-73975f999989e2b986c4"></a>

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

<a id="dt-84c3783c879cce462837"></a>

**<code>data&#45;lanes</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-309bf025ad45d44ebcfb">[<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-1ec7906cf8698e8132a3">
<p style="white-space: pre-wrap">An array of physical data lane indexes. Position determines how
lanes are connected to the redriver, It is assumed the same order
is kept on the other side of the redriver.
Lane number represents the following
- 0 is RX2 lane
- 1 is TX2 lane
- 2 is TX1 lane
- 3 is RX1 lane
The position determines the physical port of the redriver, in the
order A, B, C &amp; D.</p>
</div>

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

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

<a id="dt-216b3ec2760da7b50dbf"></a>

**Rule 1**

> <a id="dt-9e4e4f7649a3df45e189"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-10611d23c79b3521a2b2"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-f3f9f2a24d82d41f0e9e"><code>0</code></span>
>
> <a id="dt-bb1f37b5a8beea6d001a"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-c8e32735675092ebb2ce"><code>1</code></span>
>
> <a id="dt-c83b38d9baa2679035e1"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-9c402fca0be794fef052"><code>2</code></span>
>
> <a id="dt-61cfc62ac0eb6e50d434"></a>
>
> **Item 4**
>
> > **Exact value (<code>const</code>):** <span id="dt-fb6fd809b198425a747a"><code>3</code></span>
>
> <div id="dt-d7b4fde56d54d927d243">
> <p style="white-space: pre-wrap">This is the lanes default layout
> - Port A to RX2 lane
> - Port B to TX2 lane
> - Port C to TX1 lane
> - Port D to RX1 lane</p>
> </div>

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

**Rule 2**

> <a id="dt-ff5b17f9a9a8505ca9cd"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-af5eae51919b51ebe1d5"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-50e61b48c22a4bb6ba28"><code>3</code></span>
>
> <a id="dt-f99b0c1a2042e63093fb"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-0dba90c55f6fd6a52b79"><code>2</code></span>
>
> <a id="dt-9a80ff8e26dfc7497baf"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-d1ec37703aa460c572f3"><code>1</code></span>
>
> <a id="dt-1ac39203bc12b7a01efe"></a>
>
> **Item 4**
>
> > **Exact value (<code>const</code>):** <span id="dt-f253f67ea850c1a0712b"><code>0</code></span>
>
> <div id="dt-c61d40b5f56e2d1733f3">
> <p style="white-space: pre-wrap">This is the USBRX2/USBTX2 and USBRX1/USBTX1 swapped lanes layout
> - Port A to RX1 lane
> - Port B to TX1 lane
> - Port C to TX2 lane
> - Port D to RX2 lane</p>
> </div>

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

**<code>port&#64;2</code> — not listed as required here**

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-bf0c0e1b24d670f57f64">[<code>&#47;schemas&#47;graph&#46;yaml&#35;&#47;properties&#47;port</code>](</kernel/hardware/devicetree-bindings/dt-shared/graph.md#dt-1d845f0617b4072cef77>)</span>

<div id="dt-2494ba4fb5f1dc4cb38b">
<p style="white-space: pre-wrap">Sideband Use (SBU) AUX lines endpoint to the Type-C connector for the purpose of handling altmode muxing and orientation switching.</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>

<a id="dt-935ee547587f3e75de61"></a>

## All of these rules must match (<code>allOf</code>)

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

### Rule 1

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-95c8874f25311f4b1ab1">[<code>usb&#45;switch&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-usb/usb-switch.md#dt-root>)</span>

<a id="dt-22ca5ec5b89308748ecc"></a>

### Rule 2

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8549616abc3b04702c51">[<code>usb&#45;switch&#45;ports&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-usb/usb-switch-ports.md#dt-root>)</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">i2c {
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;0&gt;;

    typec-mux@32 {
        compatible = "onnn,nb7vpq904m";
        reg = &lt;0x32&gt;;

        vcc-supply = &lt;&amp;vreg_l15b_1p8&gt;;

        retimer-switch;
        orientation-switch;

        ports {
            #address-cells = &lt;1&gt;;
            #size-cells = &lt;0&gt;;

            port@0 {
                reg = &lt;0&gt;;
                usb_con_ss: endpoint {
                    remote-endpoint = &lt;&amp;typec_con_ss&gt;;
                };
            };
            port@1 {
                reg = &lt;1&gt;;
                phy_con_ss: endpoint {
                    remote-endpoint = &lt;&amp;usb_phy_ss&gt;;
                    data-lanes = &lt;3 2 1 0&gt;;
                };
            };
            port@2 {
                reg = &lt;2&gt;;
                usb_con_sbu: endpoint {
                    remote-endpoint = &lt;&amp;typec_dp_aux&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>
