1b257464bSSimon GlassTegra SOC USB controllers 2b257464bSSimon Glass 3b257464bSSimon GlassThe device node for a USB controller that is part of a Tegra 4b257464bSSimon GlassSOC is as described in the document "Open Firmware Recommended 5b257464bSSimon GlassPractice : Universal Serial Bus" with the following modifications 6b257464bSSimon Glassand additions : 7b257464bSSimon Glass 8b257464bSSimon GlassRequired properties : 9b257464bSSimon Glass - compatible : Should be "nvidia,tegra20-ehci" for USB controllers 10b257464bSSimon Glass used in host mode. 11b257464bSSimon Glass - phy_type : Should be one of "ulpi" or "utmi". 12b257464bSSimon Glass - nvidia,vbus-gpio : If present, specifies a gpio that needs to be 13b257464bSSimon Glass activated for the bus to be powered. 14*8b7a47d7SSimon Glass 15*8b7a47d7SSimon GlassOptional properties: 16*8b7a47d7SSimon Glass - dr_mode : dual role mode. Indicates the working mode for 17*8b7a47d7SSimon Glass nvidia,tegra20-ehci compatible controllers. Can be "host", "peripheral", 18*8b7a47d7SSimon Glass or "otg". Default to "host" if not defined for backward compatibility. 19*8b7a47d7SSimon Glass host means this is a host controller 20*8b7a47d7SSimon Glass peripheral means it is device controller 21*8b7a47d7SSimon Glass otg means it can operate as either ("on the go") 22*8b7a47d7SSimon Glass - nvidia,has-legacy-mode : boolean indicates whether this controller can 23*8b7a47d7SSimon Glass operate in legacy mode (as APX 2500 / 2600). In legacy mode some 24*8b7a47d7SSimon Glass registers are accessed through the APB_MISC base address instead of 25*8b7a47d7SSimon Glass the USB controller. 26