NXP iMX8QM Soc USB Controller
Schema identifier ($id): "http://devicetree.org/schemas/usb/fsl,imx8qm-cdns3.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "fsl,imx8qm-usb3"
reg — required here #
Array item rules (items) #
Item 1
Register set for iMX USB3 Platform Control
#address-cells — required here #
#size-cells — required here #
ranges — required here #
true — No constraints added by this property rule.
clocks — required here #
Array item rules (items) #
Item 1
Standby clock. Used during ultra low power states.
Item 2
USB bus clock for usb3 controller.
Item 3
AXI clock for AXI interface.
Item 4
ipg clock for register access.
Item 5
Core clock for usb3 controller.
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"lpm"
Item 2
Exact value (
const):"bus"
Item 3
Exact value (
const):"aclk"
Item 4
Exact value (
const):"ipg"
Item 5
Exact value (
const):"core"
power-domains — required here #
Maximum number of items (maxItems): 1
Properties matching a name pattern (patternProperties) #
^usb@[0-9a-f]+$ — name matches this regular expression #
Shared schema rule ($ref): cdns,usb3.yaml#
Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells", "ranges", "clocks", "clock-names", "power-domains"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/imx8-lpcg.h>
#include <dt-bindings/firmware/imx/rsrc.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
usb@5b110000 {
compatible = "fsl,imx8qm-usb3";
reg = <0x5b110000 0x10000>;
ranges;
clocks = <&usb3_lpcg IMX_LPCG_CLK_1>,
<&usb3_lpcg IMX_LPCG_CLK_0>,
<&usb3_lpcg IMX_LPCG_CLK_7>,
<&usb3_lpcg IMX_LPCG_CLK_4>,
<&usb3_lpcg IMX_LPCG_CLK_5>;
clock-names = "lpm", "bus", "aclk", "ipg", "core";
assigned-clocks = <&clk IMX_SC_R_USB_2 IMX_SC_PM_CLK_MST_BUS>;
assigned-clock-rates = <250000000>;
power-domains = <&pd IMX_SC_R_USB_2>;
#address-cells = <1>;
#size-cells = <1>;
usb@5b120000 {
compatible = "cdns,usb3";
reg = <0x5b120000 0x10000>, /* memory area for OTG/DRD registers */
<0x5b130000 0x10000>, /* memory area for HOST registers */
<0x5b140000 0x10000>; /* memory area for DEVICE registers */
reg-names = "otg", "xhci", "dev";
interrupt-parent = <&gic>;
interrupts = <GIC_SPI 271 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 271 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 271 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 271 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "host", "peripheral", "otg", "wakeup";
phys = <&usb3_phy>;
phy-names = "cdns3,usb3-phy";
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 2: Copyright (c) 2020 NXP
Line 48: Required child node: