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