Kishon Vijay Abraham I | 00a0b1d | 2012-09-11 14:39:40 +0530 | [diff] [blame^] | 1 | OMAP GLUE |
| 2 | |
| 3 | OMAP MUSB GLUE |
| 4 | - compatible : Should be "ti,omap4-musb" or "ti,omap3-musb" |
| 5 | - ti,hwmods : must be "usb_otg_hs" |
| 6 | - multipoint : Should be "1" indicating the musb controller supports |
| 7 | multipoint. This is a MUSB configuration-specific setting. |
| 8 | - num_eps : Specifies the number of endpoints. This is also a |
| 9 | MUSB configuration-specific setting. Should be set to "16" |
| 10 | - ram_bits : Specifies the ram address size. Should be set to "12" |
| 11 | - interface_type : This is a board specific setting to describe the type of |
| 12 | interface between the controller and the phy. It should be "0" or "1" |
| 13 | specifying ULPI and UTMI respectively. |
| 14 | - mode : Should be "3" to represent OTG. "1" signifies HOST and "2" |
| 15 | represents PERIPHERAL. |
| 16 | - power : Should be "50". This signifies the controller can supply upto |
| 17 | 100mA when operating in host mode. |
| 18 | |
| 19 | SOC specific device node entry |
| 20 | usb_otg_hs: usb_otg_hs@4a0ab000 { |
| 21 | compatible = "ti,omap4-musb"; |
| 22 | ti,hwmods = "usb_otg_hs"; |
| 23 | multipoint = <1>; |
| 24 | num_eps = <16>; |
| 25 | ram_bits = <12>; |
| 26 | }; |
| 27 | |
| 28 | Board specific device node entry |
| 29 | &usb_otg_hs { |
| 30 | interface_type = <1>; |
| 31 | mode = <3>; |
| 32 | power = <50>; |
| 33 | }; |