summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2015-10-15 14:34:22 +0200
committerTom Rini <trini@konsulko.com>2015-11-12 13:19:01 -0500
commita78ebb10a990eaa3930a48fcd375bc85cc6a439d (patch)
treeda88d4ae0ac52c56d028f1ba7baf876980762286 /configs
parent4257c5036aaeebbd44398c62f8c7f1ea02e3074f (diff)
downloadu-boot-imx-a78ebb10a990eaa3930a48fcd375bc85cc6a439d.zip
u-boot-imx-a78ebb10a990eaa3930a48fcd375bc85cc6a439d.tar.gz
u-boot-imx-a78ebb10a990eaa3930a48fcd375bc85cc6a439d.tar.bz2
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>
Diffstat (limited to 'configs')
-rw-r--r--configs/Cubietruck_defconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/configs/Cubietruck_defconfig b/configs/Cubietruck_defconfig
index efe2317..bb9c42a 100644
--- a/configs/Cubietruck_defconfig
+++ b/configs/Cubietruck_defconfig
@@ -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