18de6b7edSMauro Carvalho Chehab# SPDX-License-Identifier: GPL-2.0
28de6b7edSMauro Carvalho Chehab%YAML 1.2
38de6b7edSMauro Carvalho Chehab---
48de6b7edSMauro Carvalho Chehab$id: http://devicetree.org/schemas/phy/hisilicon,hi3670-usb3.yaml#
58de6b7edSMauro Carvalho Chehab$schema: http://devicetree.org/meta-schemas/core.yaml#
68de6b7edSMauro Carvalho Chehab
78de6b7edSMauro Carvalho Chehabtitle: Hisilicon Kirin970 USB PHY
88de6b7edSMauro Carvalho Chehab
98de6b7edSMauro Carvalho Chehabmaintainers:
108de6b7edSMauro Carvalho Chehab  - Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
118de6b7edSMauro Carvalho Chehab
128de6b7edSMauro Carvalho Chehabdescription: |+
138de6b7edSMauro Carvalho Chehab  Bindings for USB3 PHY on HiSilicon Kirin 970.
148de6b7edSMauro Carvalho Chehab
158de6b7edSMauro Carvalho Chehabproperties:
168de6b7edSMauro Carvalho Chehab  compatible:
178de6b7edSMauro Carvalho Chehab    const: hisilicon,hi3670-usb-phy
188de6b7edSMauro Carvalho Chehab
198de6b7edSMauro Carvalho Chehab  "#phy-cells":
208de6b7edSMauro Carvalho Chehab    const: 0
218de6b7edSMauro Carvalho Chehab
228de6b7edSMauro Carvalho Chehab  hisilicon,pericrg-syscon:
238de6b7edSMauro Carvalho Chehab    $ref: '/schemas/types.yaml#/definitions/phandle'
248de6b7edSMauro Carvalho Chehab    description: phandle of syscon used to control iso refclk.
258de6b7edSMauro Carvalho Chehab
268de6b7edSMauro Carvalho Chehab  hisilicon,pctrl-syscon:
278de6b7edSMauro Carvalho Chehab    $ref: '/schemas/types.yaml#/definitions/phandle'
288de6b7edSMauro Carvalho Chehab    description: phandle of syscon used to control usb tcxo.
298de6b7edSMauro Carvalho Chehab
308de6b7edSMauro Carvalho Chehab  hisilicon,sctrl-syscon:
318de6b7edSMauro Carvalho Chehab    $ref: '/schemas/types.yaml#/definitions/phandle'
328de6b7edSMauro Carvalho Chehab    description: phandle of syscon used to control phy deep sleep.
338de6b7edSMauro Carvalho Chehab
348de6b7edSMauro Carvalho Chehab  hisilicon,eye-diagram-param:
35*a222d7d9SRob Herring    $ref: /schemas/types.yaml#/definitions/uint32-array
36*a222d7d9SRob Herring    maxItems: 1
378de6b7edSMauro Carvalho Chehab    description: Eye diagram for phy.
388de6b7edSMauro Carvalho Chehab
398de6b7edSMauro Carvalho Chehab  hisilicon,tx-vboost-lvl:
408de6b7edSMauro Carvalho Chehab    $ref: /schemas/types.yaml#/definitions/uint32
418de6b7edSMauro Carvalho Chehab    description: TX level vboost for phy.
428de6b7edSMauro Carvalho Chehab
438de6b7edSMauro Carvalho Chehabrequired:
448de6b7edSMauro Carvalho Chehab  - compatible
458de6b7edSMauro Carvalho Chehab  - hisilicon,pericrg-syscon
468de6b7edSMauro Carvalho Chehab  - hisilicon,pctrl-syscon
478de6b7edSMauro Carvalho Chehab  - hisilicon,sctrl-syscon
488de6b7edSMauro Carvalho Chehab  - hisilicon,eye-diagram-param
498de6b7edSMauro Carvalho Chehab  - hisilicon,tx-vboost-lvl
508de6b7edSMauro Carvalho Chehab  - "#phy-cells"
518de6b7edSMauro Carvalho Chehab
528de6b7edSMauro Carvalho ChehabadditionalProperties: false
538de6b7edSMauro Carvalho Chehab
548de6b7edSMauro Carvalho Chehabexamples:
558de6b7edSMauro Carvalho Chehab  - |
5665c47649SKrzysztof Kozlowski    usb-phy {
578de6b7edSMauro Carvalho Chehab        compatible = "hisilicon,hi3670-usb-phy";
588de6b7edSMauro Carvalho Chehab        #phy-cells = <0>;
598de6b7edSMauro Carvalho Chehab        hisilicon,pericrg-syscon = <&crg_ctrl>;
608de6b7edSMauro Carvalho Chehab        hisilicon,pctrl-syscon = <&pctrl>;
618de6b7edSMauro Carvalho Chehab        hisilicon,sctrl-syscon = <&sctrl>;
628de6b7edSMauro Carvalho Chehab        hisilicon,eye-diagram-param = <0xfdfee4>;
638de6b7edSMauro Carvalho Chehab        hisilicon,tx-vboost-lvl = <0x5>;
648de6b7edSMauro Carvalho Chehab    };
65