Toshiba TC9563 PCIe switch

Schema identifier ($id): "http://devicetree.org/schemas/pci/toshiba,tc9563.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com>"

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.

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.

Properties and child nodes (properties) #

compatible — not listed as required here #

Allowed values (enum): "pci1179,0623"

reg — not listed as required here #

Maximum number of items (maxItems): 1

resx-gpios — required here #

Maximum number of items (maxItems): 1

GPIO controlling the RESX# pin.

vdd18-supply — required here #

true — No constraints added by this property rule.

vdd09-supply — required here #

true — No constraints added by this property rule.

vddc-supply — required here #

true — No constraints added by this property rule.

vddio1-supply — required here #

true — No constraints added by this property rule.

vddio2-supply — required here #

true — No constraints added by this property rule.

vddio18-supply — required here #

true — No constraints added by this property rule.

i2c-parent — required here #

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle-array

A phandle to the parent I2C node and the slave address of the device used to configure tc9563 to change FTS, tx amplitude etc.

Array item rules (items) #

Item 1

Phandle to the I2C controller node

Item 2

I2C slave address

Properties matching a name pattern (patternProperties) #

^pcie@[1-3],0$ — name matches this regular expression #

child nodes describing the internal downstream ports of the tc9563 switch.

Value type (type): "object"

All of these rules must match (allOf) #

Rule 1

Shared schema rule ($ref): #/$defs/tc9563-node

Rule 2

Shared schema rule ($ref): /schemas/pci/pci-pci-bridge.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Reusable definitions ($defs) #

tc9563-node #

Value type (type): "object"

Properties and child nodes (properties) #

toshiba,tx-amplitude-microvolt — not listed as required here

Change Tx Margin setting for low power consumption.

toshiba,no-dfe-support — not listed as required here

Value type (type): "boolean"

Disable DFE (Decision Feedback Equalizer), which mitigates intersymbol interference and some reflections caused by impedance mismatches.

Required in this object (required): "resx-gpios", "vdd18-supply", "vdd09-supply", "vddc-supply", "vddio1-supply", "vddio2-supply", "vddio18-supply", "i2c-parent"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): #/$defs/tc9563-node

Rule 2 #

Shared schema rule ($ref): /schemas/pci/pci-bus-common.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/gpio/gpio.h>

pcie {
    #address-cells = <3>;
    #size-cells = <2>;

    pcie@0 {
        device_type = "pci";
        reg = <0x0 0x0 0x0 0x0 0x0>;

        #address-cells = <3>;
        #size-cells = <2>;
        ranges;
        bus-range = <0x01 0xff>;

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

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

            i2c-parent = <&qup_i2c 0x77>;

            vdd18-supply = <&vdd>;
            vdd09-supply = <&vdd>;
            vddc-supply = <&vdd>;
            vddio1-supply = <&vdd>;
            vddio2-supply = <&vdd>;
            vddio18-supply = <&vdd>;

            resx-gpios = <&gpio 1 GPIO_ACTIVE_LOW>;

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

                toshiba,no-dfe-support;
            };

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

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

                toshiba,tx-amplitude-microvolt = <10>;

                ethernet@0,0 {
                    reg = <0x50000 0x0 0x0 0x0 0x0>;
                };

                ethernet@0,1 {
                    reg = <0x50100 0x0 0x0 0x0 0x0>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page