xref: /linux/Documentation/devicetree/bindings/phy/qcom,snps-eusb2-phy.yaml (revision 05d32474ab547fb097cfe3f3eb00a2aa7cdf4067)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/phy/qcom,snps-eusb2-phy.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Qualcomm SNPS eUSB2 phy controller
8
9maintainers:
10  - Abel Vesa <abel.vesa@linaro.org>
11
12description:
13  eUSB2 controller supports LS/FS/HS usb connectivity on Qualcomm chipsets.
14
15properties:
16  compatible:
17    oneOf:
18      - items:
19          - enum:
20              - qcom,eliza-snps-eusb2-phy
21              - qcom,milos-snps-eusb2-phy
22              - qcom,sar2130p-snps-eusb2-phy
23              - qcom,sdx75-snps-eusb2-phy
24              - qcom,sm8650-snps-eusb2-phy
25              - qcom,x1e80100-snps-eusb2-phy
26          - const: qcom,sm8550-snps-eusb2-phy
27      - const: qcom,sm8550-snps-eusb2-phy
28
29  reg:
30    maxItems: 1
31
32  "#phy-cells":
33    const: 0
34
35  clocks:
36    items:
37      - description: ref
38
39  clock-names:
40    items:
41      - const: ref
42
43  resets:
44    maxItems: 1
45
46  phys:
47    maxItems: 1
48    description:
49      Phandle to eUSB2 to USB 2.0 repeater
50
51  vdd-supply:
52    description:
53      Phandle to 0.88V regulator supply to PHY digital circuit.
54
55  vdda12-supply:
56    description:
57      Phandle to 1.2V regulator supply to PHY refclk pll block.
58
59required:
60  - compatible
61  - reg
62  - "#phy-cells"
63  - clocks
64  - clock-names
65  - vdd-supply
66  - vdda12-supply
67  - resets
68
69additionalProperties: false
70
71examples:
72  - |
73    #include <dt-bindings/clock/qcom,sm8550-gcc.h>
74    #include <dt-bindings/clock/qcom,rpmh.h>
75    #include <dt-bindings/clock/qcom,sm8550-tcsr.h>
76
77    usb_1_hsphy: phy@88e3000 {
78        compatible = "qcom,sm8550-snps-eusb2-phy";
79        reg = <0x88e3000 0x154>;
80        #phy-cells = <0>;
81
82        clocks = <&tcsrcc TCSR_USB2_CLKREF_EN>;
83        clock-names = "ref";
84
85        vdd-supply = <&vreg_l1e_0p88>;
86        vdda12-supply = <&vreg_l3e_1p2>;
87
88        resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
89    };
90