From b257464b1c7522d04650d8e2ab52ee7c1cafa7e4 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 27 Feb 2012 10:52:41 +0000 Subject: fdt: Add tegra-usb bindings file from linux This file is taken from the Linux mailing list. Signed-off-by: Simon Glass Signed-off-by: Tom Warren --- doc/device-tree-bindings/usb/tegra-usb.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 doc/device-tree-bindings/usb/tegra-usb.txt (limited to 'doc/device-tree-bindings/usb/tegra-usb.txt') diff --git a/doc/device-tree-bindings/usb/tegra-usb.txt b/doc/device-tree-bindings/usb/tegra-usb.txt new file mode 100644 index 0000000000..035d63d564 --- /dev/null +++ b/doc/device-tree-bindings/usb/tegra-usb.txt @@ -0,0 +1,13 @@ +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. -- cgit v1.2.1 From 8b7a47d73d26e562918021bf4027adcb660a1146 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Tue, 28 Feb 2012 08:07:47 +0000 Subject: tegra: fdt: Add additional USB binding This adds a property to indicate a port which can switch between host and device mode. Signed-off-by: Simon Glass Acked-by: Stephen Warren Signed-off-by: Tom Warren --- doc/device-tree-bindings/usb/tegra-usb.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc/device-tree-bindings/usb/tegra-usb.txt') diff --git a/doc/device-tree-bindings/usb/tegra-usb.txt b/doc/device-tree-bindings/usb/tegra-usb.txt index 035d63d564..5282d44ac0 100644 --- a/doc/device-tree-bindings/usb/tegra-usb.txt +++ b/doc/device-tree-bindings/usb/tegra-usb.txt @@ -11,3 +11,15 @@ Required properties : - 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. + +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. -- cgit v1.2.1