xref: /freebsd/sys/contrib/device-tree/Bindings/phy/qcom,ipq806x-usb-phy-ss.yaml (revision 5956d97f4b3204318ceb6aa9c77bd0bc6ea87a41)
1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2c66ec88fSEmmanuel Vadot%YAML 1.2
3c66ec88fSEmmanuel Vadot---
4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/phy/qcom,ipq806x-usb-phy-ss.yaml#
5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6c66ec88fSEmmanuel Vadot
7c66ec88fSEmmanuel Vadottitle: Qualcomm ipq806x usb DWC3 SS PHY CONTROLLER
8c66ec88fSEmmanuel Vadot
9c66ec88fSEmmanuel Vadotmaintainers:
10c66ec88fSEmmanuel Vadot  - Ansuel Smith <ansuelsmth@gmail.com>
11c66ec88fSEmmanuel Vadot
12c66ec88fSEmmanuel Vadotdescription:
13c66ec88fSEmmanuel Vadot  DWC3 PHY nodes are defined to describe on-chip Synopsis Physical layer
14c66ec88fSEmmanuel Vadot  controllers used in ipq806x. Each DWC3 PHY controller should have its
15c66ec88fSEmmanuel Vadot  own node.
16c66ec88fSEmmanuel Vadot
17c66ec88fSEmmanuel Vadotproperties:
18c66ec88fSEmmanuel Vadot  compatible:
19c66ec88fSEmmanuel Vadot    const: qcom,ipq806x-usb-phy-ss
20c66ec88fSEmmanuel Vadot
21c66ec88fSEmmanuel Vadot  "#phy-cells":
22c66ec88fSEmmanuel Vadot    const: 0
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadot  reg:
25c66ec88fSEmmanuel Vadot    maxItems: 1
26c66ec88fSEmmanuel Vadot
27c66ec88fSEmmanuel Vadot  clocks:
28c66ec88fSEmmanuel Vadot    minItems: 1
29c66ec88fSEmmanuel Vadot    maxItems: 2
30c66ec88fSEmmanuel Vadot
31c66ec88fSEmmanuel Vadot  clock-names:
32c66ec88fSEmmanuel Vadot    minItems: 1
33c66ec88fSEmmanuel Vadot    items:
34c66ec88fSEmmanuel Vadot      - const: ref
35c66ec88fSEmmanuel Vadot      - const: xo
36c66ec88fSEmmanuel Vadot
37c66ec88fSEmmanuel Vadot  qcom,rx-eq:
38c66ec88fSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
39c66ec88fSEmmanuel Vadot    description: Override value for rx_eq.
40c66ec88fSEmmanuel Vadot    default: 4
41c66ec88fSEmmanuel Vadot    maximum: 7
42c66ec88fSEmmanuel Vadot
43c66ec88fSEmmanuel Vadot  qcom,tx-deamp-3_5db:
44c66ec88fSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
45c66ec88fSEmmanuel Vadot    description: Override value for transmit preemphasis.
46c66ec88fSEmmanuel Vadot    default: 23
47c66ec88fSEmmanuel Vadot    maximum: 63
48c66ec88fSEmmanuel Vadot
49c66ec88fSEmmanuel Vadot  qcom,mpll:
50c66ec88fSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
51c66ec88fSEmmanuel Vadot    description: Override value for mpll.
52c66ec88fSEmmanuel Vadot    default: 0
53c66ec88fSEmmanuel Vadot    maximum: 7
54c66ec88fSEmmanuel Vadot
55c66ec88fSEmmanuel Vadotrequired:
56c66ec88fSEmmanuel Vadot  - compatible
57c66ec88fSEmmanuel Vadot  - "#phy-cells"
58c66ec88fSEmmanuel Vadot  - reg
59c66ec88fSEmmanuel Vadot  - clocks
60c66ec88fSEmmanuel Vadot  - clock-names
61c66ec88fSEmmanuel Vadot
62*6be33864SEmmanuel VadotadditionalProperties: false
63*6be33864SEmmanuel Vadot
64c66ec88fSEmmanuel Vadotexamples:
65c66ec88fSEmmanuel Vadot  - |
66c66ec88fSEmmanuel Vadot    #include <dt-bindings/clock/qcom,gcc-ipq806x.h>
67c66ec88fSEmmanuel Vadot
68c66ec88fSEmmanuel Vadot    ss_phy_0: phy@110f8830 {
69c66ec88fSEmmanuel Vadot      compatible = "qcom,ipq806x-usb-phy-ss";
70c66ec88fSEmmanuel Vadot      reg = <0x110f8830 0x30>;
71c66ec88fSEmmanuel Vadot      clocks = <&gcc USB30_0_MASTER_CLK>;
72c66ec88fSEmmanuel Vadot      clock-names = "ref";
73c66ec88fSEmmanuel Vadot      #phy-cells = <0>;
74c66ec88fSEmmanuel Vadot    };
75