1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
5 $id: "http://devicetree.org/schemas/phy/qcom,qusb2-phy.yaml#"
6 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
8 title: Qualcomm QUSB2 phy controller
11 - Wesley Cheng <quic_wcheng@quicinc.com>
14 QUSB2 controller supports LS/FS/HS usb connectivity on Qualcomm chipsets.
21 - qcom,ipq8074-qusb2-phy
22 - qcom,msm8953-qusb2-phy
23 - qcom,msm8996-qusb2-phy
24 - qcom,msm8998-qusb2-phy
25 - qcom,qcm2290-qusb2-phy
26 - qcom,sdm660-qusb2-phy
27 - qcom,ipq6018-qusb2-phy
28 - qcom,sm4250-qusb2-phy
29 - qcom,sm6115-qusb2-phy
32 - qcom,sc7180-qusb2-phy
33 - qcom,sdm845-qusb2-phy
34 - qcom,sm6350-qusb2-phy
35 - const: qcom,qusb2-v2-phy
45 - description: phy config clock
46 - description: 19.2 MHz ref clk
47 - description: phy interface clock (Optional)
58 Phandle to 0.9V regulator supply to PHY digital circuit.
62 Phandle to 1.8V regulator supply to PHY refclk pll block.
66 Phandle to 3.1V regulator supply to Dp/Dm port signals.
71 Phandle to reset to phy block.
76 Phandle to nvmem cell that contains 'HS Tx trim'
77 tuning parameter value for qusb2 phy.
81 Phandle to TCSR syscon register region.
82 $ref: /schemas/types.yaml#/definitions/phandle
88 const: qcom,qusb2-v2-phy
91 qcom,imp-res-offset-value:
93 It is a 6 bit value that specifies offset to be
94 added to PHY refgen RESCODE via IMP_CTRL1 register. It is a PHY
95 tuning parameter that may vary for different boards of same SOC.
96 $ref: /schemas/types.yaml#/definitions/uint32
101 qcom,bias-ctrl-value:
103 It is a 6 bit value that specifies bias-ctrl-value. It is a PHY
104 tuning parameter that may vary for different boards of same SOC.
105 $ref: /schemas/types.yaml#/definitions/uint32
110 qcom,charge-ctrl-value:
112 It is a 2 bit value that specifies charge-ctrl-value. It is a PHY
113 tuning parameter that may vary for different boards of same SOC.
114 $ref: /schemas/types.yaml#/definitions/uint32
119 qcom,hstx-trim-value:
121 It is a 4 bit value that specifies tuning for HSTX
123 Possible range is - 15mA to 24mA (stepsize of 600 uA).
124 See dt-bindings/phy/phy-qcom-qusb2.h for applicable values.
125 $ref: /schemas/types.yaml#/definitions/uint32
130 qcom,preemphasis-level:
132 It is a 2 bit value that specifies pre-emphasis level.
133 Possible range is 0 to 15% (stepsize of 5%).
134 See dt-bindings/phy/phy-qcom-qusb2.h for applicable values.
135 $ref: /schemas/types.yaml#/definitions/uint32
140 qcom,preemphasis-width:
142 It is a 1 bit value that specifies how long the HSTX
143 pre-emphasis (specified using qcom,preemphasis-level) must be in
144 effect. Duration could be half-bit of full-bit.
145 See dt-bindings/phy/phy-qcom-qusb2.h for applicable values.
146 $ref: /schemas/types.yaml#/definitions/uint32
151 qcom,hsdisc-trim-value:
153 It is a 2 bit value tuning parameter that control disconnect
154 threshold and may vary for different boards of same SOC.
155 $ref: /schemas/types.yaml#/definitions/uint32
168 - vdda-phy-dpdm-supply
171 additionalProperties: false
175 #include <dt-bindings/clock/qcom,gcc-msm8996.h>
176 hsusb_phy: phy@7411000 {
177 compatible = "qcom,msm8996-qusb2-phy";
178 reg = <0x7411000 0x180>;
181 clocks = <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
182 <&gcc GCC_RX1_USB2_CLKREF_CLK>;
183 clock-names = "cfg_ahb", "ref";
185 vdd-supply = <&pm8994_l28>;
186 vdda-pll-supply = <&pm8994_l12>;
187 vdda-phy-dpdm-supply = <&pm8994_l24>;
189 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
190 nvmem-cells = <&qusb2p_hstx_trim>;