summaryrefslogtreecommitdiffstats
path: root/configs/Cubietruck_plus_defconfig
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-03-30 00:26:59 +0800
committerHans de Goede <hdegoede@redhat.com>2016-04-01 09:52:15 +0200
commit7e4c5d207398ac38c5b97a7c99d79f0a518cc015 (patch)
treee2da7320d650d6099fe4e6186ec68047d588a1c3 /configs/Cubietruck_plus_defconfig
parent3cc7177913eb83cae6e20b2f71d4db40fb4d37e7 (diff)
downloadu-boot-7e4c5d207398ac38c5b97a7c99d79f0a518cc015.tar.gz
u-boot-7e4c5d207398ac38c5b97a7c99d79f0a518cc015.tar.xz
u-boot-7e4c5d207398ac38c5b97a7c99d79f0a518cc015.zip
sunxi: Cubietruck Plus: Enable USB Kconfig options in defconfig
The Cubietruck Plus uses all 3 USB controllers: - USB OTG functions are provided by the musb USB OTG controller - Onboard SATA is provied by a USB-SATA bridge connected to USB1 - The USB host ports on the board are provided by an HSIC USB hub FLDO1 is set to 1.2V for HSIC. 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>
Diffstat (limited to 'configs/Cubietruck_plus_defconfig')
-rw-r--r--configs/Cubietruck_plus_defconfig10
1 files changed, 9 insertions, 1 deletions
diff --git a/configs/Cubietruck_plus_defconfig b/configs/Cubietruck_plus_defconfig
index bb0b336a76..d625c21fcb 100644
--- a/configs/Cubietruck_plus_defconfig
+++ b/configs/Cubietruck_plus_defconfig
@@ -6,13 +6,21 @@ CONFIG_DRAM_ZQ=15355
CONFIG_DRAM_ODT_EN=y
CONFIG_MMC0_CD_PIN="PF6"
CONFIG_I2C0_ENABLE=y
+CONFIG_USB0_VBUS_PIN="AXP0-VBUS-ENABLE"
+CONFIG_USB0_VBUS_DET="AXP0-VBUS-DETECT"
+CONFIG_USB0_ID_DET="PH11"
+CONFIG_USB1_VBUS_PIN="PD29"
+CONFIG_USB2_VBUS_PIN="PL6"
CONFIG_AXP_GPIO=y
CONFIG_DEFAULT_DEVICE_TREE="sun8i-a83t-cubietruck-plus"
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
CONFIG_SPL=y
-CONFIG_SYS_EXTRA_OPTIONS="RGMII,MACPWR=SUNXI_GPD(20)"
# CONFIG_CMD_IMLS is not set
# CONFIG_CMD_FLASH is not set
# CONFIG_CMD_FPGA is not set
+CONFIG_CMD_GPIO=y
CONFIG_AXP_DLDO3_VOLT=2500
CONFIG_AXP_DLDO4_VOLT=3300
+CONFIG_AXP_FLDO1_VOLT=1200
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_MUSB_HOST=y