summaryrefslogtreecommitdiff
path: root/board/ti/am43xx/mux.c
diff options
context:
space:
mode:
authorDave Gerlach <d-gerlach@ti.com>2014-02-10 11:41:49 -0500
committerTom Rini <trini@ti.com>2014-02-21 13:55:40 -0500
commitcd8341b7eb7bcf630a49538684778d87daef3e61 (patch)
treeb0a0047ef60d2ba09ac17210034d51846a3d8691 /board/ti/am43xx/mux.c
parent072cefe07d54879816d0f17830f28198af4c2727 (diff)
downloadu-boot-imx-cd8341b7eb7bcf630a49538684778d87daef3e61.zip
u-boot-imx-cd8341b7eb7bcf630a49538684778d87daef3e61.tar.gz
u-boot-imx-cd8341b7eb7bcf630a49538684778d87daef3e61.tar.bz2
ARM: AM43xx: GP-EVM: Correct GPIO used for VTT regulator control
Schematic indicates GPIO5_7 is to be used for VTT regulator control rather than GPIO0_21 so modify enable_vtt_regulator to reflect this. Without this some boards will experience DDR3 corruption and fail to boot. Signed-off-by: Dave Gerlach <d-gerlach@ti.com> [trini: Rework patch against mainline] Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'board/ti/am43xx/mux.c')
-rw-r--r--board/ti/am43xx/mux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/ti/am43xx/mux.c b/board/ti/am43xx/mux.c
index 810b194..51f7fd6 100644
--- a/board/ti/am43xx/mux.c
+++ b/board/ti/am43xx/mux.c
@@ -33,8 +33,8 @@ static struct module_pin_mux i2c0_pin_mux[] = {
{-1},
};
-static struct module_pin_mux gpio0_22_pin_mux[] = {
- {OFFSET(ddr_ba2), (MODE(9) | PULLUP_EN)}, /* GPIO0_22 */
+static struct module_pin_mux gpio5_7_pin_mux[] = {
+ {OFFSET(spi0_cs0), (MODE(7) | PULLUP_EN)}, /* GPIO5_7 */
{-1},
};
@@ -49,7 +49,7 @@ void enable_board_pin_mux(void)
configure_module_pin_mux(i2c0_pin_mux);
if (board_is_gpevm())
- configure_module_pin_mux(gpio0_22_pin_mux);
+ configure_module_pin_mux(gpio5_7_pin_mux);
}
void enable_i2c0_pin_mux(void)