Apple Silicon DWC3 USB controller

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

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

Maintainers (maintainers): "Sven Peter <sven@kernel.org>"

Apple Silicon SoCs use a Synopsys DesignWare DWC3 based controller for each of their Type-C ports.

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Allowed values (enum): "apple,t6000-dwc3", "apple,t6020-dwc3", "apple,t8112-dwc3"

Item 2

Exact value (const): "apple,t8103-dwc3"

Rule 2

Exact value (const): "apple,t8103-dwc3"

reg — required here #

Array item rules (items) #

Item 1

Core DWC3 region

Item 2

Apple-specific DWC3 region

reg-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "dwc3-core"

Item 2

Exact value (const): "dwc3-apple"

interrupts — required here #

Maximum number of items (maxItems): 1

iommus — required here #

Maximum number of items (maxItems): 2

resets — required here #

Maximum number of items (maxItems): 1

power-domains — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "reg-names", "interrupts", "iommus", "resets", "power-domains", "usb-role-switch"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/apple-aic.h>
#include <dt-bindings/interrupt-controller/irq.h>

usb@82280000 {
  compatible = "apple,t8103-dwc3";
  reg = <0x82280000 0xcd00>, <0x8228cd00 0x3200>;
  reg-names = "dwc3-core", "dwc3-apple";
  interrupts = <AIC_IRQ 777 IRQ_TYPE_LEVEL_HIGH>;
  iommus = <&dwc3_0_dart_0 0>, <&dwc3_0_dart_1 1>;

  power-domains = <&ps_atc0_usb>;
  resets = <&atcphy0>;

  usb-role-switch;
};

Source notes #

Annotations retained from the schema source

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

Edit this page