1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/usb/xlnx,usb2.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Xilinx udc controller
8
9maintainers:
10  - Mubin Sayyed <mubin.sayyed@amd.com>
11  - Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
12
13properties:
14  compatible:
15    const: xlnx,usb2-device-4.00.a
16
17  reg:
18    maxItems: 1
19
20  interrupts:
21    maxItems: 1
22
23  xlnx,has-builtin-dma:
24    description:
25      If present, hardware has dma capability.
26    type: boolean
27
28  clocks:
29    minItems: 1
30
31  clock-names:
32    const: s_axi_aclk
33
34required:
35  - compatible
36  - reg
37  - interrupts
38
39additionalProperties: false
40
41examples:
42  - |
43    axi-usb2-device@42e00000 {
44        compatible = "xlnx,usb2-device-4.00.a";
45        interrupts = <0x0 0x39 0x1>;
46        reg = <0xee000000 0xc00>;
47        xlnx,has-builtin-dma;
48    };
49