]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
sunxi: h8_homlet_v2: Enable USB Kconfig options in defconfig
authorChen-Yu Tsai <wens@csie.org>
Tue, 29 Mar 2016 16:26:58 +0000 (00:26 +0800)
committerHans de Goede <hdegoede@redhat.com>
Fri, 1 Apr 2016 07:51:56 +0000 (09:51 +0200)
The h8_homlet_v2 has 2 USB host ports, one connected to the OTG
controller, one connected to the EHCI/OHCI pair.

Also provide the card detect pin for MMC.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
configs/h8_homlet_v2_defconfig

index 4ede071ae3486e8dd78ab8702d3da7d7d9710ab1..e04d96bee825313447daf6340274a27a9339faa0 100644 (file)
@@ -4,6 +4,9 @@ CONFIG_MACH_SUN8I_A83T=y
 CONFIG_DRAM_CLK=480
 CONFIG_DRAM_ZQ=15355
 CONFIG_DRAM_ODT_EN=y
+CONFIG_MMC0_CD_PIN="PF6"
+CONFIG_USB0_VBUS_PIN="PL5"
+CONFIG_USB1_VBUS_PIN="PL6"
 CONFIG_AXP_GPIO=y
 CONFIG_DEFAULT_DEVICE_TREE="sun8i-a83t-allwinner-h8homlet-v2"
 # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
@@ -12,3 +15,5 @@ CONFIG_SPL=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_FPGA is not set
 CONFIG_AXP_DLDO4_VOLT=3300
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_MUSB_HOST=y