ASPEED USB 2.0 Device Controller

Schema identifier ($id): "http://devicetree.org/schemas/usb/aspeed,ast2600-udc.yaml#"

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

Maintainers (maintainers): "Neal Liu <neal_liu@aspeedtech.com>"

The ASPEED USB 2.0 Device Controller implements 1 control endpoint and 4 generic endpoints for AST260x.

Supports independent DMA channel for each generic endpoint. Supports 32/256 stages descriptor mode for all generic endpoints.

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "aspeed,ast2600-udc"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "clocks", "interrupts"

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

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/aspeed-clock.h>
udc: usb@1e6a2000 {
    compatible = "aspeed,ast2600-udc";
    reg = <0x1e6a2000 0x300>;
    interrupts = <9>;
    clocks = <&syscon ASPEED_CLK_GATE_USBPORT2CLK>;
    pinctrl-names = "default";
    pinctrl-0 = <&pinctrl_usb2bd_default>;
};

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 Facebook Inc.

Edit this page