blob: dc9dc8c87f15a2e649bd8289d3fbc50c2caf73a1 [file] [log] [blame]
Ajay Kumar Gupta65145672012-08-31 11:09:53 +00001AM33XX MUSB GLUE
2 - compatible : Should be "ti,musb-am33xx"
Afzal Mohammed5a2bc4c2012-11-06 19:26:06 +05303 - reg : offset and length of register sets, first usbss, then for musb instances
4 - interrupts : usbss, musb instance interrupts in order
Ajay Kumar Gupta65145672012-08-31 11:09:53 +00005 - 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 Mohammedd928cd22012-11-06 20:47:35 +05308 - num-eps : Specifies the number of endpoints. This is also a
Ajay Kumar Gupta65145672012-08-31 11:09:53 +00009 MUSB configuration-specific setting. Should be set to "16"
Afzal Mohammedd928cd22012-11-06 20:47:35 +053010 - 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 Gupta65145672012-08-31 11:09:53 +000012 represents PERIPHERAL.
Afzal Mohammedd928cd22012-11-06 20:47:35 +053013 - port1-mode : Should be "1" to represent HOST. "3" signifies OTG and "2"
Ajay Kumar Gupta65145672012-08-31 11:09:53 +000014 represents PERIPHERAL.
Anatol Pomozovf884ab12013-05-08 16:56:16 -070015 - power : Should be "250". This signifies the controller can supply up to
Ajay Kumar Gupta65145672012-08-31 11:09:53 +000016 500mA when operating in host mode.
Afzal Mohammed5a2bc4c2012-11-06 19:26:06 +053017
18Example:
19
20usb@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};