1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: "http://devicetree.org/schemas/phy/qcom,usb-snps-femto-v2.yaml#"
5$schema: "http://devicetree.org/meta-schemas/core.yaml#"
6
7title: Qualcomm Synopsys Femto High-Speed USB PHY V2
8
9maintainers:
10  - Wesley Cheng <wcheng@codeaurora.org>
11
12description: |
13  Qualcomm High-Speed USB PHY
14
15properties:
16  compatible:
17    enum:
18      - qcom,usb-snps-hs-7nm-phy
19      - qcom,sm8150-usb-hs-phy
20      - qcom,usb-snps-femto-v2-phy
21
22  reg:
23    maxItems: 1
24
25  "#phy-cells":
26    const: 0
27
28  clocks:
29    items:
30      - description: rpmhcc ref clock
31
32  clock-names:
33    items:
34      - const: ref
35
36  resets:
37    items:
38      - description: PHY core reset
39
40  vdda-pll-supply:
41    description: phandle to the regulator VDD supply node.
42
43  vdda18-supply:
44    description: phandle to the regulator 1.8V supply node.
45
46  vdda33-supply:
47    description: phandle to the regulator 3.3V supply node.
48
49required:
50  - compatible
51  - reg
52  - "#phy-cells"
53  - clocks
54  - clock-names
55  - resets
56  - vdda-pll-supply
57  - vdda18-supply
58  - vdda33-supply
59
60additionalProperties: false
61
62examples:
63  - |
64    #include <dt-bindings/clock/qcom,rpmh.h>
65    #include <dt-bindings/clock/qcom,gcc-sm8150.h>
66    phy@88e2000 {
67        compatible = "qcom,sm8150-usb-hs-phy";
68        reg = <0x088e2000 0x400>;
69        #phy-cells = <0>;
70
71        clocks = <&rpmhcc RPMH_CXO_CLK>;
72        clock-names = "ref";
73
74        resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
75
76        vdda-pll-supply = <&vdd_usb_hs_core>;
77        vdda33-supply = <&vdda_usb_hs_3p1>;
78        vdda18-supply = <&vdda_usb_hs_1p8>;
79    };
80...
81