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,sc7280-usb-hs-phy
20      - qcom,sm8150-usb-hs-phy
21      - qcom,sm8250-usb-hs-phy
22      - qcom,sm8350-usb-hs-phy
23      - qcom,sm8450-usb-hs-phy
24      - qcom,usb-snps-femto-v2-phy
25
26  reg:
27    maxItems: 1
28
29  "#phy-cells":
30    const: 0
31
32  clocks:
33    items:
34      - description: rpmhcc ref clock
35
36  clock-names:
37    items:
38      - const: ref
39
40  resets:
41    items:
42      - description: PHY core reset
43
44  vdda-pll-supply:
45    description: phandle to the regulator VDD supply node.
46
47  vdda18-supply:
48    description: phandle to the regulator 1.8V supply node.
49
50  vdda33-supply:
51    description: phandle to the regulator 3.3V supply node.
52
53required:
54  - compatible
55  - reg
56  - "#phy-cells"
57  - clocks
58  - clock-names
59  - resets
60  - vdda-pll-supply
61  - vdda18-supply
62  - vdda33-supply
63
64additionalProperties: false
65
66examples:
67  - |
68    #include <dt-bindings/clock/qcom,rpmh.h>
69    #include <dt-bindings/clock/qcom,gcc-sm8150.h>
70    phy@88e2000 {
71        compatible = "qcom,sm8150-usb-hs-phy";
72        reg = <0x088e2000 0x400>;
73        #phy-cells = <0>;
74
75        clocks = <&rpmhcc RPMH_CXO_CLK>;
76        clock-names = "ref";
77
78        resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
79
80        vdda-pll-supply = <&vdd_usb_hs_core>;
81        vdda33-supply = <&vdda_usb_hs_3p1>;
82        vdda18-supply = <&vdda_usb_hs_1p8>;
83    };
84...
85