]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sunxi: defconfig: R40 boards: enable USB
authorAndre Przywara <andre.przywara@arm.com>
Wed, 1 Jan 2020 23:44:49 +0000 (23:44 +0000)
committerJagan Teki <jagan@amarulasolutions.com>
Fri, 24 Jan 2020 17:36:50 +0000 (23:06 +0530)
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>
configs/Bananapi_M2_Ultra_defconfig
configs/bananapi_m2_berry_defconfig

index 7a30dd7f7fb88611b0e22eb3820b9f3bed534030..bbf931329c6fae6ac7b3e26d3eb8716f57f63d40 100644 (file)
@@ -19,4 +19,8 @@ CONFIG_SUN8I_EMAC=y
 CONFIG_AXP_DLDO4_VOLT=2500
 CONFIG_AXP_ELDO3_VOLT=1200
 CONFIG_SCSI=y
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_OHCI_HCD=y
+CONFIG_USB1_VBUS_PIN="PH23"
+CONFIG_USB2_VBUS_PIN="PH23"
 CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
index a97be0618827e4f78defcee5a2a772580b8c745c..654974e47d6cc69490e26593d198e2e44db47c79 100644 (file)
@@ -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