nvidia,tegra20-usb-phy.txt 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. Tegra SOC USB PHY
  2. The device node for Tegra SOC USB PHY:
  3. Required properties :
  4. - compatible : Should be "nvidia,tegra<chip>-usb-phy".
  5. - reg : Defines the following set of registers, in the order listed:
  6. - The PHY's own register set.
  7. Always present.
  8. - The register set of the PHY containing the UTMI pad control registers.
  9. Present if-and-only-if phy_type == utmi.
  10. - phy_type : Should be one of "utmi", "ulpi" or "hsic".
  11. - clocks : Defines the clocks listed in the clock-names property.
  12. - clock-names : The following clock names must be present:
  13. - reg: The clock needed to access the PHY's own registers. This is the
  14. associated EHCI controller's clock. Always present.
  15. - pll_u: PLL_U. Always present.
  16. - timer: The timeout clock (clk_m). Present if phy_type == utmi.
  17. - utmi-pads: The clock needed to access the UTMI pad control registers.
  18. Present if phy_type == utmi.
  19. - ulpi-link: The clock Tegra provides to the ULPI PHY (cdev2).
  20. Present if phy_type == ulpi, and ULPI link mode is in use.
  21. - resets : Must contain an entry for each entry in reset-names.
  22. See ../reset/reset.txt for details.
  23. - reset-names : Must include the following entries:
  24. - usb: The PHY's own reset signal.
  25. - utmi-pads: The reset of the PHY containing the chip-wide UTMI pad control
  26. registers. Required even if phy_type == ulpi.
  27. Required properties for phy_type == ulpi:
  28. - nvidia,phy-reset-gpio : The GPIO used to reset the PHY.
  29. Required PHY timing params for utmi phy, for all chips:
  30. - nvidia,hssync-start-delay : Number of 480 Mhz clock cycles to wait before
  31. start of sync launches RxActive
  32. - nvidia,elastic-limit : Variable FIFO Depth of elastic input store
  33. - nvidia,idle-wait-delay : Number of 480 Mhz clock cycles of idle to wait
  34. before declare IDLE.
  35. - nvidia,term-range-adj : Range adjusment on terminations
  36. - Either one of the following for HS driver output control:
  37. - nvidia,xcvr-setup : integer, uses the provided value.
  38. - nvidia,xcvr-setup-use-fuses : boolean, indicates that the value is read
  39. from the on-chip fuses
  40. If both are provided, nvidia,xcvr-setup-use-fuses takes precedence.
  41. - nvidia,xcvr-lsfslew : LS falling slew rate control.
  42. - nvidia,xcvr-lsrslew : LS rising slew rate control.
  43. Required PHY timing params for utmi phy, only on Tegra30 and above:
  44. - nvidia,xcvr-hsslew : HS slew rate control.
  45. - nvidia,hssquelch-level : HS squelch detector level.
  46. - nvidia,hsdiscon-level : HS disconnect detector level.
  47. Optional properties:
  48. - nvidia,has-legacy-mode : boolean indicates whether this controller can
  49. operate in legacy mode (as APX 2500 / 2600). In legacy mode some
  50. registers are accessed through the APB_MISC base address instead of
  51. the USB controller.
  52. - nvidia,is-wired : boolean. Indicates whether we can do certain kind of power
  53. optimizations for the devices that are always connected. e.g. modem.
  54. - dr_mode : dual role mode. Indicates the working mode for the PHY. Can be
  55. "host", "peripheral", or "otg". Defaults to "host" if not defined.
  56. host means this is a host controller
  57. peripheral means it is device controller
  58. otg means it can operate as either ("on the go")
  59. - nvidia,has-utmi-pad-registers : boolean indicates whether this controller
  60. contains the UTMI pad control registers common to all USB controllers.
  61. VBUS control (required for dr_mode == otg, optional for dr_mode == host):
  62. - vbus-supply: regulator for VBUS