Olof Johansson | c27317c | 2011-11-04 09:12:39 +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. |
Venu Byravarasu | e374b65 | 2013-01-16 03:30:19 +0000 | [diff] [blame] | 14 | - nvidia,phy : phandle of the PHY instance, the controller is connected to. |
Simon Glass | d5dfcc9 | 2012-03-06 21:04:32 -0800 | [diff] [blame] | 15 | |
Stephen Warren | aa607eb | 2012-04-12 15:46:49 -0600 | [diff] [blame] | 16 | Required properties for phy_type == ulpi: |
| 17 | - nvidia,phy-reset-gpio : The GPIO used to reset the PHY. |
| 18 | |
Simon Glass | d5dfcc9 | 2012-03-06 21:04:32 -0800 | [diff] [blame] | 19 | Optional properties: |
| 20 | - dr_mode : dual role mode. Indicates the working mode for |
| 21 | nvidia,tegra20-ehci compatible controllers. Can be "host", "peripheral", |
| 22 | or "otg". Default to "host" if not defined for backward compatibility. |
| 23 | host means this is a host controller |
| 24 | peripheral means it is device controller |
| 25 | otg means it can operate as either ("on the go") |
| 26 | - nvidia,has-legacy-mode : boolean indicates whether this controller can |
| 27 | operate in legacy mode (as APX 2500 / 2600). In legacy mode some |
| 28 | registers are accessed through the APB_MISC base address instead of |
| 29 | the USB controller. Since this is a legacy issue it probably does not |
| 30 | warrant a compatible string of its own. |
Venu Byravarasu | b4e0747 | 2012-12-13 20:59:07 +0000 | [diff] [blame] | 31 | - nvidia,needs-double-reset : boolean is to be set for some of the Tegra2 |
| 32 | USB ports, which need reset twice due to hardware issues. |