summaryrefslogtreecommitdiff
path: root/configs/Sinlinx_SinA33_defconfig
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2016-09-14 10:26:36 +0800
committerHans de Goede <hdegoede@redhat.com>2016-09-18 14:39:16 +0200
commitca7628a91136364235de8fb4bd699944b981c504 (patch)
tree98eddf2e833792c78e4ad4b658c0b77cf9cfd6c6 /configs/Sinlinx_SinA33_defconfig
parent28de49be5708bcd3e409e4512676defe792127d6 (diff)
sunxi: Enable USB gadget support for Sinlinx SinA33
Sinlinx SinA33 has a USB OTG port, but VBUS is controlled manually from a jumper pad. Enable OTG in gadget mode, as well as the download gadget and related functions. 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/Sinlinx_SinA33_defconfig')
-rw-r--r--configs/Sinlinx_SinA33_defconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/configs/Sinlinx_SinA33_defconfig b/configs/Sinlinx_SinA33_defconfig
index 4decc72dff..b41bf67965 100644
--- a/configs/Sinlinx_SinA33_defconfig
+++ b/configs/Sinlinx_SinA33_defconfig
@@ -4,10 +4,18 @@ CONFIG_MACH_SUN8I_A33=y
CONFIG_DRAM_CLK=552
CONFIG_DRAM_ZQ=15291
CONFIG_MMC0_CD_PIN="PB4"
+CONFIG_USB0_ID_DET="PH8"
CONFIG_DEFAULT_DEVICE_TREE="sun8i-a33-sinlinx-sina33"
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
CONFIG_SPL=y
# CONFIG_CMD_IMLS is not set
# CONFIG_CMD_FLASH is not set
+CONFIG_CMD_DFU=y
# CONFIG_CMD_FPGA is not set
CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_MUSB_GADGET=y
+CONFIG_USB_GADGET=y
+CONFIG_USB_GADGET_DOWNLOAD=y
+CONFIG_G_DNL_MANUFACTURER="Allwinner Technology"
+CONFIG_G_DNL_VENDOR_NUM=0x1f3a
+CONFIG_G_DNL_PRODUCT_NUM=0x1010