Realtek DHC SoCs USB 3.0 PHY
Schema identifier ($id): "http://devicetree.org/schemas/phy/realtek,usb3phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Stanley Chang <stanley_chang@realtek.com>"
Realtek USB 3.0 PHY support the digital home center (DHC) RTD series SoCs. The USB 3.0 PHY driver is designed to support the XHCI controller. The SoCs support multiple XHCI controllers. One PHY device node maps to one XHCI controller.
RTD1295/RTD1619 SoCs USB
The USB architecture includes three XHCI controllers.
Each XHCI maps to one USB 2.0 PHY and map one USB 3.0 PHY on some
controllers.
XHCI controller#0 -- usb2phy -- phy#0
|- usb3phy -- phy#0
XHCI controller#1 -- usb2phy -- phy#0
XHCI controller#2 -- usb2phy -- phy#0
|- usb3phy -- phy#0
RTD1319/RTD1619b SoCs USB
The USB architecture includes three XHCI controllers.
Each XHCI maps to one USB 2.0 PHY and map one USB 3.0 PHY on controllers#2.
XHCI controller#0 -- usb2phy -- phy#0
XHCI controller#1 -- usb2phy -- phy#0
XHCI controller#2 -- usb2phy -- phy#0
|- usb3phy -- phy#0
RTD1319d SoCs USB
The USB architecture includes three XHCI controllers.
Each xhci maps to one USB 2.0 PHY and map one USB 3.0 PHY on controllers#0.
XHCI controller#0 -- usb2phy -- phy#0
|- usb3phy -- phy#0
XHCI controller#1 -- usb2phy -- phy#0
XHCI controller#2 -- usb2phy -- phy#0
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "realtek,rtd1295-usb3phy", "realtek,rtd1319-usb3phy", "realtek,rtd1319d-usb3phy", "realtek,rtd1619-usb3phy", "realtek,rtd1619b-usb3phy"
reg — required here #
Maximum number of items (maxItems): 1
#phy-cells — required here #
Exact value (const): 0
nvmem-cells — not listed as required here #
Maximum number of items (maxItems): 1
A phandle to the tx lfps swing trim data provided by a nvmem device, if unspecified, default values shall be used.
nvmem-cell-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"usb_u3_tx_lfps_swing_trim"
realtek,amplitude-control-coarse-tuning — not listed as required here #
This adjusts the signal amplitude for normal operation and beacon LFPS. This value is a parameter for coarse tuning. For different boards, if the default value is inappropriate, this property can be assigned to adjust.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 255
Minimum value (minimum): 0
Maximum value (maximum): 255
realtek,amplitude-control-fine-tuning — not listed as required here #
This adjusts the signal amplitude for normal operation and beacon LFPS. This value is used for fine-tuning parameters.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
Default value (default): 65535
Minimum value (minimum): 0
Maximum value (maximum): 65535
Required in this object (required): "compatible", "reg", "#phy-cells"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
usb-phy@13e10 {
compatible = "realtek,rtd1319d-usb3phy";
reg = <0x13e10 0x4>;
#phy-cells = <0>;
nvmem-cells = <&otp_usb_u3_tx_lfps_swing_trim>;
nvmem-cell-names = "usb_u3_tx_lfps_swing_trim";
realtek,amplitude-control-coarse-tuning = <0x77>;
};
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