Simon Glass | b257464 | 2012-02-27 10:52:41 +0000 | [diff] [blame] | 1 | Tegra SOC USB controllers |
| 2 | |
| 3 | The device node for a USB controller that is part of a Tegra |
| 4 | SOC is as described in the document "Open Firmware Recommended |
| 5 | Practice : Universal Serial Bus" with the following modifications |
| 6 | and additions : |
| 7 | |
| 8 | Required properties : |
| 9 | - compatible : Should be "nvidia,tegra20-ehci" for USB controllers |
| 10 | used in host mode. |
| 11 | - phy_type : Should be one of "ulpi" or "utmi". |
| 12 | - nvidia,vbus-gpio : If present, specifies a gpio that needs to be |
| 13 | activated for the bus to be powered. |
Simon Glass | 8b7a47d | 2012-02-28 08:07:47 +0000 | [diff] [blame] | 14 | |
| 15 | Optional properties: |
| 16 | - dr_mode : dual role mode. Indicates the working mode for |
| 17 | nvidia,tegra20-ehci compatible controllers. Can be "host", "peripheral", |
| 18 | or "otg". Default to "host" if not defined for backward compatibility. |
| 19 | host means this is a host controller |
| 20 | peripheral means it is device controller |
| 21 | otg means it can operate as either ("on the go") |
| 22 | - nvidia,has-legacy-mode : boolean indicates whether this controller can |
| 23 | operate in legacy mode (as APX 2500 / 2600). In legacy mode some |
| 24 | registers are accessed through the APB_MISC base address instead of |
| 25 | the USB controller. |