Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Microchip MPFS USB Controller |
| 8 | |
| 9 | allOf: |
| 10 | - $ref: usb-drd.yaml# |
| 11 | |
| 12 | maintainers: |
| 13 | - Conor Dooley <conor.dooley@microchip.com> |
| 14 | |
| 15 | properties: |
| 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 Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame] | 37 | 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 Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 44 | required: |
| 45 | - compatible |
| 46 | - reg |
| 47 | - interrupts |
| 48 | - interrupt-names |
| 49 | - clocks |
| 50 | |
| 51 | additionalProperties: false |
| 52 | |
| 53 | examples: |
| 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 | ... |