xref: /linux/Documentation/devicetree/bindings/usb/microchip,lan9691-dwc3.yaml (revision c17ee635fd3a482b2ad2bf5e269755c2eae5f25e)
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/usb/microchip,lan9691-dwc3.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Microchip LAN969x SuperSpeed DWC3 USB SoC controller
8
9maintainers:
10  - Robert Marko <robert.marko@sartura.hr>
11
12select:
13  properties:
14    compatible:
15      contains:
16        enum:
17          - microchip,lan9691-dwc3
18  required:
19    - compatible
20
21properties:
22  compatible:
23    items:
24      - enum:
25          - microchip,lan9691-dwc3
26      - const: snps,dwc3
27
28  reg:
29    maxItems: 1
30
31  interrupts:
32    maxItems: 1
33
34  clocks:
35    items:
36      - description: Gated USB DRD clock
37      - description: Controller reference clock
38
39  clock-names:
40    items:
41      - const: bus_early
42      - const: ref
43
44unevaluatedProperties: false
45
46required:
47  - compatible
48  - reg
49  - interrupts
50  - clocks
51  - clock-names
52
53allOf:
54  - $ref: snps,dwc3.yaml#
55
56examples:
57  - |
58    #include <dt-bindings/interrupt-controller/arm-gic.h>
59
60    usb@300000 {
61        compatible = "microchip,lan9691-dwc3", "snps,dwc3";
62        reg = <0x300000 0x80000>;
63        interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
64        clocks = <&clks 12>, <&clks 11>;
65        clock-names = "bus_early", "ref";
66    };
67