1*4882a593SmuzhiyunOMAP GLUE AND OTHER OMAP SPECIFIC COMPONENTS 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunOMAP MUSB GLUE 4*4882a593Smuzhiyun - compatible : Should be "ti,omap4-musb" or "ti,omap3-musb" 5*4882a593Smuzhiyun - ti,hwmods : must be "usb_otg_hs" 6*4882a593Smuzhiyun - multipoint : Should be "1" indicating the musb controller supports 7*4882a593Smuzhiyun multipoint. This is a MUSB configuration-specific setting. 8*4882a593Smuzhiyun - num-eps : Specifies the number of endpoints. This is also a 9*4882a593Smuzhiyun MUSB configuration-specific setting. Should be set to "16" 10*4882a593Smuzhiyun - ram-bits : Specifies the ram address size. Should be set to "12" 11*4882a593Smuzhiyun - interface-type : This is a board specific setting to describe the type of 12*4882a593Smuzhiyun interface between the controller and the phy. It should be "0" or "1" 13*4882a593Smuzhiyun specifying ULPI and UTMI respectively. 14*4882a593Smuzhiyun - mode : Should be "3" to represent OTG. "1" signifies HOST and "2" 15*4882a593Smuzhiyun represents PERIPHERAL. 16*4882a593Smuzhiyun - power : Should be "50". This signifies the controller can supply up to 17*4882a593Smuzhiyun 100mA when operating in host mode. 18*4882a593Smuzhiyun - usb-phy : the phandle for the PHY device 19*4882a593Smuzhiyun - phys : the phandle for the PHY device (used by generic PHY framework) 20*4882a593Smuzhiyun - phy-names : the names of the PHY corresponding to the PHYs present in the 21*4882a593Smuzhiyun *phy* phandle. 22*4882a593Smuzhiyun 23*4882a593SmuzhiyunOptional properties: 24*4882a593Smuzhiyun - ctrl-module : phandle of the control module this glue uses to write to 25*4882a593Smuzhiyun mailbox 26*4882a593Smuzhiyun 27*4882a593SmuzhiyunSOC specific device node entry 28*4882a593Smuzhiyunusb_otg_hs: usb_otg_hs@4a0ab000 { 29*4882a593Smuzhiyun compatible = "ti,omap4-musb"; 30*4882a593Smuzhiyun ti,hwmods = "usb_otg_hs"; 31*4882a593Smuzhiyun multipoint = <1>; 32*4882a593Smuzhiyun num-eps = <16>; 33*4882a593Smuzhiyun ram-bits = <12>; 34*4882a593Smuzhiyun ctrl-module = <&omap_control_usb>; 35*4882a593Smuzhiyun phys = <&usb2_phy>; 36*4882a593Smuzhiyun phy-names = "usb2-phy"; 37*4882a593Smuzhiyun}; 38*4882a593Smuzhiyun 39*4882a593SmuzhiyunBoard specific device node entry 40*4882a593Smuzhiyun&usb_otg_hs { 41*4882a593Smuzhiyun interface-type = <1>; 42*4882a593Smuzhiyun mode = <3>; 43*4882a593Smuzhiyun power = <50>; 44*4882a593Smuzhiyun}; 45*4882a593Smuzhiyun 46*4882a593SmuzhiyunOMAP DWC3 GLUE 47*4882a593Smuzhiyun - compatible : Should be 48*4882a593Smuzhiyun * "ti,dwc3" for OMAP5 and DRA7 49*4882a593Smuzhiyun * "ti,am437x-dwc3" for AM437x 50*4882a593Smuzhiyun - ti,hwmods : Should be "usb_otg_ss" 51*4882a593Smuzhiyun - reg : Address and length of the register set for the device. 52*4882a593Smuzhiyun - interrupts : The irq number of this device that is used to interrupt the 53*4882a593Smuzhiyun MPU 54*4882a593Smuzhiyun - #address-cells, #size-cells : Must be present if the device has sub-nodes 55*4882a593Smuzhiyun - utmi-mode : controls the source of UTMI/PIPE status for VBUS and OTG ID. 56*4882a593Smuzhiyun It should be set to "1" for HW mode and "2" for SW mode. 57*4882a593Smuzhiyun - ranges: the child address space are mapped 1:1 onto the parent address space 58*4882a593Smuzhiyun 59*4882a593SmuzhiyunOptional Properties: 60*4882a593Smuzhiyun - extcon : phandle for the extcon device omap dwc3 uses to detect 61*4882a593Smuzhiyun connect/disconnect events. 62*4882a593Smuzhiyun - vbus-supply : phandle to the regulator device tree node if needed. 63*4882a593Smuzhiyun 64*4882a593SmuzhiyunSub-nodes: 65*4882a593SmuzhiyunThe dwc3 core should be added as subnode to omap dwc3 glue. 66*4882a593Smuzhiyun- dwc3 : 67*4882a593Smuzhiyun The binding details of dwc3 can be found in: 68*4882a593Smuzhiyun Documentation/devicetree/bindings/usb/dwc3.txt 69*4882a593Smuzhiyun 70*4882a593Smuzhiyunomap_dwc3 { 71*4882a593Smuzhiyun compatible = "ti,dwc3"; 72*4882a593Smuzhiyun ti,hwmods = "usb_otg_ss"; 73*4882a593Smuzhiyun reg = <0x4a020000 0x1ff>; 74*4882a593Smuzhiyun interrupts = <0 93 4>; 75*4882a593Smuzhiyun #address-cells = <1>; 76*4882a593Smuzhiyun #size-cells = <1>; 77*4882a593Smuzhiyun utmi-mode = <2>; 78*4882a593Smuzhiyun ranges; 79*4882a593Smuzhiyun}; 80*4882a593Smuzhiyun 81