Merge branch 'for-3.11/core' of git://git.kernel.dk/linux-block
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / usb / am33xx-usb.txt
1 AM33XX MUSB GLUE
2  - compatible : Should be "ti,musb-am33xx"
3  - reg : offset and length of register sets, first usbss, then for musb instances
4  - interrupts : usbss, musb instance interrupts in order
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  - port0-mode : Should be "3" to represent OTG. "1" signifies HOST and "2"
12    represents PERIPHERAL.
13  - port1-mode : Should be "1" to represent HOST. "3" signifies OTG and "2"
14    represents PERIPHERAL.
15  - power : Should be "250". This signifies the controller can supply up to
16    500mA when operating in host mode.
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 };