1354d7675SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2354d7675SEmmanuel Vadot%YAML 1.2 3354d7675SEmmanuel Vadot--- 4354d7675SEmmanuel Vadot$id: http://devicetree.org/schemas/phy/fsl,imx8mq-usb-phy.yaml# 5354d7675SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6354d7675SEmmanuel Vadot 78bab661aSEmmanuel Vadottitle: Freescale i.MX8MQ USB3 PHY 8354d7675SEmmanuel Vadot 9354d7675SEmmanuel Vadotmaintainers: 10354d7675SEmmanuel Vadot - Li Jun <jun.li@nxp.com> 11354d7675SEmmanuel Vadot 12354d7675SEmmanuel Vadotproperties: 13354d7675SEmmanuel Vadot compatible: 14354d7675SEmmanuel Vadot enum: 15354d7675SEmmanuel Vadot - fsl,imx8mq-usb-phy 16354d7675SEmmanuel Vadot - fsl,imx8mp-usb-phy 17354d7675SEmmanuel Vadot 18354d7675SEmmanuel Vadot reg: 19354d7675SEmmanuel Vadot maxItems: 1 20354d7675SEmmanuel Vadot 21354d7675SEmmanuel Vadot "#phy-cells": 22354d7675SEmmanuel Vadot const: 0 23354d7675SEmmanuel Vadot 24354d7675SEmmanuel Vadot clocks: 25354d7675SEmmanuel Vadot maxItems: 1 26354d7675SEmmanuel Vadot 27354d7675SEmmanuel Vadot clock-names: 28354d7675SEmmanuel Vadot items: 29354d7675SEmmanuel Vadot - const: phy 30354d7675SEmmanuel Vadot 318bab661aSEmmanuel Vadot power-domains: 328bab661aSEmmanuel Vadot maxItems: 1 338bab661aSEmmanuel Vadot 34354d7675SEmmanuel Vadot vbus-supply: 35354d7675SEmmanuel Vadot description: 36354d7675SEmmanuel Vadot A phandle to the regulator for USB VBUS. 37354d7675SEmmanuel Vadot 38*f126890aSEmmanuel Vadot fsl,phy-tx-vref-tune-percent: 39*f126890aSEmmanuel Vadot description: 40*f126890aSEmmanuel Vadot Tunes the HS DC level relative to the nominal level 41*f126890aSEmmanuel Vadot minimum: 94 42*f126890aSEmmanuel Vadot maximum: 124 43*f126890aSEmmanuel Vadot 44*f126890aSEmmanuel Vadot fsl,phy-tx-rise-tune-percent: 45*f126890aSEmmanuel Vadot description: 46*f126890aSEmmanuel Vadot Adjusts the rise/fall time duration of the HS waveform relative to 47*f126890aSEmmanuel Vadot its nominal value 48*f126890aSEmmanuel Vadot minimum: 97 49*f126890aSEmmanuel Vadot maximum: 103 50*f126890aSEmmanuel Vadot 51*f126890aSEmmanuel Vadot fsl,phy-tx-preemp-amp-tune-microamp: 52*f126890aSEmmanuel Vadot description: 53*f126890aSEmmanuel Vadot Adjust amount of current sourced to DPn and DMn after a J-to-K 54*f126890aSEmmanuel Vadot or K-to-J transition. Default is 0 (disabled). 55*f126890aSEmmanuel Vadot minimum: 0 56*f126890aSEmmanuel Vadot maximum: 1800 57*f126890aSEmmanuel Vadot 58*f126890aSEmmanuel Vadot fsl,phy-tx-vboost-level-microvolt: 59*f126890aSEmmanuel Vadot description: 60*f126890aSEmmanuel Vadot Adjust the boosted transmit launch pk-pk differential amplitude 61*f126890aSEmmanuel Vadot minimum: 880 62*f126890aSEmmanuel Vadot maximum: 1120 63*f126890aSEmmanuel Vadot 64*f126890aSEmmanuel Vadot fsl,phy-comp-dis-tune-percent: 65*f126890aSEmmanuel Vadot description: 66*f126890aSEmmanuel Vadot Adjust the voltage level used to detect a disconnect event at the host 67*f126890aSEmmanuel Vadot relative to the nominal value 68*f126890aSEmmanuel Vadot minimum: 91 69*f126890aSEmmanuel Vadot maximum: 115 70*f126890aSEmmanuel Vadot 71*f126890aSEmmanuel Vadot fsl,phy-pcs-tx-deemph-3p5db-attenuation-db: 72*f126890aSEmmanuel Vadot description: 73*f126890aSEmmanuel Vadot Adjust TX de-emphasis attenuation in dB at nominal 74*f126890aSEmmanuel Vadot 3.5dB point as per USB specification 75*f126890aSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 76*f126890aSEmmanuel Vadot minimum: 0 77*f126890aSEmmanuel Vadot maximum: 36 78*f126890aSEmmanuel Vadot 79*f126890aSEmmanuel Vadot fsl,phy-pcs-tx-swing-full-percent: 80*f126890aSEmmanuel Vadot description: 81*f126890aSEmmanuel Vadot Scaling of the voltage defined by fsl,phy-tx-vboost-level-microvolt 82*f126890aSEmmanuel Vadot minimum: 0 83*f126890aSEmmanuel Vadot maximum: 100 84*f126890aSEmmanuel Vadot 85354d7675SEmmanuel Vadotrequired: 86354d7675SEmmanuel Vadot - compatible 87354d7675SEmmanuel Vadot - reg 88354d7675SEmmanuel Vadot - "#phy-cells" 89354d7675SEmmanuel Vadot - clocks 90354d7675SEmmanuel Vadot - clock-names 91354d7675SEmmanuel Vadot 92354d7675SEmmanuel VadotadditionalProperties: false 93354d7675SEmmanuel Vadot 94354d7675SEmmanuel Vadotexamples: 95354d7675SEmmanuel Vadot - | 96354d7675SEmmanuel Vadot #include <dt-bindings/clock/imx8mq-clock.h> 97354d7675SEmmanuel Vadot usb3_phy0: phy@381f0040 { 98354d7675SEmmanuel Vadot compatible = "fsl,imx8mq-usb-phy"; 99354d7675SEmmanuel Vadot reg = <0x381f0040 0x40>; 100354d7675SEmmanuel Vadot clocks = <&clk IMX8MQ_CLK_USB1_PHY_ROOT>; 101354d7675SEmmanuel Vadot clock-names = "phy"; 102354d7675SEmmanuel Vadot #phy-cells = <0>; 103354d7675SEmmanuel Vadot }; 104