xref: /freebsd/sys/contrib/device-tree/Bindings/phy/qcom,usb-ss.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4*fac71e4eSEmmanuel Vadot$id: http://devicetree.org/schemas/phy/qcom,usb-ss.yaml#
5*fac71e4eSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: Qualcomm Synopsys 1.0.0 SuperSpeed USB PHY
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Bryan O'Donoghue <bryan.odonoghue@linaro.org>
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel Vadotdescription: |
13c66ec88fSEmmanuel Vadot  Qualcomm Synopsys 1.0.0 SuperSpeed USB PHY
14c66ec88fSEmmanuel Vadot
15c66ec88fSEmmanuel Vadotproperties:
16c66ec88fSEmmanuel Vadot  compatible:
17c66ec88fSEmmanuel Vadot    enum:
18c66ec88fSEmmanuel Vadot      - qcom,usb-ss-28nm-phy
19c66ec88fSEmmanuel Vadot
20c66ec88fSEmmanuel Vadot  reg:
21c66ec88fSEmmanuel Vadot    maxItems: 1
22c66ec88fSEmmanuel Vadot
23c66ec88fSEmmanuel Vadot  "#phy-cells":
24c66ec88fSEmmanuel Vadot    const: 0
25c66ec88fSEmmanuel Vadot
26c66ec88fSEmmanuel Vadot  clocks:
27c66ec88fSEmmanuel Vadot    items:
28c66ec88fSEmmanuel Vadot      - description: rpmcc clock
29c66ec88fSEmmanuel Vadot      - description: PHY AHB clock
30c66ec88fSEmmanuel Vadot      - description: SuperSpeed pipe clock
31c66ec88fSEmmanuel Vadot
32c66ec88fSEmmanuel Vadot  clock-names:
33c66ec88fSEmmanuel Vadot    items:
34c66ec88fSEmmanuel Vadot      - const: ref
35c66ec88fSEmmanuel Vadot      - const: ahb
36c66ec88fSEmmanuel Vadot      - const: pipe
37c66ec88fSEmmanuel Vadot
38c66ec88fSEmmanuel Vadot  vdd-supply:
39c66ec88fSEmmanuel Vadot    description: phandle to the regulator VDD supply node.
40c66ec88fSEmmanuel Vadot
41c66ec88fSEmmanuel Vadot  vdda1p8-supply:
42c66ec88fSEmmanuel Vadot    description: phandle to the regulator 1.8V supply node.
43c66ec88fSEmmanuel Vadot
44c66ec88fSEmmanuel Vadot  resets:
45c66ec88fSEmmanuel Vadot    items:
46c66ec88fSEmmanuel Vadot      - description: COM reset
47c66ec88fSEmmanuel Vadot      - description: PHY reset line
48c66ec88fSEmmanuel Vadot
49c66ec88fSEmmanuel Vadot  reset-names:
50c66ec88fSEmmanuel Vadot    items:
51c66ec88fSEmmanuel Vadot      - const: com
52c66ec88fSEmmanuel Vadot      - const: phy
53c66ec88fSEmmanuel Vadot
54c66ec88fSEmmanuel Vadotrequired:
55c66ec88fSEmmanuel Vadot  - compatible
56c66ec88fSEmmanuel Vadot  - reg
57c66ec88fSEmmanuel Vadot  - "#phy-cells"
58c66ec88fSEmmanuel Vadot  - clocks
59c66ec88fSEmmanuel Vadot  - clock-names
60c66ec88fSEmmanuel Vadot  - vdd-supply
61c66ec88fSEmmanuel Vadot  - vdda1p8-supply
62c66ec88fSEmmanuel Vadot
63c66ec88fSEmmanuel VadotadditionalProperties: false
64c66ec88fSEmmanuel Vadot
65c66ec88fSEmmanuel Vadotexamples:
66c66ec88fSEmmanuel Vadot  - |
67c66ec88fSEmmanuel Vadot    #include <dt-bindings/clock/qcom,gcc-qcs404.h>
68c66ec88fSEmmanuel Vadot    #include <dt-bindings/clock/qcom,rpmcc.h>
69c66ec88fSEmmanuel Vadot    usb3_phy: usb3-phy@78000 {
70c66ec88fSEmmanuel Vadot        compatible = "qcom,usb-ss-28nm-phy";
71c66ec88fSEmmanuel Vadot        reg = <0x78000 0x400>;
72c66ec88fSEmmanuel Vadot        #phy-cells = <0>;
73c66ec88fSEmmanuel Vadot        clocks = <&rpmcc RPM_SMD_LN_BB_CLK>,
74c66ec88fSEmmanuel Vadot                 <&gcc GCC_USB_HS_PHY_CFG_AHB_CLK>,
75c66ec88fSEmmanuel Vadot                 <&gcc GCC_USB3_PHY_PIPE_CLK>;
76c66ec88fSEmmanuel Vadot        clock-names = "ref", "ahb", "pipe";
77c66ec88fSEmmanuel Vadot        resets = <&gcc GCC_USB3_PHY_BCR>,
78c66ec88fSEmmanuel Vadot                 <&gcc GCC_USB3PHY_PHY_BCR>;
79c66ec88fSEmmanuel Vadot        reset-names = "com", "phy";
80c66ec88fSEmmanuel Vadot        vdd-supply = <&vreg_l3_1p05>;
81c66ec88fSEmmanuel Vadot        vdda1p8-supply = <&vreg_l5_1p8>;
82c66ec88fSEmmanuel Vadot    };
83c66ec88fSEmmanuel Vadot...
84