1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2 # Copyright 2023 Realtek Semiconductor Corporation
5 $id: http://devicetree.org/schemas/phy/realtek,usb3phy.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Realtek DHC SoCs USB 3.0 PHY
14 Realtek USB 3.0 PHY support the digital home center (DHC) RTD series SoCs.
15 The USB 3.0 PHY driver is designed to support the XHCI controller. The SoCs
16 support multiple XHCI controllers. One PHY device node maps to one XHCI
19 RTD1295/RTD1619 SoCs USB
20 The USB architecture includes three XHCI controllers.
21 Each XHCI maps to one USB 2.0 PHY and map one USB 3.0 PHY on some
23 XHCI controller#0 -- usb2phy -- phy#0
25 XHCI controller#1 -- usb2phy -- phy#0
26 XHCI controller#2 -- usb2phy -- phy#0
29 RTD1319/RTD1619b SoCs USB
30 The USB architecture includes three XHCI controllers.
31 Each XHCI maps to one USB 2.0 PHY and map one USB 3.0 PHY on controllers#2.
32 XHCI controller#0 -- usb2phy -- phy#0
33 XHCI controller#1 -- usb2phy -- phy#0
34 XHCI controller#2 -- usb2phy -- phy#0
38 The USB architecture includes three XHCI controllers.
39 Each xhci maps to one USB 2.0 PHY and map one USB 3.0 PHY on controllers#0.
40 XHCI controller#0 -- usb2phy -- phy#0
42 XHCI controller#1 -- usb2phy -- phy#0
43 XHCI controller#2 -- usb2phy -- phy#0
48 - realtek,rtd1295-usb3phy
49 - realtek,rtd1319-usb3phy
50 - realtek,rtd1319d-usb3phy
51 - realtek,rtd1619-usb3phy
52 - realtek,rtd1619b-usb3phy
62 description: A phandle to the tx lfps swing trim data provided by
63 a nvmem device, if unspecified, default values shall be used.
67 - const: usb_u3_tx_lfps_swing_trim
69 realtek,amplitude-control-coarse-tuning:
71 This adjusts the signal amplitude for normal operation and beacon LFPS.
72 This value is a parameter for coarse tuning.
73 For different boards, if the default value is inappropriate, this
74 property can be assigned to adjust.
75 $ref: /schemas/types.yaml#/definitions/uint32
80 realtek,amplitude-control-fine-tuning:
82 This adjusts the signal amplitude for normal operation and beacon LFPS.
83 This value is used for fine-tuning parameters.
84 $ref: /schemas/types.yaml#/definitions/uint32
94 additionalProperties: false
99 compatible = "realtek,rtd1319d-usb3phy";
103 nvmem-cells = <&otp_usb_u3_tx_lfps_swing_trim>;
104 nvmem-cell-names = "usb_u3_tx_lfps_swing_trim";
106 realtek,amplitude-control-coarse-tuning = <0x77>;