xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/phy/qcom,ipq806x-usb-phy-hs.yaml (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*4882a593Smuzhiyun%YAML 1.2
3*4882a593Smuzhiyun---
4*4882a593Smuzhiyun$id: http://devicetree.org/schemas/phy/qcom,ipq806x-usb-phy-hs.yaml#
5*4882a593Smuzhiyun$schema: http://devicetree.org/meta-schemas/core.yaml#
6*4882a593Smuzhiyun
7*4882a593Smuzhiyuntitle: Qualcomm ipq806x usb DWC3 HS PHY CONTROLLER
8*4882a593Smuzhiyun
9*4882a593Smuzhiyunmaintainers:
10*4882a593Smuzhiyun  - Ansuel Smith <ansuelsmth@gmail.com>
11*4882a593Smuzhiyun
12*4882a593Smuzhiyundescription:
13*4882a593Smuzhiyun  DWC3 PHY nodes are defined to describe on-chip Synopsis Physical layer
14*4882a593Smuzhiyun  controllers used in ipq806x. Each DWC3 PHY controller should have its
15*4882a593Smuzhiyun  own node.
16*4882a593Smuzhiyun
17*4882a593Smuzhiyunproperties:
18*4882a593Smuzhiyun  compatible:
19*4882a593Smuzhiyun    const: qcom,ipq806x-usb-phy-hs
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun  "#phy-cells":
22*4882a593Smuzhiyun    const: 0
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun  reg:
25*4882a593Smuzhiyun    maxItems: 1
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun  clocks:
28*4882a593Smuzhiyun    minItems: 1
29*4882a593Smuzhiyun    maxItems: 2
30*4882a593Smuzhiyun
31*4882a593Smuzhiyun  clock-names:
32*4882a593Smuzhiyun    minItems: 1
33*4882a593Smuzhiyun    maxItems: 2
34*4882a593Smuzhiyun    items:
35*4882a593Smuzhiyun      - const: ref
36*4882a593Smuzhiyun      - const: xo
37*4882a593Smuzhiyun
38*4882a593Smuzhiyunrequired:
39*4882a593Smuzhiyun  - compatible
40*4882a593Smuzhiyun  - "#phy-cells"
41*4882a593Smuzhiyun  - reg
42*4882a593Smuzhiyun  - clocks
43*4882a593Smuzhiyun  - clock-names
44*4882a593Smuzhiyun
45*4882a593SmuzhiyunadditionalProperties: false
46*4882a593Smuzhiyun
47*4882a593Smuzhiyunexamples:
48*4882a593Smuzhiyun  - |
49*4882a593Smuzhiyun    #include <dt-bindings/clock/qcom,gcc-ipq806x.h>
50*4882a593Smuzhiyun
51*4882a593Smuzhiyun    hs_phy_0: phy@110f8800 {
52*4882a593Smuzhiyun      compatible = "qcom,ipq806x-usb-phy-hs";
53*4882a593Smuzhiyun      reg = <0x110f8800 0x30>;
54*4882a593Smuzhiyun      clocks = <&gcc USB30_0_UTMI_CLK>;
55*4882a593Smuzhiyun      clock-names = "ref";
56*4882a593Smuzhiyun      #phy-cells = <0>;
57*4882a593Smuzhiyun    };
58