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