blob: 20203a8a9e41a76a37e3f345d353d1b20bdc7bac [file] [log] [blame]
Wesley Chengf06b9fc2020-05-04 16:54:23 -07001# 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
Sandeep Maheswaram6a7d15b2021-03-17 16:31:40 +053019 - qcom,sc7280-usb-hs-phy
Wesley Chengf06b9fc2020-05-04 16:54:23 -070020 - qcom,sm8150-usb-hs-phy
Jack Phamfcba6322021-01-15 09:47:22 -080021 - qcom,sm8250-usb-hs-phy
22 - qcom,sm8350-usb-hs-phy
Wesley Chengf06b9fc2020-05-04 16:54:23 -070023 - 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";
Rob Herring0db958b2020-06-11 08:58:04 -060071 reg = <0x088e2000 0x400>;
Wesley Chengf06b9fc2020-05-04 16:54:23 -070072 #phy-cells = <0>;
73
74 clocks = <&rpmhcc RPMH_CXO_CLK>;
75 clock-names = "ref";
76
77 resets = <&gcc GCC_QUSB2PHY_PRIM_BCR>;
Wesley Chengb9d3e8a2020-05-06 01:26:29 -070078
79 vdda-pll-supply = <&vdd_usb_hs_core>;
80 vdda33-supply = <&vdda_usb_hs_3p1>;
81 vdda18-supply = <&vdda_usb_hs_1p8>;
Wesley Chengf06b9fc2020-05-04 16:54:23 -070082 };
83...