xref: /openbmc/linux/Documentation/devicetree/bindings/usb/aspeed,ast2600-udc.yaml (revision 4f2c0a4acffbec01079c28f839422e64ddeff004)
1*0dde9a46SNeal Liu# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*0dde9a46SNeal Liu# Copyright (c) 2020 Facebook Inc.
3*0dde9a46SNeal Liu%YAML 1.2
4*0dde9a46SNeal Liu---
5*0dde9a46SNeal Liu$id: http://devicetree.org/schemas/usb/aspeed,ast2600-udc.yaml#
6*0dde9a46SNeal Liu$schema: http://devicetree.org/meta-schemas/core.yaml#
7*0dde9a46SNeal Liu
8*0dde9a46SNeal Liutitle: ASPEED USB 2.0 Device Controller
9*0dde9a46SNeal Liu
10*0dde9a46SNeal Liumaintainers:
11*0dde9a46SNeal Liu  - Neal Liu <neal_liu@aspeedtech.com>
12*0dde9a46SNeal Liu
13*0dde9a46SNeal Liudescription: |+
14*0dde9a46SNeal Liu  The ASPEED USB 2.0 Device Controller implements 1 control endpoint and
15*0dde9a46SNeal Liu  4 generic endpoints for AST260x.
16*0dde9a46SNeal Liu
17*0dde9a46SNeal Liu  Supports independent DMA channel for each generic endpoint.
18*0dde9a46SNeal Liu  Supports 32/256 stages descriptor mode for all generic endpoints.
19*0dde9a46SNeal Liu
20*0dde9a46SNeal Liuproperties:
21*0dde9a46SNeal Liu  compatible:
22*0dde9a46SNeal Liu    enum:
23*0dde9a46SNeal Liu      - aspeed,ast2600-udc
24*0dde9a46SNeal Liu
25*0dde9a46SNeal Liu  reg:
26*0dde9a46SNeal Liu    maxItems: 1
27*0dde9a46SNeal Liu
28*0dde9a46SNeal Liu  clocks:
29*0dde9a46SNeal Liu    maxItems: 1
30*0dde9a46SNeal Liu
31*0dde9a46SNeal Liu  interrupts:
32*0dde9a46SNeal Liu    maxItems: 1
33*0dde9a46SNeal Liu
34*0dde9a46SNeal Liurequired:
35*0dde9a46SNeal Liu  - compatible
36*0dde9a46SNeal Liu  - reg
37*0dde9a46SNeal Liu  - clocks
38*0dde9a46SNeal Liu  - interrupts
39*0dde9a46SNeal Liu
40*0dde9a46SNeal LiuadditionalProperties: false
41*0dde9a46SNeal Liu
42*0dde9a46SNeal Liuexamples:
43*0dde9a46SNeal Liu  - |
44*0dde9a46SNeal Liu    #include <dt-bindings/clock/aspeed-clock.h>
45*0dde9a46SNeal Liu    udc: usb@1e6a2000 {
46*0dde9a46SNeal Liu        compatible = "aspeed,ast2600-udc";
47*0dde9a46SNeal Liu        reg = <0x1e6a2000 0x300>;
48*0dde9a46SNeal Liu        interrupts = <9>;
49*0dde9a46SNeal Liu        clocks = <&syscon ASPEED_CLK_GATE_USBPORT2CLK>;
50*0dde9a46SNeal Liu        pinctrl-names = "default";
51*0dde9a46SNeal Liu        pinctrl-0 = <&pinctrl_usb2bd_default>;
52*0dde9a46SNeal Liu    };
53