TI Keystone Soc USB Controller

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

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

Maintainers (maintainers): "Roger Quadros <rogerq@kernel.org>"

Properties and child nodes (properties) #

compatible — required here #

Array item rules (items) #

Item 1

Allowed values (enum): "ti,keystone-dwc3", "ti,am654-dwc3"

reg — required here #

Maximum number of items (maxItems): 1

#address-cells — required here #

Exact value (const): 1

#size-cells — required here #

Exact value (const): 1

ranges — required here #

true — No constraints added by this property rule.

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — not listed as required here #

Minimum number of items (minItems): 1

Maximum number of items (maxItems): 2

power-domains — not listed as required here #

Maximum number of items (maxItems): 1

Should contain a phandle to a PM domain provider node and an args specifier containing the USB device id value. This property is as per the binding, Documentation/devicetree/bindings/soc/ti/sci-pm-domain.yaml

phys — not listed as required here #

Maximum number of items (maxItems): 1

PHY specifier for the USB3.0 PHY. Some SoCs need the USB3.0 PHY to be turned on before the controller. Documentation/devicetree/bindings/phy/phy-bindings.txt

phy-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "usb3-phy"

dma-coherent — not listed as required here #

true — No constraints added by this property rule.

dma-ranges — not listed as required here #

true — No constraints added by this property rule.

Properties matching a name pattern (patternProperties) #

usb@[a-f0-9]+$ — name matches this regular expression #

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

Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells", "ranges", "interrupts"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

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

dwc3@2680000 {
  compatible = "ti,keystone-dwc3";
  #address-cells = <1>;
  #size-cells = <1>;
  reg = <0x2680000 0x10000>;
  clocks = <&clkusb>;
  interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>;
  ranges;

  usb@2690000 {
    compatible = "snps,dwc3";
    reg = <0x2690000 0x70000>;
    interrupts = <GIC_SPI 393 IRQ_TYPE_EDGE_RISING>;
    usb-phy = <&usb_phy>, <&usb_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