aboutsummaryrefslogtreecommitdiff
path: root/configs/bananapi_m2_berry_defconfig
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2020-01-01 23:44:49 +0000
committerJagan Teki <jagan@amarulasolutions.com>2020-01-24 23:06:50 +0530
commit043c65b793648e810533b5fc28336a9ebefa2830 (patch)
tree29b72ccd19e535d1e4864aa1e1d1d48d0afe6167 /configs/bananapi_m2_berry_defconfig
parenta2f729f49b394c6017c818a31ac73f206cc40ac7 (diff)
downloadu-boot-043c65b793648e810533b5fc28336a9ebefa2830.zip
u-boot-043c65b793648e810533b5fc28336a9ebefa2830.tar.gz
u-boot-043c65b793648e810533b5fc28336a9ebefa2830.tar.bz2
sunxi: defconfig: R40 boards: enable USB
Now that the USB PHY on the Allwinner R40 SoC is supported, enable USB support for the two R40 boards U-Boot supports. For this we need to add the GPIO pin that powers the USB port(s), also enable the usual suspects (OHCI/EHCI support). Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
Diffstat (limited to 'configs/bananapi_m2_berry_defconfig')
-rw-r--r--configs/bananapi_m2_berry_defconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/configs/bananapi_m2_berry_defconfig b/configs/bananapi_m2_berry_defconfig
index a97be06..654974e 100644
--- a/configs/bananapi_m2_berry_defconfig
+++ b/configs/bananapi_m2_berry_defconfig
@@ -17,3 +17,7 @@ CONFIG_AXP_ELDO3_VOLT=1200
CONFIG_SCSI=y
CONFIG_SUN8I_EMAC=y
CONFIG_RGMII=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_USB1_VBUS_PIN="PH23"
+CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y