Kishon Vijay Abraham I | 01658f0 | 2013-01-25 15:53:57 +0530 | [diff] [blame^] | 1 | OMAP GLUE AND OTHER OMAP SPECIFIC COMPONENTS |
Kishon Vijay Abraham I | 00a0b1d | 2012-09-11 14:39:40 +0530 | [diff] [blame] | 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 | |
Kishon Vijay Abraham I | 01658f0 | 2013-01-25 15:53:57 +0530 | [diff] [blame^] | 19 | Optional properties: |
| 20 | - ctrl-module : phandle of the control module this glue uses to write to |
| 21 | mailbox |
| 22 | |
Kishon Vijay Abraham I | 00a0b1d | 2012-09-11 14:39:40 +0530 | [diff] [blame] | 23 | SOC specific device node entry |
| 24 | usb_otg_hs: usb_otg_hs@4a0ab000 { |
| 25 | compatible = "ti,omap4-musb"; |
| 26 | ti,hwmods = "usb_otg_hs"; |
| 27 | multipoint = <1>; |
| 28 | num_eps = <16>; |
| 29 | ram_bits = <12>; |
Kishon Vijay Abraham I | 01658f0 | 2013-01-25 15:53:57 +0530 | [diff] [blame^] | 30 | ctrl-module = <&omap_control_usb>; |
Kishon Vijay Abraham I | 00a0b1d | 2012-09-11 14:39:40 +0530 | [diff] [blame] | 31 | }; |
| 32 | |
| 33 | Board specific device node entry |
| 34 | &usb_otg_hs { |
| 35 | interface_type = <1>; |
| 36 | mode = <3>; |
| 37 | power = <50>; |
| 38 | }; |
Kishon Vijay Abraham I | 01658f0 | 2013-01-25 15:53:57 +0530 | [diff] [blame^] | 39 | |
| 40 | OMAP CONTROL USB |
| 41 | |
| 42 | Required properties: |
| 43 | - compatible: Should be "ti,omap-control-usb" |
| 44 | - reg : Address and length of the register set for the device. It contains |
| 45 | the address of "control_dev_conf" and "otghs_control" or "phy_power_usb" |
| 46 | depending upon omap4 or omap5. |
| 47 | - reg-names: The names of the register addresses corresponding to the registers |
| 48 | filled in "reg". |
| 49 | - ti,type: This is used to differentiate whether the control module has |
| 50 | usb mailbox or usb3 phy power. omap4 has usb mailbox in control module to |
| 51 | notify events to the musb core and omap5 has usb3 phy power register to |
| 52 | power on usb3 phy. Should be "1" if it has mailbox and "2" if it has usb3 |
| 53 | phy power. |
| 54 | |
| 55 | omap_control_usb: omap-control-usb@4a002300 { |
| 56 | compatible = "ti,omap-control-usb"; |
| 57 | reg = <0x4a002300 0x4>, |
| 58 | <0x4a00233c 0x4>; |
| 59 | reg-names = "control_dev_conf", "otghs_control"; |
| 60 | ti,type = <1>; |
| 61 | }; |