blob: 27b909de49922f76eb4dae5a558e8d35fbc01a85 [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001# 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
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
Tom Rini6b642ac2024-10-01 12:20:28 -060037 microchip,ext-vbus-drv:
38 description:
39 Some ULPI USB PHYs do not support an internal VBUS supply and driving
40 the CPEN pin requires the configuration of the UPLI_USE__EXTVBUS
41 bit in ULPI_BUSCONTROL.
42 $ref: /schemas/types.yaml#/definitions/flag
43
Tom Rini53633a82024-02-29 12:33:36 -050044required:
45 - compatible
46 - reg
47 - interrupts
48 - interrupt-names
49 - clocks
50
51additionalProperties: false
52
53examples:
54 - |
55 #include "dt-bindings/clock/microchip,mpfs-clock.h"
56 usb@20201000 {
57 compatible = "microchip,mpfs-musb";
58 reg = <0x20201000 0x1000>;
59 clocks = <&clkcfg CLK_USB>;
60 interrupt-parent = <&plic>;
61 interrupts = <86>, <87>;
62 interrupt-names = "dma", "mc";
63 dr_mode = "host";
64 };
65
66...