xref: /freebsd/sys/contrib/device-tree/Bindings/phy/hisilicon,hi3660-usb3.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
16be33864SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
26be33864SEmmanuel Vadot%YAML 1.2
36be33864SEmmanuel Vadot---
46be33864SEmmanuel Vadot$id: http://devicetree.org/schemas/phy/hisilicon,hi3660-usb3.yaml#
56be33864SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
66be33864SEmmanuel Vadot
76be33864SEmmanuel Vadottitle: Hisilicon Kirin 960 USB PHY
86be33864SEmmanuel Vadot
96be33864SEmmanuel Vadotmaintainers:
106be33864SEmmanuel Vadot  - Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
116be33864SEmmanuel Vadotdescription: |+
126be33864SEmmanuel Vadot  Bindings for USB3 PHY on HiSilicon Kirin 960.
136be33864SEmmanuel Vadot
146be33864SEmmanuel Vadotproperties:
156be33864SEmmanuel Vadot  compatible:
166be33864SEmmanuel Vadot    const: hisilicon,hi3660-usb-phy
176be33864SEmmanuel Vadot
186be33864SEmmanuel Vadot  "#phy-cells":
196be33864SEmmanuel Vadot    const: 0
206be33864SEmmanuel Vadot
216be33864SEmmanuel Vadot  hisilicon,pericrg-syscon:
22*fac71e4eSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle
236be33864SEmmanuel Vadot    description: phandle of syscon used to control iso refclk.
246be33864SEmmanuel Vadot
256be33864SEmmanuel Vadot  hisilicon,pctrl-syscon:
26*fac71e4eSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle
276be33864SEmmanuel Vadot    description: phandle of syscon used to control usb tcxo.
286be33864SEmmanuel Vadot
296be33864SEmmanuel Vadot  hisilicon,eye-diagram-param:
30cb7aa33aSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32-array
31cb7aa33aSEmmanuel Vadot    maxItems: 1
326be33864SEmmanuel Vadot    description: Eye diagram for phy.
336be33864SEmmanuel Vadot
346be33864SEmmanuel Vadotrequired:
356be33864SEmmanuel Vadot  - compatible
366be33864SEmmanuel Vadot  - hisilicon,pericrg-syscon
376be33864SEmmanuel Vadot  - hisilicon,pctrl-syscon
386be33864SEmmanuel Vadot  - hisilicon,eye-diagram-param
396be33864SEmmanuel Vadot  - "#phy-cells"
406be33864SEmmanuel Vadot
416be33864SEmmanuel VadotadditionalProperties: false
426be33864SEmmanuel Vadot
436be33864SEmmanuel Vadotexamples:
446be33864SEmmanuel Vadot  - |
456be33864SEmmanuel Vadot    usb-phy {
466be33864SEmmanuel Vadot        compatible = "hisilicon,hi3660-usb-phy";
476be33864SEmmanuel Vadot        #phy-cells = <0>;
486be33864SEmmanuel Vadot        hisilicon,pericrg-syscon = <&crg_ctrl>;
496be33864SEmmanuel Vadot        hisilicon,pctrl-syscon = <&pctrl>;
506be33864SEmmanuel Vadot        hisilicon,eye-diagram-param = <0x22466e4>;
516be33864SEmmanuel Vadot    };
52