summaryrefslogtreecommitdiff
path: root/include/configs/mx6slevk.h
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2014-11-10 08:50:41 +0800
committerMarek Vasut <marex@denx.de>2014-11-14 20:56:58 +0100
commit3b9c1a5dc09e5ee773f5a4fe9280e568b64b7779 (patch)
tree5cb0405f797d081b6d0ba54ed142f6e9e7d55b18 /include/configs/mx6slevk.h
parent229dbba9b1a24d8f371f18fa8ff13a4cca864f06 (diff)
downloadu-boot-imx-3b9c1a5dc09e5ee773f5a4fe9280e568b64b7779.zip
u-boot-imx-3b9c1a5dc09e5ee773f5a4fe9280e568b64b7779.tar.gz
u-boot-imx-3b9c1a5dc09e5ee773f5a4fe9280e568b64b7779.tar.bz2
imx:mx6slevk add board level support for usb
Add pinmux settings, implement board_ehci_hcd_init, board_usb_phy_mode There are two usb port on mx6slevk board: 1. otg port 2. host port The following are the connection between usb controller and board usb interface, host port has not ID pin set: otg1 core <---> board otg port otg2 core <---> board host port In order to make host port work, board_usb_phy_mode return USB_INIT_HOST to let host port work in host mode. Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Signed-off-by: Ye Li <B37916@freescale.com>
Diffstat (limited to 'include/configs/mx6slevk.h')
-rw-r--r--include/configs/mx6slevk.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/configs/mx6slevk.h b/include/configs/mx6slevk.h
index 4fcaf51..bd57159 100644
--- a/include/configs/mx6slevk.h
+++ b/include/configs/mx6slevk.h
@@ -209,6 +209,20 @@
#define CONFIG_SF_DEFAULT_MODE SPI_MODE_0
#endif
+/* USB Configs */
+#define CONFIG_CMD_USB
+#ifdef CONFIG_CMD_USB
+#define CONFIG_USB_EHCI
+#define CONFIG_USB_EHCI_MX6
+#define CONFIG_USB_STORAGE
+#define CONFIG_EHCI_HCD_INIT_AFTER_RESET
+#define CONFIG_USB_HOST_ETHER
+#define CONFIG_USB_ETHER_ASIX
+#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
+#define CONFIG_MXC_USB_FLAGS 0
+#define CONFIG_USB_MAX_CONTROLLER_COUNT 2
+#endif
+
#define CONFIG_SYS_FSL_USDHC_NUM 3
#if defined(CONFIG_ENV_IS_IN_MMC)
#define CONFIG_SYS_MMC_ENV_DEV 1 /* SDHC2*/