mirror of
https://github.com/u-boot/u-boot.git
synced 2024-12-11 13:43:27 +08:00
043c65b793
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>
27 lines
647 B
Plaintext
27 lines
647 B
Plaintext
CONFIG_ARM=y
|
|
CONFIG_ARCH_SUNXI=y
|
|
CONFIG_NR_DRAM_BANKS=1
|
|
CONFIG_SPL=y
|
|
CONFIG_MACH_SUN8I_R40=y
|
|
CONFIG_DRAM_CLK=576
|
|
CONFIG_MACPWR="PA17"
|
|
CONFIG_MMC0_CD_PIN="PH13"
|
|
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
|
|
CONFIG_AHCI=y
|
|
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
|
|
CONFIG_USE_PREBOOT=y
|
|
CONFIG_SPL_I2C_SUPPORT=y
|
|
CONFIG_DEFAULT_DEVICE_TREE="sun8i-r40-bananapi-m2-ultra"
|
|
CONFIG_SYS_RELOC_GD_ENV_ADDR=y
|
|
CONFIG_SCSI_AHCI=y
|
|
CONFIG_RGMII=y
|
|
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
|