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