xref: /freebsd/sys/contrib/device-tree/Bindings/phy/qcom,qmp-phy.yaml (revision 2eb4d8dc723da3cf7d735a3226ae49da4c8c5dbc)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot
3c66ec88fSEmmanuel Vadot%YAML 1.2
4c66ec88fSEmmanuel Vadot---
5c66ec88fSEmmanuel Vadot$id: "http://devicetree.org/schemas/phy/qcom,qmp-phy.yaml#"
6c66ec88fSEmmanuel Vadot$schema: "http://devicetree.org/meta-schemas/core.yaml#"
7c66ec88fSEmmanuel Vadot
8c66ec88fSEmmanuel Vadottitle: Qualcomm QMP PHY controller
9c66ec88fSEmmanuel Vadot
10c66ec88fSEmmanuel Vadotmaintainers:
11c66ec88fSEmmanuel Vadot  - Manu Gautam <mgautam@codeaurora.org>
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel Vadotdescription:
14c66ec88fSEmmanuel Vadot  QMP phy controller supports physical layer functionality for a number of
15c66ec88fSEmmanuel Vadot  controllers on Qualcomm chipsets, such as, PCIe, UFS, and USB.
16c66ec88fSEmmanuel Vadot
17c66ec88fSEmmanuel Vadotproperties:
18c66ec88fSEmmanuel Vadot  compatible:
19c66ec88fSEmmanuel Vadot    enum:
20c66ec88fSEmmanuel Vadot      - qcom,ipq8074-qmp-pcie-phy
21c66ec88fSEmmanuel Vadot      - qcom,ipq8074-qmp-usb3-phy
22c66ec88fSEmmanuel Vadot      - qcom,msm8996-qmp-pcie-phy
23c66ec88fSEmmanuel Vadot      - qcom,msm8996-qmp-ufs-phy
24c66ec88fSEmmanuel Vadot      - qcom,msm8996-qmp-usb3-phy
25c66ec88fSEmmanuel Vadot      - qcom,msm8998-qmp-pcie-phy
26c66ec88fSEmmanuel Vadot      - qcom,msm8998-qmp-ufs-phy
27c66ec88fSEmmanuel Vadot      - qcom,msm8998-qmp-usb3-phy
28*2eb4d8dcSEmmanuel Vadot      - qcom,sc7180-qmp-usb3-phy
295def4c47SEmmanuel Vadot      - qcom,sc8180x-qmp-ufs-phy
305def4c47SEmmanuel Vadot      - qcom,sc8180x-qmp-usb3-phy
31c66ec88fSEmmanuel Vadot      - qcom,sdm845-qhp-pcie-phy
32c66ec88fSEmmanuel Vadot      - qcom,sdm845-qmp-pcie-phy
33c66ec88fSEmmanuel Vadot      - qcom,sdm845-qmp-ufs-phy
34*2eb4d8dcSEmmanuel Vadot      - qcom,sdm845-qmp-usb3-phy
35c66ec88fSEmmanuel Vadot      - qcom,sdm845-qmp-usb3-uni-phy
36c66ec88fSEmmanuel Vadot      - qcom,sm8150-qmp-ufs-phy
375def4c47SEmmanuel Vadot      - qcom,sm8150-qmp-usb3-phy
385def4c47SEmmanuel Vadot      - qcom,sm8150-qmp-usb3-uni-phy
39c66ec88fSEmmanuel Vadot      - qcom,sm8250-qmp-ufs-phy
405def4c47SEmmanuel Vadot      - qcom,sm8250-qmp-gen3x1-pcie-phy
415def4c47SEmmanuel Vadot      - qcom,sm8250-qmp-gen3x2-pcie-phy
425def4c47SEmmanuel Vadot      - qcom,sm8250-qmp-modem-pcie-phy
435def4c47SEmmanuel Vadot      - qcom,sm8250-qmp-usb3-phy
445def4c47SEmmanuel Vadot      - qcom,sm8250-qmp-usb3-uni-phy
455def4c47SEmmanuel Vadot      - qcom,sm8350-qmp-ufs-phy
465def4c47SEmmanuel Vadot      - qcom,sm8350-qmp-usb3-phy
475def4c47SEmmanuel Vadot      - qcom,sm8350-qmp-usb3-uni-phy
485def4c47SEmmanuel Vadot      - qcom,sdx55-qmp-usb3-uni-phy
49c66ec88fSEmmanuel Vadot
50c66ec88fSEmmanuel Vadot  reg:
515def4c47SEmmanuel Vadot    minItems: 1
525def4c47SEmmanuel Vadot    maxItems: 2
53c66ec88fSEmmanuel Vadot    items:
54c66ec88fSEmmanuel Vadot      - description: Address and length of PHY's common serdes block.
555def4c47SEmmanuel Vadot      - description: Address and length of PHY's DP_COM control block.
56c66ec88fSEmmanuel Vadot
57c66ec88fSEmmanuel Vadot  "#clock-cells":
58c66ec88fSEmmanuel Vadot    enum: [ 1, 2 ]
59c66ec88fSEmmanuel Vadot
60c66ec88fSEmmanuel Vadot  "#address-cells":
61c66ec88fSEmmanuel Vadot    enum: [ 1, 2 ]
62c66ec88fSEmmanuel Vadot
63c66ec88fSEmmanuel Vadot  "#size-cells":
64c66ec88fSEmmanuel Vadot    enum: [ 1, 2 ]
65c66ec88fSEmmanuel Vadot
66c66ec88fSEmmanuel Vadot  ranges: true
67c66ec88fSEmmanuel Vadot
68c66ec88fSEmmanuel Vadot  clocks:
69c66ec88fSEmmanuel Vadot    minItems: 1
70c66ec88fSEmmanuel Vadot    maxItems: 4
71c66ec88fSEmmanuel Vadot
72c66ec88fSEmmanuel Vadot  clock-names:
73c66ec88fSEmmanuel Vadot    minItems: 1
74c66ec88fSEmmanuel Vadot    maxItems: 4
75c66ec88fSEmmanuel Vadot
76c66ec88fSEmmanuel Vadot  resets:
77c66ec88fSEmmanuel Vadot    minItems: 1
78c66ec88fSEmmanuel Vadot    maxItems: 3
79c66ec88fSEmmanuel Vadot
80c66ec88fSEmmanuel Vadot  reset-names:
81c66ec88fSEmmanuel Vadot    minItems: 1
82c66ec88fSEmmanuel Vadot    maxItems: 3
83c66ec88fSEmmanuel Vadot
84c66ec88fSEmmanuel Vadot  vdda-phy-supply:
85c66ec88fSEmmanuel Vadot    description:
86c66ec88fSEmmanuel Vadot      Phandle to a regulator supply to PHY core block.
87c66ec88fSEmmanuel Vadot
88c66ec88fSEmmanuel Vadot  vdda-pll-supply:
89c66ec88fSEmmanuel Vadot    description:
90c66ec88fSEmmanuel Vadot      Phandle to 1.8V regulator supply to PHY refclk pll block.
91c66ec88fSEmmanuel Vadot
92c66ec88fSEmmanuel Vadot  vddp-ref-clk-supply:
93c66ec88fSEmmanuel Vadot    description:
94c66ec88fSEmmanuel Vadot      Phandle to a regulator supply to any specific refclk pll block.
95c66ec88fSEmmanuel Vadot
96c66ec88fSEmmanuel Vadot#Required nodes:
97c66ec88fSEmmanuel VadotpatternProperties:
98c66ec88fSEmmanuel Vadot  "^phy@[0-9a-f]+$":
99c66ec88fSEmmanuel Vadot    type: object
100c66ec88fSEmmanuel Vadot    description:
101c66ec88fSEmmanuel Vadot      Each device node of QMP phy is required to have as many child nodes as
102c66ec88fSEmmanuel Vadot      the number of lanes the PHY has.
103c66ec88fSEmmanuel Vadot
104c66ec88fSEmmanuel Vadotrequired:
105c66ec88fSEmmanuel Vadot  - compatible
106c66ec88fSEmmanuel Vadot  - reg
107c66ec88fSEmmanuel Vadot  - "#clock-cells"
108c66ec88fSEmmanuel Vadot  - "#address-cells"
109c66ec88fSEmmanuel Vadot  - "#size-cells"
110c66ec88fSEmmanuel Vadot  - ranges
111c66ec88fSEmmanuel Vadot  - clocks
112c66ec88fSEmmanuel Vadot  - clock-names
113c66ec88fSEmmanuel Vadot  - resets
114c66ec88fSEmmanuel Vadot  - reset-names
115c66ec88fSEmmanuel Vadot  - vdda-phy-supply
116c66ec88fSEmmanuel Vadot  - vdda-pll-supply
117c66ec88fSEmmanuel Vadot
118c66ec88fSEmmanuel VadotadditionalProperties: false
119c66ec88fSEmmanuel Vadot
120c66ec88fSEmmanuel VadotallOf:
121c66ec88fSEmmanuel Vadot  - if:
122c66ec88fSEmmanuel Vadot      properties:
123c66ec88fSEmmanuel Vadot        compatible:
124c66ec88fSEmmanuel Vadot          contains:
125c66ec88fSEmmanuel Vadot            enum:
126c66ec88fSEmmanuel Vadot              - qcom,sdm845-qmp-usb3-uni-phy
127c66ec88fSEmmanuel Vadot    then:
128c66ec88fSEmmanuel Vadot      properties:
129c66ec88fSEmmanuel Vadot        clocks:
130c66ec88fSEmmanuel Vadot          items:
131c66ec88fSEmmanuel Vadot            - description: Phy aux clock.
132c66ec88fSEmmanuel Vadot            - description: Phy config clock.
133c66ec88fSEmmanuel Vadot            - description: 19.2 MHz ref clk.
134c66ec88fSEmmanuel Vadot            - description: Phy common block aux clock.
135c66ec88fSEmmanuel Vadot        clock-names:
136c66ec88fSEmmanuel Vadot          items:
137c66ec88fSEmmanuel Vadot            - const: aux
138c66ec88fSEmmanuel Vadot            - const: cfg_ahb
139c66ec88fSEmmanuel Vadot            - const: ref
140c66ec88fSEmmanuel Vadot            - const: com_aux
141c66ec88fSEmmanuel Vadot        resets:
142c66ec88fSEmmanuel Vadot          items:
143c66ec88fSEmmanuel Vadot            - description: reset of phy block.
144c66ec88fSEmmanuel Vadot            - description: phy common block reset.
145c66ec88fSEmmanuel Vadot        reset-names:
146c66ec88fSEmmanuel Vadot          items:
147c66ec88fSEmmanuel Vadot            - const: phy
148c66ec88fSEmmanuel Vadot            - const: common
149c66ec88fSEmmanuel Vadot  - if:
150c66ec88fSEmmanuel Vadot      properties:
151c66ec88fSEmmanuel Vadot        compatible:
152c66ec88fSEmmanuel Vadot          contains:
153c66ec88fSEmmanuel Vadot            enum:
1545def4c47SEmmanuel Vadot              - qcom,sdx55-qmp-usb3-uni-phy
1555def4c47SEmmanuel Vadot    then:
1565def4c47SEmmanuel Vadot      properties:
1575def4c47SEmmanuel Vadot        clocks:
1585def4c47SEmmanuel Vadot          items:
1595def4c47SEmmanuel Vadot            - description: Phy aux clock.
1605def4c47SEmmanuel Vadot            - description: Phy config clock.
1615def4c47SEmmanuel Vadot            - description: 19.2 MHz ref clk.
1625def4c47SEmmanuel Vadot        clock-names:
1635def4c47SEmmanuel Vadot          items:
1645def4c47SEmmanuel Vadot            - const: aux
1655def4c47SEmmanuel Vadot            - const: cfg_ahb
1665def4c47SEmmanuel Vadot            - const: ref
1675def4c47SEmmanuel Vadot        resets:
1685def4c47SEmmanuel Vadot          items:
1695def4c47SEmmanuel Vadot            - description: reset of phy block.
1705def4c47SEmmanuel Vadot            - description: phy common block reset.
1715def4c47SEmmanuel Vadot        reset-names:
1725def4c47SEmmanuel Vadot          items:
1735def4c47SEmmanuel Vadot            - const: phy
1745def4c47SEmmanuel Vadot            - const: common
1755def4c47SEmmanuel Vadot  - if:
1765def4c47SEmmanuel Vadot      properties:
1775def4c47SEmmanuel Vadot        compatible:
1785def4c47SEmmanuel Vadot          contains:
1795def4c47SEmmanuel Vadot            enum:
180c66ec88fSEmmanuel Vadot              - qcom,msm8996-qmp-pcie-phy
181c66ec88fSEmmanuel Vadot    then:
182c66ec88fSEmmanuel Vadot      properties:
183c66ec88fSEmmanuel Vadot        clocks:
184c66ec88fSEmmanuel Vadot          items:
185c66ec88fSEmmanuel Vadot            - description: Phy aux clock.
186c66ec88fSEmmanuel Vadot            - description: Phy config clock.
187c66ec88fSEmmanuel Vadot            - description: 19.2 MHz ref clk.
188c66ec88fSEmmanuel Vadot        clock-names:
189c66ec88fSEmmanuel Vadot          items:
190c66ec88fSEmmanuel Vadot            - const: aux
191c66ec88fSEmmanuel Vadot            - const: cfg_ahb
192c66ec88fSEmmanuel Vadot            - const: ref
193c66ec88fSEmmanuel Vadot        resets:
194c66ec88fSEmmanuel Vadot          items:
195c66ec88fSEmmanuel Vadot            - description: reset of phy block.
196c66ec88fSEmmanuel Vadot            - description: phy common block reset.
197c66ec88fSEmmanuel Vadot            - description: phy's ahb cfg block reset.
198c66ec88fSEmmanuel Vadot        reset-names:
199c66ec88fSEmmanuel Vadot          items:
200c66ec88fSEmmanuel Vadot            - const: phy
201c66ec88fSEmmanuel Vadot            - const: common
202c66ec88fSEmmanuel Vadot            - const: cfg
203c66ec88fSEmmanuel Vadot  - if:
204c66ec88fSEmmanuel Vadot      properties:
205c66ec88fSEmmanuel Vadot        compatible:
206c66ec88fSEmmanuel Vadot          contains:
207c66ec88fSEmmanuel Vadot            enum:
208c66ec88fSEmmanuel Vadot              - qcom,ipq8074-qmp-usb3-phy
209c66ec88fSEmmanuel Vadot              - qcom,msm8996-qmp-usb3-phy
210c66ec88fSEmmanuel Vadot              - qcom,msm8998-qmp-pcie-phy
211c66ec88fSEmmanuel Vadot              - qcom,msm8998-qmp-usb3-phy
212c66ec88fSEmmanuel Vadot    then:
213c66ec88fSEmmanuel Vadot      properties:
214c66ec88fSEmmanuel Vadot        clocks:
215c66ec88fSEmmanuel Vadot          items:
216c66ec88fSEmmanuel Vadot            - description: Phy aux clock.
217c66ec88fSEmmanuel Vadot            - description: Phy config clock.
218c66ec88fSEmmanuel Vadot            - description: 19.2 MHz ref clk.
219c66ec88fSEmmanuel Vadot        clock-names:
220c66ec88fSEmmanuel Vadot          items:
221c66ec88fSEmmanuel Vadot            - const: aux
222c66ec88fSEmmanuel Vadot            - const: cfg_ahb
223c66ec88fSEmmanuel Vadot            - const: ref
224c66ec88fSEmmanuel Vadot        resets:
225c66ec88fSEmmanuel Vadot          items:
226c66ec88fSEmmanuel Vadot            - description: reset of phy block.
227c66ec88fSEmmanuel Vadot            - description: phy common block reset.
228c66ec88fSEmmanuel Vadot        reset-names:
229c66ec88fSEmmanuel Vadot          items:
230c66ec88fSEmmanuel Vadot            - const: phy
231c66ec88fSEmmanuel Vadot            - const: common
232c66ec88fSEmmanuel Vadot  - if:
233c66ec88fSEmmanuel Vadot      properties:
234c66ec88fSEmmanuel Vadot        compatible:
235c66ec88fSEmmanuel Vadot          contains:
236c66ec88fSEmmanuel Vadot            enum:
237c66ec88fSEmmanuel Vadot              - qcom,msm8996-qmp-ufs-phy
238c66ec88fSEmmanuel Vadot    then:
239c66ec88fSEmmanuel Vadot      properties:
240c66ec88fSEmmanuel Vadot        clocks:
241c66ec88fSEmmanuel Vadot          items:
242c66ec88fSEmmanuel Vadot            - description: 19.2 MHz ref clk.
243c66ec88fSEmmanuel Vadot        clock-names:
244c66ec88fSEmmanuel Vadot          items:
245c66ec88fSEmmanuel Vadot            - const: ref
246c66ec88fSEmmanuel Vadot        resets:
247c66ec88fSEmmanuel Vadot          items:
248c66ec88fSEmmanuel Vadot            - description: PHY reset in the UFS controller.
249c66ec88fSEmmanuel Vadot        reset-names:
250c66ec88fSEmmanuel Vadot          items:
251c66ec88fSEmmanuel Vadot            - const: ufsphy
252c66ec88fSEmmanuel Vadot  - if:
253c66ec88fSEmmanuel Vadot      properties:
254c66ec88fSEmmanuel Vadot        compatible:
255c66ec88fSEmmanuel Vadot          contains:
256c66ec88fSEmmanuel Vadot            enum:
257c66ec88fSEmmanuel Vadot              - qcom,msm8998-qmp-ufs-phy
258c66ec88fSEmmanuel Vadot              - qcom,sdm845-qmp-ufs-phy
259c66ec88fSEmmanuel Vadot              - qcom,sm8150-qmp-ufs-phy
260c66ec88fSEmmanuel Vadot              - qcom,sm8250-qmp-ufs-phy
261c66ec88fSEmmanuel Vadot    then:
262c66ec88fSEmmanuel Vadot      properties:
263c66ec88fSEmmanuel Vadot        clocks:
264c66ec88fSEmmanuel Vadot          items:
265c66ec88fSEmmanuel Vadot            - description: 19.2 MHz ref clk.
266c66ec88fSEmmanuel Vadot            - description: Phy reference aux clock.
267c66ec88fSEmmanuel Vadot        clock-names:
268c66ec88fSEmmanuel Vadot          items:
269c66ec88fSEmmanuel Vadot            - const: ref
270c66ec88fSEmmanuel Vadot            - const: ref_aux
271c66ec88fSEmmanuel Vadot        resets:
272c66ec88fSEmmanuel Vadot          items:
273c66ec88fSEmmanuel Vadot            - description: PHY reset in the UFS controller.
274c66ec88fSEmmanuel Vadot        reset-names:
275c66ec88fSEmmanuel Vadot          items:
276c66ec88fSEmmanuel Vadot            - const: ufsphy
277c66ec88fSEmmanuel Vadot  - if:
278c66ec88fSEmmanuel Vadot      properties:
279c66ec88fSEmmanuel Vadot        compatible:
280c66ec88fSEmmanuel Vadot          contains:
281c66ec88fSEmmanuel Vadot            enum:
282c66ec88fSEmmanuel Vadot              - qcom,ipq8074-qmp-pcie-phy
283c66ec88fSEmmanuel Vadot    then:
284c66ec88fSEmmanuel Vadot      properties:
285c66ec88fSEmmanuel Vadot        clocks:
286c66ec88fSEmmanuel Vadot          items:
287c66ec88fSEmmanuel Vadot            - description: pipe clk.
288c66ec88fSEmmanuel Vadot        clock-names:
289c66ec88fSEmmanuel Vadot          items:
290c66ec88fSEmmanuel Vadot            - const: pipe_clk
291c66ec88fSEmmanuel Vadot        resets:
292c66ec88fSEmmanuel Vadot          items:
293c66ec88fSEmmanuel Vadot            - description: reset of phy block.
294c66ec88fSEmmanuel Vadot            - description: phy common block reset.
295c66ec88fSEmmanuel Vadot        reset-names:
296c66ec88fSEmmanuel Vadot          items:
297c66ec88fSEmmanuel Vadot            - const: phy
298c66ec88fSEmmanuel Vadot            - const: common
299c66ec88fSEmmanuel Vadot  - if:
300c66ec88fSEmmanuel Vadot      properties:
301c66ec88fSEmmanuel Vadot        compatible:
302c66ec88fSEmmanuel Vadot          contains:
303c66ec88fSEmmanuel Vadot            enum:
304c66ec88fSEmmanuel Vadot              - qcom,sdm845-qhp-pcie-phy
305c66ec88fSEmmanuel Vadot              - qcom,sdm845-qmp-pcie-phy
3065def4c47SEmmanuel Vadot              - qcom,sm8250-qmp-gen3x1-pcie-phy
3075def4c47SEmmanuel Vadot              - qcom,sm8250-qmp-gen3x2-pcie-phy
3085def4c47SEmmanuel Vadot              - qcom,sm8250-qmp-modem-pcie-phy
309c66ec88fSEmmanuel Vadot    then:
310c66ec88fSEmmanuel Vadot      properties:
311c66ec88fSEmmanuel Vadot        clocks:
312c66ec88fSEmmanuel Vadot          items:
313c66ec88fSEmmanuel Vadot            - description: Phy aux clock.
314c66ec88fSEmmanuel Vadot            - description: Phy config clock.
315c66ec88fSEmmanuel Vadot            - description: 19.2 MHz ref clk.
316c66ec88fSEmmanuel Vadot            - description: Phy refgen clk.
317c66ec88fSEmmanuel Vadot        clock-names:
318c66ec88fSEmmanuel Vadot          items:
319c66ec88fSEmmanuel Vadot            - const: aux
320c66ec88fSEmmanuel Vadot            - const: cfg_ahb
321c66ec88fSEmmanuel Vadot            - const: ref
322c66ec88fSEmmanuel Vadot            - const: refgen
323c66ec88fSEmmanuel Vadot        resets:
324c66ec88fSEmmanuel Vadot          items:
325c66ec88fSEmmanuel Vadot            - description: reset of phy block.
326c66ec88fSEmmanuel Vadot        reset-names:
327c66ec88fSEmmanuel Vadot          items:
328c66ec88fSEmmanuel Vadot            - const: phy
3295def4c47SEmmanuel Vadot  - if:
3305def4c47SEmmanuel Vadot      properties:
3315def4c47SEmmanuel Vadot        compatible:
3325def4c47SEmmanuel Vadot          contains:
3335def4c47SEmmanuel Vadot            enum:
3345def4c47SEmmanuel Vadot              - qcom,sm8150-qmp-usb3-phy
3355def4c47SEmmanuel Vadot              - qcom,sm8150-qmp-usb3-uni-phy
3365def4c47SEmmanuel Vadot              - qcom,sm8250-qmp-usb3-uni-phy
3375def4c47SEmmanuel Vadot              - qcom,sm8350-qmp-usb3-uni-phy
3385def4c47SEmmanuel Vadot    then:
3395def4c47SEmmanuel Vadot      properties:
3405def4c47SEmmanuel Vadot        clocks:
3415def4c47SEmmanuel Vadot          items:
3425def4c47SEmmanuel Vadot            - description: Phy aux clock.
3435def4c47SEmmanuel Vadot            - description: 19.2 MHz ref clk source.
3445def4c47SEmmanuel Vadot            - description: 19.2 MHz ref clk.
3455def4c47SEmmanuel Vadot            - description: Phy common block aux clock.
3465def4c47SEmmanuel Vadot        clock-names:
3475def4c47SEmmanuel Vadot          items:
3485def4c47SEmmanuel Vadot            - const: aux
3495def4c47SEmmanuel Vadot            - const: ref_clk_src
3505def4c47SEmmanuel Vadot            - const: ref
3515def4c47SEmmanuel Vadot            - const: com_aux
3525def4c47SEmmanuel Vadot        resets:
3535def4c47SEmmanuel Vadot          items:
3545def4c47SEmmanuel Vadot            - description: reset of phy block.
3555def4c47SEmmanuel Vadot            - description: phy common block reset.
3565def4c47SEmmanuel Vadot        reset-names:
3575def4c47SEmmanuel Vadot          items:
3585def4c47SEmmanuel Vadot            - const: phy
3595def4c47SEmmanuel Vadot            - const: common
3605def4c47SEmmanuel Vadot  - if:
3615def4c47SEmmanuel Vadot      properties:
3625def4c47SEmmanuel Vadot        compatible:
3635def4c47SEmmanuel Vadot          contains:
3645def4c47SEmmanuel Vadot            enum:
3655def4c47SEmmanuel Vadot              - qcom,sm8250-qmp-usb3-phy
3665def4c47SEmmanuel Vadot              - qcom,sm8350-qmp-usb3-phy
3675def4c47SEmmanuel Vadot    then:
3685def4c47SEmmanuel Vadot      properties:
3695def4c47SEmmanuel Vadot        clocks:
3705def4c47SEmmanuel Vadot          items:
3715def4c47SEmmanuel Vadot            - description: Phy aux clock.
3725def4c47SEmmanuel Vadot            - description: 19.2 MHz ref clk.
3735def4c47SEmmanuel Vadot            - description: Phy common block aux clock.
3745def4c47SEmmanuel Vadot        clock-names:
3755def4c47SEmmanuel Vadot          items:
3765def4c47SEmmanuel Vadot            - const: aux
3775def4c47SEmmanuel Vadot            - const: ref_clk_src
3785def4c47SEmmanuel Vadot            - const: com_aux
3795def4c47SEmmanuel Vadot        resets:
3805def4c47SEmmanuel Vadot          items:
3815def4c47SEmmanuel Vadot            - description: reset of phy block.
3825def4c47SEmmanuel Vadot            - description: phy common block reset.
3835def4c47SEmmanuel Vadot        reset-names:
3845def4c47SEmmanuel Vadot          items:
3855def4c47SEmmanuel Vadot            - const: phy
3865def4c47SEmmanuel Vadot            - const: common
387c66ec88fSEmmanuel Vadot
388c66ec88fSEmmanuel Vadotexamples:
389c66ec88fSEmmanuel Vadot  - |
390c66ec88fSEmmanuel Vadot    #include <dt-bindings/clock/qcom,gcc-sdm845.h>
391c66ec88fSEmmanuel Vadot    usb_2_qmpphy: phy-wrapper@88eb000 {
392c66ec88fSEmmanuel Vadot        compatible = "qcom,sdm845-qmp-usb3-uni-phy";
393c66ec88fSEmmanuel Vadot        reg = <0x088eb000 0x18c>;
394c66ec88fSEmmanuel Vadot        #clock-cells = <1>;
395c66ec88fSEmmanuel Vadot        #address-cells = <1>;
396c66ec88fSEmmanuel Vadot        #size-cells = <1>;
397c66ec88fSEmmanuel Vadot        ranges = <0x0 0x088eb000 0x2000>;
398c66ec88fSEmmanuel Vadot
399c66ec88fSEmmanuel Vadot        clocks = <&gcc GCC_USB3_SEC_PHY_AUX_CLK >,
400c66ec88fSEmmanuel Vadot                 <&gcc GCC_USB_PHY_CFG_AHB2PHY_CLK>,
401c66ec88fSEmmanuel Vadot                 <&gcc GCC_USB3_SEC_CLKREF_CLK>,
402c66ec88fSEmmanuel Vadot                 <&gcc GCC_USB3_SEC_PHY_COM_AUX_CLK>;
403c66ec88fSEmmanuel Vadot        clock-names = "aux", "cfg_ahb", "ref", "com_aux";
404c66ec88fSEmmanuel Vadot
405c66ec88fSEmmanuel Vadot        resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
406c66ec88fSEmmanuel Vadot                 <&gcc GCC_USB3_PHY_SEC_BCR>;
407c66ec88fSEmmanuel Vadot        reset-names = "phy", "common";
408c66ec88fSEmmanuel Vadot
409c66ec88fSEmmanuel Vadot        vdda-phy-supply = <&vdda_usb2_ss_1p2>;
410c66ec88fSEmmanuel Vadot        vdda-pll-supply = <&vdda_usb2_ss_core>;
411c66ec88fSEmmanuel Vadot
412c66ec88fSEmmanuel Vadot        usb_2_ssphy: phy@200 {
413c66ec88fSEmmanuel Vadot                reg = <0x200 0x128>,
414c66ec88fSEmmanuel Vadot                      <0x400 0x1fc>,
415c66ec88fSEmmanuel Vadot                      <0x800 0x218>,
416c66ec88fSEmmanuel Vadot                      <0x600 0x70>;
417c66ec88fSEmmanuel Vadot                #clock-cells = <0>;
418c66ec88fSEmmanuel Vadot                #phy-cells = <0>;
419c66ec88fSEmmanuel Vadot                clocks = <&gcc GCC_USB3_SEC_PHY_PIPE_CLK>;
420c66ec88fSEmmanuel Vadot                clock-names = "pipe0";
421c66ec88fSEmmanuel Vadot                clock-output-names = "usb3_uni_phy_pipe_clk_src";
422c66ec88fSEmmanuel Vadot            };
423c66ec88fSEmmanuel Vadot        };
424