Documentation/devicetree/bindings/usb/ti,dwc3.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/usb/ti,dwc3.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/usb/ti,dwc3.yaml
Extension
.yaml
Size
2521 bytes
Lines
101
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/usb/ti,dwc3.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Texas Instruments OMAP DWC3 USB Glue Layer

maintainers:
  - Felipe Balbi <balbi@ti.com>

description:
  Texas Instruments glue layer for Synopsys DesignWare USB3 (DWC3)
  controller on OMAP and AM43xx SoCs. Manages SoC-specific integration
  including register mapping, interrupt routing, UTMI/PIPE interface mode
  selection (HW/SW), and child DWC3 core instantiation via address space
  translation. Supports both legacy single-instance and multi-instance
  (numbered) configurations.

properties:
  compatible:
    enum:
      - ti,dwc3
      - ti,am437x-dwc3

  reg:
    maxItems: 1

  interrupts:
    maxItems: 1

  utmi-mode:
    $ref: /schemas/types.yaml#/definitions/uint32
    description:
      Controls the source of UTMI/PIPE status for VBUS and OTG ID.
      1 for HW mode, 2 for SW mode.
    enum: [1, 2]

  "#address-cells":
    const: 1

  "#size-cells":
    const: 1

  ranges: true

  extcon:
    $ref: /schemas/types.yaml#/definitions/phandle
    description:
      Phandle for the extcon device used to detect connect/
      disconnect events.

  vbus-supply:
    description: Phandle to the regulator device tree node if needed.

patternProperties:
  "^usb@[0-9a-f]+$":
    type: object
    $ref: snps,dwc3.yaml#
    unevaluatedProperties: false

required:
  - reg
  - compatible
  - interrupts
  - "#address-cells"
  - "#size-cells"
  - utmi-mode
  - ranges

Annotation

Implementation Notes