15956d97fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0
25956d97fSEmmanuel Vadot%YAML 1.2
35956d97fSEmmanuel Vadot---
45956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/phy/hisilicon,hi3670-usb3.yaml#
55956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65956d97fSEmmanuel Vadot
75956d97fSEmmanuel Vadottitle: Hisilicon Kirin970 USB PHY
85956d97fSEmmanuel Vadot
95956d97fSEmmanuel Vadotmaintainers:
105956d97fSEmmanuel Vadot  - Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
115956d97fSEmmanuel Vadot
125956d97fSEmmanuel Vadotdescription: |+
135956d97fSEmmanuel Vadot  Bindings for USB3 PHY on HiSilicon Kirin 970.
145956d97fSEmmanuel Vadot
155956d97fSEmmanuel Vadotproperties:
165956d97fSEmmanuel Vadot  compatible:
175956d97fSEmmanuel Vadot    const: hisilicon,hi3670-usb-phy
185956d97fSEmmanuel Vadot
195956d97fSEmmanuel Vadot  "#phy-cells":
205956d97fSEmmanuel Vadot    const: 0
215956d97fSEmmanuel Vadot
225956d97fSEmmanuel Vadot  hisilicon,pericrg-syscon:
23*fac71e4eSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle
245956d97fSEmmanuel Vadot    description: phandle of syscon used to control iso refclk.
255956d97fSEmmanuel Vadot
265956d97fSEmmanuel Vadot  hisilicon,pctrl-syscon:
27*fac71e4eSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle
285956d97fSEmmanuel Vadot    description: phandle of syscon used to control usb tcxo.
295956d97fSEmmanuel Vadot
305956d97fSEmmanuel Vadot  hisilicon,sctrl-syscon:
31*fac71e4eSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle
325956d97fSEmmanuel Vadot    description: phandle of syscon used to control phy deep sleep.
335956d97fSEmmanuel Vadot
345956d97fSEmmanuel Vadot  hisilicon,eye-diagram-param:
35cb7aa33aSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32-array
36cb7aa33aSEmmanuel Vadot    maxItems: 1
375956d97fSEmmanuel Vadot    description: Eye diagram for phy.
385956d97fSEmmanuel Vadot
395956d97fSEmmanuel Vadot  hisilicon,tx-vboost-lvl:
405956d97fSEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
415956d97fSEmmanuel Vadot    description: TX level vboost for phy.
425956d97fSEmmanuel Vadot
435956d97fSEmmanuel Vadotrequired:
445956d97fSEmmanuel Vadot  - compatible
455956d97fSEmmanuel Vadot  - hisilicon,pericrg-syscon
465956d97fSEmmanuel Vadot  - hisilicon,pctrl-syscon
475956d97fSEmmanuel Vadot  - hisilicon,sctrl-syscon
485956d97fSEmmanuel Vadot  - hisilicon,eye-diagram-param
495956d97fSEmmanuel Vadot  - hisilicon,tx-vboost-lvl
505956d97fSEmmanuel Vadot  - "#phy-cells"
515956d97fSEmmanuel Vadot
525956d97fSEmmanuel VadotadditionalProperties: false
535956d97fSEmmanuel Vadot
545956d97fSEmmanuel Vadotexamples:
555956d97fSEmmanuel Vadot  - |
567ef62cebSEmmanuel Vadot    usb-phy {
575956d97fSEmmanuel Vadot        compatible = "hisilicon,hi3670-usb-phy";
585956d97fSEmmanuel Vadot        #phy-cells = <0>;
595956d97fSEmmanuel Vadot        hisilicon,pericrg-syscon = <&crg_ctrl>;
605956d97fSEmmanuel Vadot        hisilicon,pctrl-syscon = <&pctrl>;
615956d97fSEmmanuel Vadot        hisilicon,sctrl-syscon = <&sctrl>;
625956d97fSEmmanuel Vadot        hisilicon,eye-diagram-param = <0xfdfee4>;
635956d97fSEmmanuel Vadot        hisilicon,tx-vboost-lvl = <0x5>;
645956d97fSEmmanuel Vadot    };
65