Linux 6.7-rc7
[linux-modified.git] / Documentation / devicetree / bindings / usb / xlnx,usb2.yaml
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
7 title: Xilinx udc controller
8
9 maintainers:
10   - Piyush Mehta <piyush.mehta@amd.com>
11
12 properties:
13   compatible:
14     const: xlnx,usb2-device-4.00.a
15
16   reg:
17     maxItems: 1
18
19   interrupts:
20     maxItems: 1
21
22   xlnx,has-builtin-dma:
23     description:
24       If present, hardware has dma capability.
25     type: boolean
26
27   clocks:
28     minItems: 1
29
30   clock-names:
31     const: s_axi_aclk
32
33 required:
34   - compatible
35   - reg
36   - interrupts
37
38 additionalProperties: false
39
40 examples:
41   - |
42     axi-usb2-device@42e00000 {
43         compatible = "xlnx,usb2-device-4.00.a";
44         interrupts = <0x0 0x39 0x1>;
45         reg = <0xee000000 0xc00>;
46         xlnx,has-builtin-dma;
47     };