1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/phy/hisilicon,hi3660-usb3.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Hisilicon Kirin 960 USB PHY
8
9maintainers:
10  - Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
11description: |+
12  Bindings for USB3 PHY on HiSilicon Kirin 960.
13
14properties:
15  compatible:
16    const: hisilicon,hi3660-usb-phy
17
18  "#phy-cells":
19    const: 0
20
21  hisilicon,pericrg-syscon:
22    $ref: '/schemas/types.yaml#/definitions/phandle'
23    description: phandle of syscon used to control iso refclk.
24
25  hisilicon,pctrl-syscon:
26    $ref: '/schemas/types.yaml#/definitions/phandle'
27    description: phandle of syscon used to control usb tcxo.
28
29  hisilicon,eye-diagram-param:
30    $ref: /schemas/types.yaml#/definitions/uint32
31    description: Eye diagram for phy.
32
33required:
34  - compatible
35  - hisilicon,pericrg-syscon
36  - hisilicon,pctrl-syscon
37  - hisilicon,eye-diagram-param
38  - "#phy-cells"
39
40additionalProperties: false
41
42examples:
43  - |
44    usb-phy {
45        compatible = "hisilicon,hi3660-usb-phy";
46        #phy-cells = <0>;
47        hisilicon,pericrg-syscon = <&crg_ctrl>;
48        hisilicon,pctrl-syscon = <&pctrl>;
49        hisilicon,eye-diagram-param = <0x22466e4>;
50    };
51