Merge branch 'for-3.4/dt' of git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra into next/dt2

* 'for-3.4/dt' of git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra:
  arm: tegra: dts: Mark USB1 as an OTG port on Seaboard
  arm: tegra: dts: Add legacy mode support to Tegra2x USB1 port
  arm: tegra: dts: Support host/device selection and legacy mode
This commit is contained in:
Arnd Bergmann 2012-03-19 20:57:28 +00:00
commit f4eb283407
3 changed files with 15 additions and 0 deletions

View File

@ -11,3 +11,16 @@ Required properties :
- phy_type : Should be one of "ulpi" or "utmi". - phy_type : Should be one of "ulpi" or "utmi".
- nvidia,vbus-gpio : If present, specifies a gpio that needs to be - nvidia,vbus-gpio : If present, specifies a gpio that needs to be
activated for the bus to be powered. 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. Since this is a legacy issue it probably does not
warrant a compatible string of its own.

View File

@ -112,6 +112,7 @@
usb@c5000000 { usb@c5000000 {
nvidia,vbus-gpio = <&gpio 24 0>; /* PD0 */ nvidia,vbus-gpio = <&gpio 24 0>; /* PD0 */
dr_mode = "otg";
}; };
gpio-keys { gpio-keys {

View File

@ -188,6 +188,7 @@
reg = <0xc5000000 0x4000>; reg = <0xc5000000 0x4000>;
interrupts = < 0 20 0x04 >; interrupts = < 0 20 0x04 >;
phy_type = "utmi"; phy_type = "utmi";
nvidia,has-legacy-mode;
}; };
usb@c5004000 { usb@c5004000 {