Debian Codegraph @

Documentation/devicetree/bindings/usb/microchip,lan9691-dwc3.yaml

raw
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
7 title: Microchip LAN969x SuperSpeed DWC3 USB SoC controller
8
9 maintainers:
10 - Robert Marko <[email protected]>
11
12 select:
13 properties:
14 compatible:
15 contains:
16 enum:
17 - microchip,lan9691-dwc3
18 required:
19 - compatible
20
21 properties:
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
44 unevaluatedProperties: false
45
46 required:
47 - compatible
48 - reg
49 - interrupts
50 - clocks
51 - clock-names
52
53 allOf:
54 - $ref: snps,dwc3.yaml#
55
56 examples:
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 };