xref: /freebsd/sys/contrib/device-tree/Bindings/phy/hisilicon,hi3660-usb3.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
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-array
31    maxItems: 1
32    description: Eye diagram for phy.
33
34required:
35  - compatible
36  - hisilicon,pericrg-syscon
37  - hisilicon,pctrl-syscon
38  - hisilicon,eye-diagram-param
39  - "#phy-cells"
40
41additionalProperties: false
42
43examples:
44  - |
45    usb-phy {
46        compatible = "hisilicon,hi3660-usb-phy";
47        #phy-cells = <0>;
48        hisilicon,pericrg-syscon = <&crg_ctrl>;
49        hisilicon,pctrl-syscon = <&pctrl>;
50        hisilicon,eye-diagram-param = <0x22466e4>;
51    };
52