am33xx-usb.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  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 upto
  16. 500mA when operating in host mode.
  17. Example:
  18. usb@47400000 {
  19. compatible = "ti,musb-am33xx";
  20. reg = <0x47400000 0x1000 /* usbss */
  21. 0x47401000 0x800 /* musb instance 0 */
  22. 0x47401800 0x800>; /* musb instance 1 */
  23. interrupts = <17 /* usbss */
  24. 18 /* musb instance 0 */
  25. 19>; /* musb instance 1 */
  26. multipoint = <1>;
  27. num-eps = <16>;
  28. ram-bits = <12>;
  29. port0-mode = <3>;
  30. port1-mode = <3>;
  31. power = <250>;
  32. ti,hwmods = "usb_otg_hs";
  33. };