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