xref: /linux/Documentation/devicetree/bindings/phy/hisilicon,hi3670-usb3.yaml (revision 8a922b7728a93d837954315c98b84f6b78de0c4f)
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/phy/hisilicon,hi3670-usb3.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Hisilicon Kirin970 USB PHY
8
9maintainers:
10  - Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
11
12description: |+
13  Bindings for USB3 PHY on HiSilicon Kirin 970.
14
15properties:
16  compatible:
17    const: hisilicon,hi3670-usb-phy
18
19  "#phy-cells":
20    const: 0
21
22  hisilicon,pericrg-syscon:
23    $ref: '/schemas/types.yaml#/definitions/phandle'
24    description: phandle of syscon used to control iso refclk.
25
26  hisilicon,pctrl-syscon:
27    $ref: '/schemas/types.yaml#/definitions/phandle'
28    description: phandle of syscon used to control usb tcxo.
29
30  hisilicon,sctrl-syscon:
31    $ref: '/schemas/types.yaml#/definitions/phandle'
32    description: phandle of syscon used to control phy deep sleep.
33
34  hisilicon,eye-diagram-param:
35    $ref: /schemas/types.yaml#/definitions/uint32-array
36    maxItems: 1
37    description: Eye diagram for phy.
38
39  hisilicon,tx-vboost-lvl:
40    $ref: /schemas/types.yaml#/definitions/uint32
41    description: TX level vboost for phy.
42
43required:
44  - compatible
45  - hisilicon,pericrg-syscon
46  - hisilicon,pctrl-syscon
47  - hisilicon,sctrl-syscon
48  - hisilicon,eye-diagram-param
49  - hisilicon,tx-vboost-lvl
50  - "#phy-cells"
51
52additionalProperties: false
53
54examples:
55  - |
56    usb-phy {
57        compatible = "hisilicon,hi3670-usb-phy";
58        #phy-cells = <0>;
59        hisilicon,pericrg-syscon = <&crg_ctrl>;
60        hisilicon,pctrl-syscon = <&pctrl>;
61        hisilicon,sctrl-syscon = <&sctrl>;
62        hisilicon,eye-diagram-param = <0xfdfee4>;
63        hisilicon,tx-vboost-lvl = <0x5>;
64    };
65