NXP iMX8MQ Soc USB Controller

Schema identifier ($id): "http://devicetree.org/schemas/usb/fsl,imx8mq-dwc3.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Li Jun <jun.li@nxp.com>", "Peng Fan <peng.fan@nxp.com>"

Automatic schema selection (select) #

Properties and child nodes (properties) #

compatible — required here #

Rule for matching array elements (contains)

Allowed values (enum): "fsl,imx8mq-dwc3"

Required in this object (required): "compatible"

Properties and child nodes (properties) #

compatible — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "fsl,imx8mq-dwc3"

Item 2

Exact value (const): "snps,dwc3"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): snps,dwc3.yaml#

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/imx8mq-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>

usb_dwc3_1: usb@38200000 {
    compatible = "fsl,imx8mq-dwc3", "snps,dwc3";
    reg = <0x38200000 0x10000>;
    clocks = <&clk IMX8MQ_CLK_USB2_CTRL_ROOT>,
             <&clk IMX8MQ_CLK_USB_CORE_REF>,
             <&clk IMX8MQ_CLK_32K>;
    clock-names = "bus_early", "ref", "suspend";
    interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
    phys = <&usb3_phy1>, <&usb3_phy1>;
    phy-names = "usb2-phy", "usb3-phy";
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page