xref: /linux/Documentation/devicetree/bindings/phy/hisilicon,hi3660-usb3.yaml (revision 26fbb4c8c7c3ee9a4c3b4de555a8587b5a19154e)
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    bus {
45      #address-cells = <2>;
46      #size-cells = <2>;
47
48      usb3_otg_bc: usb3_otg_bc@ff200000 {
49        compatible = "syscon", "simple-mfd";
50        reg = <0x0 0xff200000 0x0 0x1000>;
51
52        usb-phy {
53          compatible = "hisilicon,hi3660-usb-phy";
54          #phy-cells = <0>;
55          hisilicon,pericrg-syscon = <&crg_ctrl>;
56          hisilicon,pctrl-syscon = <&pctrl>;
57          hisilicon,eye-diagram-param = <0x22466e4>;
58        };
59      };
60    };
61