summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/usb/nvidia,tegra20-ehci.txt
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2012-05-21 16:05:45 -0600
committerStephen Warren <swarren@nvidia.com>2012-06-11 11:48:42 -0600
commitf3d549dd5b217d084c9fe6581e0430909440de2b (patch)
treeabc7b632477bd0d0c1fd5c5ab41ba2db02891ec0 /Documentation/devicetree/bindings/usb/nvidia,tegra20-ehci.txt
parent4c5ddd952ef1e534b45218cf4ad74b5496e6406c (diff)
dt: name all Tegra binding docs consistently
Rename all Tegra binding documentation according to the first or primary compatible value they describe. This provides a clear naming scheme for the files, and prevents any naming conflicts should future SoC versions require their own binding. Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'Documentation/devicetree/bindings/usb/nvidia,tegra20-ehci.txt')
-rw-r--r--Documentation/devicetree/bindings/usb/nvidia,tegra20-ehci.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/nvidia,tegra20-ehci.txt b/Documentation/devicetree/bindings/usb/nvidia,tegra20-ehci.txt
new file mode 100644
index 000000000000..e9b005dc7625
--- /dev/null
+++ b/Documentation/devicetree/bindings/usb/nvidia,tegra20-ehci.txt
@@ -0,0 +1,29 @@
+Tegra SOC USB controllers
+
+The device node for a USB controller that is part of a Tegra
+SOC is as described in the document "Open Firmware Recommended
+Practice : Universal Serial Bus" with the following modifications
+and additions :
+
+Required properties :
+ - compatible : Should be "nvidia,tegra20-ehci" for USB controllers
+ used in host mode.
+ - phy_type : Should be one of "ulpi" or "utmi".
+ - nvidia,vbus-gpio : If present, specifies a gpio that needs to be
+ activated for the bus to be powered.
+
+Required properties for phy_type == ulpi:
+ - nvidia,phy-reset-gpio : The GPIO used to reset the PHY.
+
+Optional properties:
+ - dr_mode : dual role mode. Indicates the working mode for
+ nvidia,tegra20-ehci compatible controllers. Can be "host", "peripheral",
+ or "otg". Default to "host" if not defined for backward compatibility.
+ host means this is a host controller
+ peripheral means it is device controller
+ otg means it can operate as either ("on the go")
+ - nvidia,has-legacy-mode : boolean indicates whether this controller can
+ operate in legacy mode (as APX 2500 / 2600). In legacy mode some
+ registers are accessed through the APB_MISC base address instead of
+ the USB controller. Since this is a legacy issue it probably does not
+ warrant a compatible string of its own.