projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4257c50
)
sunxi: cubietruck: Enable the USB OTG controller
author
Maxime Ripard
<maxime.ripard@free-electrons.com>
Thu, 15 Oct 2015 12:34:22 +0000
(14:34 +0200)
committer
Tom Rini
<trini@konsulko.com>
Thu, 12 Nov 2015 18:19:01 +0000
(13:19 -0500)
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>
configs/Cubietruck_defconfig
patch
|
blob
|
history
diff --git
a/configs/Cubietruck_defconfig
b/configs/Cubietruck_defconfig
index efe2317138e94e2d7a3c697d701709de180337dd..bb9c42a8005639fa837e8892a344aeee37ef966b 100644
(file)
--- 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