xref: /linux/Documentation/devicetree/bindings/phy/qcom,m31-eusb2-phy.yaml (revision 8582976acc8504cec53a7b6fed493435eba8437f)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/phy/qcom,m31-eusb2-phy.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm M31 eUSB2 phy
8
9maintainers:
10  - Wesley Cheng <quic_wcheng@quicinc.com>
11
12description:
13  M31 based eUSB2 controller, which supports LS/FS/HS usb connectivity
14  on Qualcomm chipsets.  It is paired with a eUSB2 repeater.
15
16properties:
17  compatible:
18    items:
19      - enum:
20          - qcom,sm8750-m31-eusb2-phy
21
22  reg:
23    maxItems: 1
24
25  "#phy-cells":
26    const: 0
27
28  clocks:
29    items:
30      - description: reference clock
31
32  clock-names:
33    items:
34      - const: ref
35
36  resets:
37    maxItems: 1
38
39  phys:
40    maxItems: 1
41    description:
42      Phandle to eUSB2 repeater
43
44  vdd-supply:
45    description:
46      Phandle to 0.88V regulator supply to PHY digital circuit.
47
48  vdda12-supply:
49    description:
50      Phandle to 1.2V regulator supply to PHY refclk pll block.
51
52required:
53  - compatible
54  - reg
55  - "#phy-cells"
56  - clocks
57  - clock-names
58  - resets
59  - vdd-supply
60  - vdda12-supply
61
62additionalProperties: false
63
64examples:
65  - |
66    usb_1_hsphy: phy@88e3000 {
67        compatible = "qcom,sm8750-m31-eusb2-phy";
68        reg = <0x88e3000 0x29c>;
69
70        clocks = <&tcsrcc_usb2_clkref_en>;
71        clock-names = "ref";
72
73        resets = <&gcc_qusb2phy_prim_bcr>;
74
75        #phy-cells = <0>;
76
77        vdd-supply = <&vreg_l2d_0p88>;
78        vdda12-supply = <&vreg_l3g_1p2>;
79    };
80