1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/usb/ti,omap4-musb.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Texas Instruments OMAP MUSB USB OTG Controller 8 9maintainers: 10 - Felipe Balbi <balbi@ti.com> 11 12description: 13 Texas Instruments glue layer for the Mentor Graphics MUSB OTG controller. 14 Handles SoC-specific integration including PHY interface bridging(ULPI/ 15 UTMI), interrupt aggregation, DMA engine coordination (internal/ 16 external), VBUS/session control via control module mailbox, and 17 clock/reset management. Provides fixed hardware configuration parameters 18 to the generic MUSB core driver. 19 20properties: 21 compatible: 22 enum: 23 - ti,omap3-musb 24 - ti,omap4-musb 25 26 reg: 27 maxItems: 1 28 29 interrupts: 30 minItems: 1 31 maxItems: 2 32 33 interrupt-names: 34 minItems: 1 35 items: 36 - const: mc 37 - const: dma 38 39 multipoint: 40 $ref: /schemas/types.yaml#/definitions/uint32 41 description: 42 Indicates the MUSB controller supports multipoint. This is a MUSB 43 configuration-specific setting. 44 const: 1 45 46 num-eps: 47 $ref: /schemas/types.yaml#/definitions/uint32 48 description: 49 Specifies the number of endpoints. This is a MUSB configuration 50 specific setting. 51 const: 16 52 53 ram-bits: 54 description: Specifies the RAM address size. 55 const: 12 56 57 interface-type: 58 $ref: /schemas/types.yaml#/definitions/uint32 59 description: 60 Describes the type of interface between the controller and the PHY. 61 0 for ULPI, 1 for UTMI. 62 enum: [0, 1] 63 64 mode: 65 $ref: /schemas/types.yaml#/definitions/uint32 66 description: 1 for HOST, 2 for PERIPHERAL, 3 for OTG. 67 enum: [1, 2, 3] 68 69 power: 70 $ref: /schemas/types.yaml#/definitions/uint32 71 description: 72 Indicates the maximum current the controller can supply when 73 operating in host mode. A value of 50 corresponds to 100 mA, and a 74 value of 150 corresponds to 300 mA. 75 enum: [50, 150] 76 77 phys: 78 maxItems: 1 79 80 phy-names: 81 const: usb2-phy 82 83 usb-phy: 84 maxItems: 1 85 86 ctrl-module: 87 $ref: /schemas/types.yaml#/definitions/phandle 88 description: 89 Phandle of the control module this glue uses to write to mailbox. 90 91required: 92 - reg 93 - compatible 94 - interrupts 95 - interrupt-names 96 97allOf: 98 - $ref: usb-hcd.yaml# 99 100unevaluatedProperties: false 101 102examples: 103 - | 104 #include <dt-bindings/interrupt-controller/arm-gic.h> 105 usb@4a0ab000 { 106 compatible = "ti,omap4-musb"; 107 reg = <0x4a0ab000 0x1000>; 108 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>, 109 <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>; 110 interrupt-names = "mc", "dma"; 111 multipoint = <1>; 112 num-eps = <16>; 113 ram-bits = <12>; 114 ctrl-module = <&omap_control_usb>; 115 phys = <&usb2_phy>; 116 phy-names = "usb2-phy"; 117 interface-type = <1>; 118 mode = <3>; 119 power = <50>; 120 }; 121... 122