1*092a2a78SPeng Fan# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*092a2a78SPeng Fan%YAML 1.2
3*092a2a78SPeng Fan---
4*092a2a78SPeng Fan$id: http://devicetree.org/schemas/usb/fsl,imx8mq-dwc3.yaml#
5*092a2a78SPeng Fan$schema: http://devicetree.org/meta-schemas/core.yaml#
6*092a2a78SPeng Fan
7*092a2a78SPeng Fantitle: NXP iMX8MQ Soc USB Controller
8*092a2a78SPeng Fan
9*092a2a78SPeng Fanmaintainers:
10*092a2a78SPeng Fan  - Li Jun <jun.li@nxp.com>
11*092a2a78SPeng Fan  - Peng Fan <peng.fan@nxp.com>
12*092a2a78SPeng Fan
13*092a2a78SPeng Fanselect:
14*092a2a78SPeng Fan  properties:
15*092a2a78SPeng Fan    compatible:
16*092a2a78SPeng Fan      contains:
17*092a2a78SPeng Fan        enum:
18*092a2a78SPeng Fan          - fsl,imx8mq-dwc3
19*092a2a78SPeng Fan  required:
20*092a2a78SPeng Fan    - compatible
21*092a2a78SPeng Fan
22*092a2a78SPeng Fanproperties:
23*092a2a78SPeng Fan  compatible:
24*092a2a78SPeng Fan    items:
25*092a2a78SPeng Fan      - const: fsl,imx8mq-dwc3
26*092a2a78SPeng Fan      - const: snps,dwc3
27*092a2a78SPeng Fan
28*092a2a78SPeng FanallOf:
29*092a2a78SPeng Fan  - $ref: snps,dwc3.yaml#
30*092a2a78SPeng Fan
31*092a2a78SPeng FanunevaluatedProperties: false
32*092a2a78SPeng Fan
33*092a2a78SPeng Fanexamples:
34*092a2a78SPeng Fan  - |
35*092a2a78SPeng Fan    #include <dt-bindings/clock/imx8mq-clock.h>
36*092a2a78SPeng Fan    #include <dt-bindings/interrupt-controller/arm-gic.h>
37*092a2a78SPeng Fan
38*092a2a78SPeng Fan    usb_dwc3_1: usb@38200000 {
39*092a2a78SPeng Fan        compatible = "fsl,imx8mq-dwc3", "snps,dwc3";
40*092a2a78SPeng Fan        reg = <0x38200000 0x10000>;
41*092a2a78SPeng Fan        clocks = <&clk IMX8MQ_CLK_USB2_CTRL_ROOT>,
42*092a2a78SPeng Fan                 <&clk IMX8MQ_CLK_USB_CORE_REF>,
43*092a2a78SPeng Fan                 <&clk IMX8MQ_CLK_32K>;
44*092a2a78SPeng Fan        clock-names = "bus_early", "ref", "suspend";
45*092a2a78SPeng Fan        interrupts = <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>;
46*092a2a78SPeng Fan        phys = <&usb3_phy1>, <&usb3_phy1>;
47*092a2a78SPeng Fan        phy-names = "usb2-phy", "usb3-phy";
48*092a2a78SPeng Fan    };
49