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