summaryrefslogtreecommitdiffstats
path: root/configs
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2016-04-01 12:55:08 +0200
committerHans de Goede <hdegoede@redhat.com>2016-04-12 08:58:03 +0200
commitb24f7f008d6d29d7fb70d42ef40bb51001f3ab0f (patch)
tree954d74055a78ec21df06b204b8456072958e2a63 /configs
parente6c9cec4ca0f3009858c96d57f05ccab557e8a34 (diff)
downloadtalos-obmc-uboot-b24f7f008d6d29d7fb70d42ef40bb51001f3ab0f.tar.gz
talos-obmc-uboot-b24f7f008d6d29d7fb70d42ef40bb51001f3ab0f.zip
sunxi: Enable usb ports on the Sinovoip BPI M3
DLDO3 is used to provide Port-D power and PD is used for the usb-hub / sata-5v enable pins. The 2.5V comes from the schematic and matches the factory image fex file. The dts changes are the minimal changes needed for u-boot to pick-up the usb host controllers. The upstream kernel does not (yet) have usb host support. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'configs')
-rw-r--r--configs/Sinovoip_BPI_M3_defconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/configs/Sinovoip_BPI_M3_defconfig b/configs/Sinovoip_BPI_M3_defconfig
index 3c7f16732e..d3fd857ec0 100644
--- a/configs/Sinovoip_BPI_M3_defconfig
+++ b/configs/Sinovoip_BPI_M3_defconfig
@@ -5,6 +5,11 @@ CONFIG_DRAM_TYPE=7
CONFIG_DRAM_CLK=480
CONFIG_DRAM_ZQ=15355
CONFIG_DRAM_ODT_EN=y
+CONFIG_INITIAL_USB_SCAN_DELAY=500
+CONFIG_USB0_VBUS_PIN="AXP0-VBUS-ENABLE"
+CONFIG_USB0_VBUS_DET="AXP0-VBUS-DETECT"
+CONFIG_USB0_ID_DET="PH11"
+CONFIG_USB1_VBUS_PIN="PD24"
CONFIG_AXP_GPIO=y
CONFIG_DEFAULT_DEVICE_TREE="sun8i-a83t-sinovoip-bpi-m3"
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
@@ -13,3 +18,7 @@ CONFIG_SPL=y
# CONFIG_CMD_FLASH is not set
# CONFIG_CMD_FPGA is not set
CONFIG_AXP_DCDC5_VOLT=1200
+CONFIG_AXP_DLDO3_VOLT=2500
+CONFIG_USB_EHCI_HCD=y
+CONFIG_USB_MUSB_HOST=y
+CONFIG_SYS_EXTRA_OPTIONS="SATAPWR=SUNXI_GPD(25)"
OpenPOWER on IntegriCloud