omap-usb.txt 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. OMAP GLUE AND OTHER OMAP SPECIFIC COMPONENTS
  2. OMAP MUSB GLUE
  3. - compatible : Should be "ti,omap4-musb" or "ti,omap3-musb"
  4. - ti,hwmods : must be "usb_otg_hs"
  5. - multipoint : Should be "1" indicating the musb controller supports
  6. multipoint. This is a MUSB configuration-specific setting.
  7. - num_eps : Specifies the number of endpoints. This is also a
  8. MUSB configuration-specific setting. Should be set to "16"
  9. - ram_bits : Specifies the ram address size. Should be set to "12"
  10. - interface_type : This is a board specific setting to describe the type of
  11. interface between the controller and the phy. It should be "0" or "1"
  12. specifying ULPI and UTMI respectively.
  13. - mode : Should be "3" to represent OTG. "1" signifies HOST and "2"
  14. represents PERIPHERAL.
  15. - power : Should be "50". This signifies the controller can supply upto
  16. 100mA when operating in host mode.
  17. Optional properties:
  18. - ctrl-module : phandle of the control module this glue uses to write to
  19. mailbox
  20. SOC specific device node entry
  21. usb_otg_hs: usb_otg_hs@4a0ab000 {
  22. compatible = "ti,omap4-musb";
  23. ti,hwmods = "usb_otg_hs";
  24. multipoint = <1>;
  25. num_eps = <16>;
  26. ram_bits = <12>;
  27. ctrl-module = <&omap_control_usb>;
  28. };
  29. Board specific device node entry
  30. &usb_otg_hs {
  31. interface_type = <1>;
  32. mode = <3>;
  33. power = <50>;
  34. };
  35. OMAP CONTROL USB
  36. Required properties:
  37. - compatible: Should be "ti,omap-control-usb"
  38. - reg : Address and length of the register set for the device. It contains
  39. the address of "control_dev_conf" and "otghs_control" or "phy_power_usb"
  40. depending upon omap4 or omap5.
  41. - reg-names: The names of the register addresses corresponding to the registers
  42. filled in "reg".
  43. - ti,type: This is used to differentiate whether the control module has
  44. usb mailbox or usb3 phy power. omap4 has usb mailbox in control module to
  45. notify events to the musb core and omap5 has usb3 phy power register to
  46. power on usb3 phy. Should be "1" if it has mailbox and "2" if it has usb3
  47. phy power.
  48. omap_control_usb: omap-control-usb@4a002300 {
  49. compatible = "ti,omap-control-usb";
  50. reg = <0x4a002300 0x4>,
  51. <0x4a00233c 0x4>;
  52. reg-names = "control_dev_conf", "otghs_control";
  53. ti,type = <1>;
  54. };