nvidia,tegra20-usb-phy.txt 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. Required properties for phy_type == ulpi:
  22. - nvidia,phy-reset-gpio : The GPIO used to reset the PHY.
  23. Required PHY timing params for utmi phy, for all chips:
  24. - nvidia,hssync-start-delay : Number of 480 Mhz clock cycles to wait before
  25. start of sync launches RxActive
  26. - nvidia,elastic-limit : Variable FIFO Depth of elastic input store
  27. - nvidia,idle-wait-delay : Number of 480 Mhz clock cycles of idle to wait
  28. before declare IDLE.
  29. - nvidia,term-range-adj : Range adjusment on terminations
  30. - Either one of the following for HS driver output control:
  31. - nvidia,xcvr-setup : integer, uses the provided value.
  32. - nvidia,xcvr-setup-use-fuses : boolean, indicates that the value is read
  33. from the on-chip fuses
  34. If both are provided, nvidia,xcvr-setup-use-fuses takes precedence.
  35. - nvidia,xcvr-lsfslew : LS falling slew rate control.
  36. - nvidia,xcvr-lsrslew : LS rising slew rate control.
  37. Required PHY timing params for utmi phy, only on Tegra30 and above:
  38. - nvidia,xcvr-hsslew : HS slew rate control.
  39. - nvidia,hssquelch-level : HS squelch detector level.
  40. - nvidia,hsdiscon-level : HS disconnect detector level.
  41. Optional properties:
  42. - nvidia,has-legacy-mode : boolean indicates whether this controller can
  43. operate in legacy mode (as APX 2500 / 2600). In legacy mode some
  44. registers are accessed through the APB_MISC base address instead of
  45. the USB controller.
  46. - nvidia,is-wired : boolean. Indicates whether we can do certain kind of power
  47. optimizations for the devices that are always connected. e.g. modem.
  48. - dr_mode : dual role mode. Indicates the working mode for the PHY. Can be
  49. "host", "peripheral", or "otg". Defaults to "host" if not defined.
  50. host means this is a host controller
  51. peripheral means it is device controller
  52. otg means it can operate as either ("on the go")
  53. VBUS control (required for dr_mode == otg, optional for dr_mode == host):
  54. - vbus-supply: regulator for VBUS