From: Maxime Ripard Date: Thu, 15 Oct 2015 12:34:22 +0000 (+0200) Subject: sunxi: cubietruck: Enable the USB OTG controller X-Git-Tag: v2016.01-rc1~46 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a78ebb10a990eaa3930a48fcd375bc85cc6a439d;p=u-boot 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 --- diff --git a/configs/Cubietruck_defconfig b/configs/Cubietruck_defconfig index efe2317138..bb9c42a800 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