Realtek RTS5411 USB 3.0 hub controller

Schema identifier ($id): "http://devicetree.org/schemas/usb/realtek,rts5411.yaml#"

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

Maintainers (maintainers): "Matthias Kaehlcke <mka@chromium.org>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): usb-hub.yaml#

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "usbbda,5411", "usbbda,411"

vdd-supply — not listed as required here #

phandle to the regulator that provides power to the hub.

peer-hub — required here #

true — No constraints added by this property rule.

ports — not listed as required here #

Shared schema rule ($ref): /schemas/graph.yaml#/properties/ports

Properties matching a name pattern (patternProperties) #

^port@ — name matches this regular expression

Shared schema rule ($ref): /schemas/graph.yaml#/properties/port

Properties and child nodes (properties)

reg — not listed as required here

Minimum value (minimum): 1

Maximum value (maximum): 4

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

Properties and child nodes (properties) #

reg — not listed as required here #

Minimum value (minimum): 1

Maximum value (maximum): 4

Required in this object (required): "peer-hub", "compatible", "reg"

Examples (examples) #

usb {
    dr_mode = "host";
    #address-cells = <1>;
    #size-cells = <0>;

    /* 2.0 hub on port 1 */
    hub_2_0: hub@1 {
        compatible = "usbbda,5411";
        reg = <1>;
        vdd-supply = <&pp3300_hub>;
        peer-hub = <&hub_3_0>;
        #address-cells = <1>;
        #size-cells = <0>;
        /* USB 2.0 device on port 2 */
        device@2 {
            compatible = "usb123,4567";
            reg = <2>;
        };
    };

    /* 3.0 hub on port 2 */
    hub_3_0: hub@2 {
        compatible = "usbbda,411";
        reg = <2>;
        vdd-supply = <&pp3300_hub>;
        peer-hub = <&hub_2_0>;

        ports {
            #address-cells = <1>;
            #size-cells = <0>;
            /* Type-A connector on port 4 */
            port@4 {
                reg = <4>;
                endpoint {
                  remote-endpoint = <&usb_a0_ss>;
                };
            };
        };
    };
};

Source notes #

Annotations retained from the schema source

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

Edit this page