18c2ecf20Sopenharmony_ciTegra SOC USB PHY 28c2ecf20Sopenharmony_ci 38c2ecf20Sopenharmony_ciThe device node for Tegra SOC USB PHY: 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ciRequired properties : 68c2ecf20Sopenharmony_ci - compatible : For Tegra20, must contain "nvidia,tegra20-usb-phy". 78c2ecf20Sopenharmony_ci For Tegra30, must contain "nvidia,tegra30-usb-phy". Otherwise, must contain 88c2ecf20Sopenharmony_ci "nvidia,<chip>-usb-phy" plus at least one of the above, where <chip> is 98c2ecf20Sopenharmony_ci tegra114, tegra124, tegra132, or tegra210. 108c2ecf20Sopenharmony_ci - reg : Defines the following set of registers, in the order listed: 118c2ecf20Sopenharmony_ci - The PHY's own register set. 128c2ecf20Sopenharmony_ci Always present. 138c2ecf20Sopenharmony_ci - The register set of the PHY containing the UTMI pad control registers. 148c2ecf20Sopenharmony_ci Present if-and-only-if phy_type == utmi. 158c2ecf20Sopenharmony_ci - phy_type : Should be one of "utmi", "ulpi" or "hsic". 168c2ecf20Sopenharmony_ci - clocks : Defines the clocks listed in the clock-names property. 178c2ecf20Sopenharmony_ci - clock-names : The following clock names must be present: 188c2ecf20Sopenharmony_ci - reg: The clock needed to access the PHY's own registers. This is the 198c2ecf20Sopenharmony_ci associated EHCI controller's clock. Always present. 208c2ecf20Sopenharmony_ci - pll_u: PLL_U. Always present. 218c2ecf20Sopenharmony_ci - timer: The timeout clock (clk_m). Present if phy_type == utmi. 228c2ecf20Sopenharmony_ci - utmi-pads: The clock needed to access the UTMI pad control registers. 238c2ecf20Sopenharmony_ci Present if phy_type == utmi. 248c2ecf20Sopenharmony_ci - ulpi-link: The clock Tegra provides to the ULPI PHY (usually pad DAP_MCLK2 258c2ecf20Sopenharmony_ci with pad group aka "nvidia,pins" cdev2 and pin mux option config aka 268c2ecf20Sopenharmony_ci "nvidia,function" pllp_out4). 278c2ecf20Sopenharmony_ci Present if phy_type == ulpi, and ULPI link mode is in use. 288c2ecf20Sopenharmony_ci - resets : Must contain an entry for each entry in reset-names. 298c2ecf20Sopenharmony_ci See ../reset/reset.txt for details. 308c2ecf20Sopenharmony_ci - reset-names : Must include the following entries: 318c2ecf20Sopenharmony_ci - usb: The PHY's own reset signal. 328c2ecf20Sopenharmony_ci - utmi-pads: The reset of the PHY containing the chip-wide UTMI pad control 338c2ecf20Sopenharmony_ci registers. Required even if phy_type == ulpi. 348c2ecf20Sopenharmony_ci 358c2ecf20Sopenharmony_ciRequired properties for phy_type == ulpi: 368c2ecf20Sopenharmony_ci - nvidia,phy-reset-gpio : The GPIO used to reset the PHY. 378c2ecf20Sopenharmony_ci 388c2ecf20Sopenharmony_ciRequired PHY timing params for utmi phy, for all chips: 398c2ecf20Sopenharmony_ci - nvidia,hssync-start-delay : Number of 480 Mhz clock cycles to wait before 408c2ecf20Sopenharmony_ci start of sync launches RxActive 418c2ecf20Sopenharmony_ci - nvidia,elastic-limit : Variable FIFO Depth of elastic input store 428c2ecf20Sopenharmony_ci - nvidia,idle-wait-delay : Number of 480 Mhz clock cycles of idle to wait 438c2ecf20Sopenharmony_ci before declare IDLE. 448c2ecf20Sopenharmony_ci - nvidia,term-range-adj : Range adjusment on terminations 458c2ecf20Sopenharmony_ci - Either one of the following for HS driver output control: 468c2ecf20Sopenharmony_ci - nvidia,xcvr-setup : integer, uses the provided value. 478c2ecf20Sopenharmony_ci - nvidia,xcvr-setup-use-fuses : boolean, indicates that the value is read 488c2ecf20Sopenharmony_ci from the on-chip fuses 498c2ecf20Sopenharmony_ci If both are provided, nvidia,xcvr-setup-use-fuses takes precedence. 508c2ecf20Sopenharmony_ci - nvidia,xcvr-lsfslew : LS falling slew rate control. 518c2ecf20Sopenharmony_ci - nvidia,xcvr-lsrslew : LS rising slew rate control. 528c2ecf20Sopenharmony_ci 538c2ecf20Sopenharmony_ciRequired PHY timing params for utmi phy, only on Tegra30 and above: 548c2ecf20Sopenharmony_ci - nvidia,xcvr-hsslew : HS slew rate control. 558c2ecf20Sopenharmony_ci - nvidia,hssquelch-level : HS squelch detector level. 568c2ecf20Sopenharmony_ci - nvidia,hsdiscon-level : HS disconnect detector level. 578c2ecf20Sopenharmony_ci 588c2ecf20Sopenharmony_ciOptional properties: 598c2ecf20Sopenharmony_ci - nvidia,has-legacy-mode : boolean indicates whether this controller can 608c2ecf20Sopenharmony_ci operate in legacy mode (as APX 2500 / 2600). In legacy mode some 618c2ecf20Sopenharmony_ci registers are accessed through the APB_MISC base address instead of 628c2ecf20Sopenharmony_ci the USB controller. 638c2ecf20Sopenharmony_ci - nvidia,is-wired : boolean. Indicates whether we can do certain kind of power 648c2ecf20Sopenharmony_ci optimizations for the devices that are always connected. e.g. modem. 658c2ecf20Sopenharmony_ci - dr_mode : dual role mode. Indicates the working mode for the PHY. Can be 668c2ecf20Sopenharmony_ci "host", "peripheral", or "otg". Defaults to "host" if not defined. 678c2ecf20Sopenharmony_ci host means this is a host controller 688c2ecf20Sopenharmony_ci peripheral means it is device controller 698c2ecf20Sopenharmony_ci otg means it can operate as either ("on the go") 708c2ecf20Sopenharmony_ci - nvidia,has-utmi-pad-registers : boolean indicates whether this controller 718c2ecf20Sopenharmony_ci contains the UTMI pad control registers common to all USB controllers. 728c2ecf20Sopenharmony_ci 738c2ecf20Sopenharmony_ciVBUS control (required for dr_mode == otg, optional for dr_mode == host): 748c2ecf20Sopenharmony_ci - vbus-supply: regulator for VBUS 75