sunxi: cubietruck: Enable the USB OTG controller

The Cubietruck has a mini-USB connector that can be used to power up the
board and as an OTG connector.

Since we have already some USB host-only ports right beside this one,
enable it in gadget mode

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
This commit is contained in:
Maxime Ripard 2015-10-15 14:34:22 +02:00 committed by Tom Rini
parent 4257c5036a
commit a78ebb10a9

View File

@ -14,3 +14,8 @@ CONFIG_SYS_EXTRA_OPTIONS="SUNXI_GMAC,RGMII,AHCI,SATAPWR=SUNXI_GPH(12)"
# CONFIG_CMD_FPGA is not set
CONFIG_ETH_DESIGNWARE=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB0_ID_DET="PH19"
CONFIG_USB0_VBUS_DET="PH22"
CONFIG_USB0_VBUS_PIN="PH17"
CONFIG_USB_MUSB_SUNXI=y
CONFIG_USB_MUSB_GADGET=y