summaryrefslogtreecommitdiff
path: root/include/configs/mx6qsabreauto.h
diff options
context:
space:
mode:
authorYe.Li <B37916@freescale.com>2014-10-30 18:53:49 +0800
committerStefano Babic <sbabic@denx.de>2014-11-03 11:21:49 +0100
commit8fe280f330ddfd4a9e395ca15ab4019a1a32aa1f (patch)
treeb735eb181cdc6c6e38c2ff52d3348719ce1d879d /include/configs/mx6qsabreauto.h
parent36255d67790b5a4f086e2c157ecea2455df0b7ce (diff)
imx: mx6 sabreauto: Add board support for USB EHCI
On mx6 sabreauto board, there are two USB ports: 0: OTG 1: HOST The EHCI driver is enabled for this board, but the IOMUX and VBUS power control is not implemented, which cause both USB port failed to work. This patch fix the problem by adding the board support codes. Since the power control uses the GPIO pin from port expander MAX7310, the PCA953X driver is enabled for accessing the MAX7310. The ID pin of OTG Port needs to configure the GPR1 bit 13 for selecting its daisy chain. Add a new function "imx_iomux_set_gpr_register" to handle GPR register setting. Signed-off-by: Ye.Li <B37916@freescale.com>
Diffstat (limited to 'include/configs/mx6qsabreauto.h')
-rw-r--r--include/configs/mx6qsabreauto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/configs/mx6qsabreauto.h b/include/configs/mx6qsabreauto.h
index 0ab31279ccd..235dd6d33fd 100644
--- a/include/configs/mx6qsabreauto.h
+++ b/include/configs/mx6qsabreauto.h
@@ -32,6 +32,9 @@
#define CONFIG_MXC_USB_PORTSC (PORT_PTS_UTMI | PORT_PTS_PTW)
#define CONFIG_MXC_USB_FLAGS 0
+#define CONFIG_PCA953X
+#define CONFIG_SYS_I2C_PCA953X_WIDTH { {0x30, 8}, {0x32, 8}, {0x34, 8} }
+
#include "mx6sabre_common.h"
#define CONFIG_SYS_FSL_USDHC_NUM 2