brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · c3b6be3 Raw
53 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2# Copyright (c) 2020 Facebook Inc.3%YAML 1.24---5$id: http://devicetree.org/schemas/usb/aspeed,ast2600-udc.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: ASPEED USB 2.0 Device Controller9 10maintainers:11  - Neal Liu <neal_liu@aspeedtech.com>12 13description: |+14  The ASPEED USB 2.0 Device Controller implements 1 control endpoint and15  4 generic endpoints for AST260x.16 17  Supports independent DMA channel for each generic endpoint.18  Supports 32/256 stages descriptor mode for all generic endpoints.19 20properties:21  compatible:22    enum:23      - aspeed,ast2600-udc24 25  reg:26    maxItems: 127 28  clocks:29    maxItems: 130 31  interrupts:32    maxItems: 133 34required:35  - compatible36  - reg37  - clocks38  - interrupts39 40additionalProperties: false41 42examples:43  - |44    #include <dt-bindings/clock/aspeed-clock.h>45    udc: usb@1e6a2000 {46        compatible = "aspeed,ast2600-udc";47        reg = <0x1e6a2000 0x300>;48        interrupts = <9>;49        clocks = <&syscon ASPEED_CLK_GATE_USBPORT2CLK>;50        pinctrl-names = "default";51        pinctrl-0 = <&pinctrl_usb2bd_default>;52    };53