From: Simon Glass Date: Tue, 28 Feb 2012 08:07:47 +0000 (+0000) Subject: tegra: fdt: Add additional USB binding X-Git-Tag: v2012.04-rc1~19^2~33 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8b7a47d73d26e562918021bf4027adcb660a1146;p=u-boot 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 --- 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.