Realtek DWC3 USB SoC Controller Glue

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

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

Maintainers (maintainers): "Stanley Chang <stanley_chang@realtek.com>"

The Realtek DHC SoC embeds a DWC3 USB IP Core configured for USB 2.0 and USB 3.0 in host or dual-role mode.

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "realtek,rtd1295-dwc3", "realtek,rtd1315e-dwc3", "realtek,rtd1319-dwc3", "realtek,rtd1319d-dwc3", "realtek,rtd1395-dwc3", "realtek,rtd1619-dwc3", "realtek,rtd1619b-dwc3"

Item 2

Exact value (const): "realtek,rtd-dwc3"

reg — required here #

Array item rules (items) #

Item 1

Address and length of register set for wrapper of dwc3 core.

Item 2

Address and length of register set for pm control.

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

ranges — required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

^usb@[0-9a-f]+$ — name matches this regular expression #

Shared schema rule ($ref): snps,dwc3.yaml#

Required child node

Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells", "ranges"

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

false

Not allowed by this rule.

Examples (examples) #

usb@98013e00 {
    compatible = "realtek,rtd1319d-dwc3", "realtek,rtd-dwc3";
    reg = <0x98013e00 0x140>, <0x98013f60 0x4>;
    #address-cells = <1>;
    #size-cells = <1>;
    ranges;

    usb@98050000 {
        compatible = "snps,dwc3";
        reg = <0x98050000 0x9000>;
        interrupts = <0 94 4>;
        phys = <&usb2phy &usb3phy>;
        phy-names = "usb2-phy", "usb3-phy";
        dr_mode = "otg";
        usb-role-switch;
        role-switch-default-mode = "host";
        snps,dis_u2_susphy_quirk;
        snps,parkmode-disable-ss-quirk;
        snps,parkmode-disable-hs-quirk;
        maximum-speed = "high-speed";
    };
};

Source notes #

Annotations retained from the schema source

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

Line 2: Copyright 2023 Realtek Semiconductor Corporation

Edit this page