summaryrefslogtreecommitdiff
path: root/board/ti/am43xx
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-02-21 08:00:22 -0500
committerTom Rini <trini@ti.com>2014-02-21 08:00:22 -0500
commit4c89a369c7cd6e7ad3adec4601cfa69fec476164 (patch)
tree79beb1aa83998aa8beb9fe29b5930deb1235d68e /board/ti/am43xx
parent36ae5cd2a824597b4c53b045ac0f4c1e3b4eaf65 (diff)
parent9ea09e20376abbca21760ed4ba87d6b5c4df465c (diff)
downloadu-boot-imx-4c89a369c7cd6e7ad3adec4601cfa69fec476164.zip
u-boot-imx-4c89a369c7cd6e7ad3adec4601cfa69fec476164.tar.gz
u-boot-imx-4c89a369c7cd6e7ad3adec4601cfa69fec476164.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-spi
Diffstat (limited to 'board/ti/am43xx')
-rw-r--r--board/ti/am43xx/mux.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/board/ti/am43xx/mux.c b/board/ti/am43xx/mux.c
index 810b194..f96c56f 100644
--- a/board/ti/am43xx/mux.c
+++ b/board/ti/am43xx/mux.c
@@ -38,6 +38,16 @@ static struct module_pin_mux gpio0_22_pin_mux[] = {
{-1},
};
+static struct module_pin_mux qspi_pin_mux[] = {
+ {OFFSET(gpmc_csn0), (MODE(3) | PULLUP_EN | RXACTIVE)}, /* QSPI_CS0 */
+ {OFFSET(gpmc_csn3), (MODE(2) | PULLUP_EN | RXACTIVE)}, /* QSPI_CLK */
+ {OFFSET(gpmc_advn_ale), (MODE(3) | PULLUP_EN | RXACTIVE)}, /* QSPI_D0 */
+ {OFFSET(gpmc_oen_ren), (MODE(3) | PULLUP_EN | RXACTIVE)}, /* QSPI_D1 */
+ {OFFSET(gpmc_wen), (MODE(3) | PULLUP_EN | RXACTIVE)}, /* QSPI_D2 */
+ {OFFSET(gpmc_be0n_cle), (MODE(3) | PULLUP_EN | RXACTIVE)}, /* QSPI_D3 */
+ {-1},
+};
+
void enable_uart0_pin_mux(void)
{
configure_module_pin_mux(uart0_pin_mux);
@@ -50,6 +60,7 @@ void enable_board_pin_mux(void)
if (board_is_gpevm())
configure_module_pin_mux(gpio0_22_pin_mux);
+ configure_module_pin_mux(qspi_pin_mux);
}
void enable_i2c0_pin_mux(void)