Ajay Kumar Gupta | 6514567 | 2012-08-31 11:09:53 +0000 | [diff] [blame] | 1 | AM33XX MUSB GLUE |
| 2 | - compatible : Should be "ti,musb-am33xx" |
Afzal Mohammed | 5a2bc4c | 2012-11-06 19:26:06 +0530 | [diff] [blame] | 3 | - reg : offset and length of register sets, first usbss, then for musb instances |
| 4 | - interrupts : usbss, musb instance interrupts in order |
Ajay Kumar Gupta | 6514567 | 2012-08-31 11:09:53 +0000 | [diff] [blame] | 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. |
Afzal Mohammed | d928cd2 | 2012-11-06 20:47:35 +0530 | [diff] [blame] | 8 | - num-eps : Specifies the number of endpoints. This is also a |
Ajay Kumar Gupta | 6514567 | 2012-08-31 11:09:53 +0000 | [diff] [blame] | 9 | MUSB configuration-specific setting. Should be set to "16" |
Afzal Mohammed | d928cd2 | 2012-11-06 20:47:35 +0530 | [diff] [blame] | 10 | - ram-bits : Specifies the ram address size. Should be set to "12" |
| 11 | - port0-mode : Should be "3" to represent OTG. "1" signifies HOST and "2" |
Ajay Kumar Gupta | 6514567 | 2012-08-31 11:09:53 +0000 | [diff] [blame] | 12 | represents PERIPHERAL. |
Afzal Mohammed | d928cd2 | 2012-11-06 20:47:35 +0530 | [diff] [blame] | 13 | - port1-mode : Should be "1" to represent HOST. "3" signifies OTG and "2" |
Ajay Kumar Gupta | 6514567 | 2012-08-31 11:09:53 +0000 | [diff] [blame] | 14 | represents PERIPHERAL. |
Anatol Pomozov | f884ab1 | 2013-05-08 16:56:16 -0700 | [diff] [blame^] | 15 | - power : Should be "250". This signifies the controller can supply up to |
Ajay Kumar Gupta | 6514567 | 2012-08-31 11:09:53 +0000 | [diff] [blame] | 16 | 500mA when operating in host mode. |
Afzal Mohammed | 5a2bc4c | 2012-11-06 19:26:06 +0530 | [diff] [blame] | 17 | |
| 18 | Example: |
| 19 | |
| 20 | usb@47400000 { |
| 21 | compatible = "ti,musb-am33xx"; |
| 22 | reg = <0x47400000 0x1000 /* usbss */ |
| 23 | 0x47401000 0x800 /* musb instance 0 */ |
| 24 | 0x47401800 0x800>; /* musb instance 1 */ |
| 25 | interrupts = <17 /* usbss */ |
| 26 | 18 /* musb instance 0 */ |
| 27 | 19>; /* musb instance 1 */ |
| 28 | multipoint = <1>; |
| 29 | num-eps = <16>; |
| 30 | ram-bits = <12>; |
| 31 | port0-mode = <3>; |
| 32 | port1-mode = <3>; |
| 33 | power = <250>; |
| 34 | ti,hwmods = "usb_otg_hs"; |
| 35 | }; |