# Toshiba TC9563 PCIe switch

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

> Device-tree binding reference for Toshiba TC9563 PCIe switch.

<!-- 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;pci&#47;toshiba&#44;tc9563&#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;Krishna Chaitanya Chundru &#60;krishna&#46;chundru&#64;oss&#46;qualcomm&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">Toshiba TC9563 PCIe switch has one upstream and three downstream ports.
The 3rd downstream port has integrated endpoint device of Ethernet MAC.
Other two downstream ports are supposed to connect to external device.</p>
<p style="white-space: pre-wrap">The TC9563 PCIe switch can be configured through I2C interface before
PCIe link is established to change FTS, ASPM related entry delays,
tx amplitude etc for better power efficiency and functionality.</p>
</div>

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

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

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

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

**Allowed values (<code>enum</code>):** <a id="dt-207128c21dbd6355c894"></a> <span id="dt-bd234eb96375d77ca611"><code>&#34;pci1179&#44;0623&#34;</code></span>

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

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

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

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

### <code>resx&#45;gpios</code> — required here

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

<div id="dt-7b4709aa7eb43fa6b1d0">
<p style="white-space: pre-wrap">GPIO controlling the RESX# pin.</p>
</div>

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

### <code>vdd18&#45;supply</code> — required here

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

<a id="dt-33094ca4e4f0cc691a24"></a>

### <code>vdd09&#45;supply</code> — required here

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

<a id="dt-8f00230bb9fd0518c8a8"></a>

### <code>vddc&#45;supply</code> — required here

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

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

### <code>vddio1&#45;supply</code> — required here

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

<a id="dt-0036ed219434ff5e0921"></a>

### <code>vddio2&#45;supply</code> — required here

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

<a id="dt-70925614560a96403596"></a>

### <code>vddio18&#45;supply</code> — required here

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

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

### <code>i2c&#45;parent</code> — required here

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

<div id="dt-de3c238d7401b2094729">
<p style="white-space: pre-wrap">A phandle to the parent I2C node and the slave address of the device used to configure tc9563 to change FTS, tx amplitude etc.</p>
</div>

<a id="dt-8b8cbe24308b044b9cf5"></a>

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

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

**Item 1**

> <div id="dt-8e3e3662db321cbf33e7">
> <p style="white-space: pre-wrap">Phandle to the I2C controller node</p>
> </div>

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

**Item 2**

> <div id="dt-b9b072fc1b5ca7c62a94">
> <p style="white-space: pre-wrap">I2C slave address</p>
> </div>

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

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

<a id="dt-8e0112d33f8de41b359b"></a>

### <code>&#94;pcie&#64;&#91;1&#45;3&#93;&#44;0&#36;</code> — name matches this regular expression

<div id="dt-95206b5c4774b669aaaf">
<p style="white-space: pre-wrap">child nodes describing the internal downstream ports of the tc9563 switch.</p>
</div>

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

<a id="dt-6987b15ab97236f3af22"></a>

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

<a id="dt-8a774b4ba1423bdf8537"></a>

**Rule 1**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-6fc7957e3ebbc169af80">[<code>&#35;&#47;&#36;defs&#47;tc9563&#45;node</code>](<#dt-eeca26024c523965f5c2>)</span>

<a id="dt-60e00ac4a330f0402336"></a>

**Rule 2**

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-aadc992391253820ac2e">[<code>&#47;schemas&#47;pci&#47;pci&#45;pci&#45;bridge&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-shared/pci/pci-pci-bridge.md#dt-root>)</span>

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

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

<code>false</code>

Not allowed by this rule.

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

## Reusable definitions (<code>&#36;defs</code>)

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

### <code>tc9563&#45;node</code>

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

<a id="dt-135f13ee57e50d192fc2"></a>

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

<a id="dt-48095f5fd21bc82f66ff"></a>

**<code>toshiba&#44;tx&#45;amplitude&#45;microvolt</code> — not listed as required here**

<div id="dt-54109554aff64044d672">
<p style="white-space: pre-wrap">Change Tx Margin setting for low power consumption.</p>
</div>

<a id="dt-360c0e4511203f631208"></a>

**<code>toshiba&#44;no&#45;dfe&#45;support</code> — not listed as required here**

**Value type (<code>type</code>):** <span id="dt-9b29c153112c9b54d1de"><code>&#34;boolean&#34;</code></span>

<div id="dt-3d0851e016e3b480144f">
<p style="white-space: pre-wrap">Disable DFE (Decision Feedback Equalizer), which mitigates intersymbol interference and some reflections caused by impedance mismatches.</p>
</div>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;resx&#45;gpios&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;vdd18&#45;supply&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;vdd09&#45;supply&#34;</code></span>, <span id="dt-329d9b3604d5b98bc19d"><code>&#34;vddc&#45;supply&#34;</code></span>, <span id="dt-391b1d2b563ec12ed437"><code>&#34;vddio1&#45;supply&#34;</code></span>, <span id="dt-c127a87237cb22622910"><code>&#34;vddio2&#45;supply&#34;</code></span>, <span id="dt-a5d07fc4223c155670a0"><code>&#34;vddio18&#45;supply&#34;</code></span>, <span id="dt-4503833a9b225761c43a"><code>&#34;i2c&#45;parent&#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>&#35;&#47;&#36;defs&#47;tc9563&#45;node</code>](<#dt-eeca26024c523965f5c2>)</span>

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

### Rule 2

> **Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8549616abc3b04702c51">[<code>&#47;schemas&#47;pci&#47;pci&#45;bus&#45;common&#46;yaml&#35;</code>](</kernel/hardware/devicetree-bindings/dt-shared/pci/pci-bus-common.md#dt-root>)</span>

<a id="dt-63ab525a9812ac23c446"></a>

## Properties not evaluated by applicable rules (<code>unevaluatedProperties</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/gpio/gpio.h&gt;

pcie {
    #address-cells = &lt;3&gt;;
    #size-cells = &lt;2&gt;;

    pcie@0 {
        device_type = "pci";
        reg = &lt;0x0 0x0 0x0 0x0 0x0&gt;;

        #address-cells = &lt;3&gt;;
        #size-cells = &lt;2&gt;;
        ranges;
        bus-range = &lt;0x01 0xff&gt;;

        pcie@0,0 {
            compatible = "pci1179,0623";

            reg = &lt;0x10000 0x0 0x0 0x0 0x0&gt;;
            device_type = "pci";
            #address-cells = &lt;3&gt;;
            #size-cells = &lt;2&gt;;
            ranges;
            bus-range = &lt;0x02 0xff&gt;;

            i2c-parent = &lt;&amp;qup_i2c 0x77&gt;;

            vdd18-supply = &lt;&amp;vdd&gt;;
            vdd09-supply = &lt;&amp;vdd&gt;;
            vddc-supply = &lt;&amp;vdd&gt;;
            vddio1-supply = &lt;&amp;vdd&gt;;
            vddio2-supply = &lt;&amp;vdd&gt;;
            vddio18-supply = &lt;&amp;vdd&gt;;

            resx-gpios = &lt;&amp;gpio 1 GPIO_ACTIVE_LOW&gt;;

            pcie@1,0 {
                compatible = "pciclass,0604";
                reg = &lt;0x20800 0x0 0x0 0x0 0x0&gt;;
                #address-cells = &lt;3&gt;;
                #size-cells = &lt;2&gt;;
                device_type = "pci";
                ranges;
                bus-range = &lt;0x03 0xff&gt;;

                toshiba,no-dfe-support;
            };

            pcie@2,0 {
                compatible = "pciclass,0604";
                reg = &lt;0x21000 0x0 0x0 0x0 0x0&gt;;
                #address-cells = &lt;3&gt;;
                #size-cells = &lt;2&gt;;
                device_type = "pci";
                ranges;
                bus-range = &lt;0x04 0xff&gt;;
            };

            pcie@3,0 {
                compatible = "pciclass,0604";
                reg = &lt;0x21800 0x0 0x0 0x0 0x0&gt;;
                #address-cells = &lt;3&gt;;
                #size-cells = &lt;2&gt;;
                device_type = "pci";
                ranges;
                bus-range = &lt;0x05 0xff&gt;;

                toshiba,tx-amplitude-microvolt = &lt;10&gt;;

                ethernet@0,0 {
                    reg = &lt;0x50000 0x0 0x0 0x0 0x0&gt;;
                };

                ethernet@0,1 {
                    reg = &lt;0x50100 0x0 0x0 0x0 0x0&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>
