1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/usb/microchip,mpfs-musb.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Microchip MPFS USB Controller Device Tree Bindings
8
9allOf:
10  - $ref: usb-drd.yaml#
11
12maintainers:
13  - Conor Dooley <conor.dooley@microchip.com>
14
15properties:
16  compatible:
17    enum:
18      - microchip,mpfs-musb
19
20  dr_mode: true
21
22  reg:
23    maxItems: 1
24
25  interrupts:
26    minItems: 2
27    maxItems: 2
28
29  interrupt-names:
30    items:
31      - const: dma
32      - const: mc
33
34  clocks:
35    maxItems: 1
36
37required:
38  - compatible
39  - reg
40  - interrupts
41  - interrupt-names
42  - clocks
43
44additionalProperties: false
45
46examples:
47  - |
48    #include "dt-bindings/clock/microchip,mpfs-clock.h"
49    usb@20201000 {
50        compatible = "microchip,mpfs-musb";
51        reg = <0x20201000 0x1000>;
52        clocks = <&clkcfg CLK_USB>;
53        interrupt-parent = <&plic>;
54        interrupts = <86>, <87>;
55        interrupt-names = "dma", "mc";
56        dr_mode = "host";
57    };
58
59...
60