omap-usb-host.txt 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. OMAP HS USB Host
  2. Required properties:
  3. - compatible: should be "ti,usbhs-host"
  4. - reg: should contain one register range i.e. start and length
  5. - ti,hwmods: must contain "usb_host_hs"
  6. Optional properties:
  7. - num-ports: number of USB ports. Usually this is automatically detected
  8. from the IP's revision register but can be overridden by specifying
  9. this property. A maximum of 3 ports are supported at the moment.
  10. - portN-mode: String specifying the port mode for port N, where N can be
  11. from 1 to 3. If the port mode is not specified, that port is treated
  12. as unused. When specified, it must be one of the following.
  13. "ehci-phy",
  14. "ehci-tll",
  15. "ehci-hsic",
  16. "ohci-phy-6pin-datse0",
  17. "ohci-phy-6pin-dpdm",
  18. "ohci-phy-3pin-datse0",
  19. "ohci-phy-4pin-dpdm",
  20. "ohci-tll-6pin-datse0",
  21. "ohci-tll-6pin-dpdm",
  22. "ohci-tll-3pin-datse0",
  23. "ohci-tll-4pin-dpdm",
  24. "ohci-tll-2pin-datse0",
  25. "ohci-tll-2pin-dpdm",
  26. - single-ulpi-bypass: Must be present if the controller contains a single
  27. ULPI bypass control bit. e.g. OMAP3 silicon <= ES2.1
  28. Required properties if child node exists:
  29. - #address-cells: Must be 1
  30. - #size-cells: Must be 1
  31. - ranges: must be present
  32. Properties for children:
  33. The OMAP HS USB Host subsystem contains EHCI and OHCI controllers.
  34. See Documentation/devicetree/bindings/usb/omap-ehci.txt and
  35. omap3-ohci.txt
  36. Example for OMAP4:
  37. usbhshost: usbhshost@4a064000 {
  38. compatible = "ti,usbhs-host";
  39. reg = <0x4a064000 0x800>;
  40. ti,hwmods = "usb_host_hs";
  41. #address-cells = <1>;
  42. #size-cells = <1>;
  43. ranges;
  44. usbhsohci: ohci@4a064800 {
  45. compatible = "ti,ohci-omap3", "usb-ohci";
  46. reg = <0x4a064800 0x400>;
  47. interrupt-parent = <&gic>;
  48. interrupts = <0 76 0x4>;
  49. };
  50. usbhsehci: ehci@4a064c00 {
  51. compatible = "ti,ehci-omap", "usb-ehci";
  52. reg = <0x4a064c00 0x400>;
  53. interrupt-parent = <&gic>;
  54. interrupts = <0 77 0x4>;
  55. };
  56. };
  57. &usbhshost {
  58. port1-mode = "ehci-phy";
  59. port2-mode = "ehci-tll";
  60. port3-mode = "ehci-phy";
  61. };
  62. &usbhsehci {
  63. phys = <&hsusb1_phy 0 &hsusb3_phy>;
  64. };