Freescale i.MX8MQ USB3 PHY
Schema identifier ($id): "http://devicetree.org/schemas/phy/fsl,imx8mq-usb-phy.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Li Jun <jun.li@nxp.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"fsl,imx8mq-usb-phy","fsl,imx8mp-usb-phy"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"fsl,imx95-usb-phy"Item 2
Exact value (
const):"fsl,imx8mp-usb-phy"
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 2
#phy-cells — required here #
Exact value (const): 0
clocks — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
PHY configuration clock
Item 2
Alternate PHY reference clock
clock-names — required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"phy"
Item 2
Exact value (
const):"alt"
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
vbus-supply — not listed as required here #
A phandle to the regulator for USB VBUS.
fsl,phy-tx-vref-tune-percent — not listed as required here #
Tunes the HS DC level relative to the nominal level
Minimum value (minimum): 90
Maximum value (maximum): 124
fsl,phy-tx-rise-tune-percent — not listed as required here #
Adjusts the rise/fall time duration of the HS waveform relative to its nominal value
Minimum value (minimum): 90
Maximum value (maximum): 120
fsl,phy-tx-preemp-amp-tune-microamp — not listed as required here #
Adjust amount of current sourced to DPn and DMn after a J-to-K or K-to-J transition. Default is 0 (disabled).
Minimum value (minimum): 0
Maximum value (maximum): 1800
fsl,phy-tx-vboost-level-microvolt — not listed as required here #
Adjust the boosted transmit launch pk-pk differential amplitude
Allowed values (enum): 844, 1008, 1156
fsl,phy-comp-dis-tune-percent — not listed as required here #
Adjust the voltage level used to detect a disconnect event at the host relative to the nominal value
Minimum value (minimum): 91
Maximum value (maximum): 115
fsl,phy-pcs-tx-deemph-3p5db-attenuation-db — not listed as required here #
Adjust TX de-emphasis attenuation in dB at nominal 3.5dB point as per USB specification
Minimum value (minimum): 0
Maximum value (maximum): 36
fsl,phy-pcs-tx-swing-full-percent — not listed as required here #
Scaling of the voltage defined by fsl,phy-tx-vboost-level-microvolt
Minimum value (minimum): 0
Maximum value (maximum): 100
Required in this object (required): "compatible", "reg", "#phy-cells", "clocks", "clock-names"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
reg— not listed as required hereArray item rules (
items)Item 1
USB PHY Control range
Item 2
USB PHY TCA Block range
When the condition does not match (
else) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):1
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereAllowed values (
enum):"fsl,imx8mq-usb-phy","fsl,imx8mp-usb-phy"When the condition matches (
then) #Properties and child nodes (
properties)
fsl,phy-tx-vref-tune-percent— not listed as required hereMinimum value (
minimum):94
fsl,phy-tx-rise-tune-percent— not listed as required hereMinimum value (
minimum):97Maximum value (
maximum):103
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Properties and child nodes (
properties)
fsl,phy-tx-vref-tune-percent— not listed as required hereMaximum value (
maximum):108
fsl,phy-comp-dis-tune-percent— not listed as required hereMinimum value (
minimum):94Maximum value (
maximum):104
Rule 4 #
Condition (
if) #When the condition matches (
then) #All of these rules must match (
allOf)Rule 1
Shared schema rule (
$ref):/schemas/usb/usb-switch.yaml#Rule 2
Shared schema rule (
$ref):/schemas/usb/usb-switch-ports.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx8mq-clock.h>
usb3_phy0: phy@381f0040 {
compatible = "fsl,imx8mq-usb-phy";
reg = <0x381f0040 0x40>;
clocks = <&clk IMX8MQ_CLK_USB1_PHY_ROOT>;
clock-names = "phy";
#phy-cells = <0>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)