summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel@ziswiler.com>2015-03-27 01:31:45 +0100
committerTom Warren <twarren@nvidia.com>2015-03-30 10:04:44 -0700
commit76a30fedd44428c7108084266389c9b4ba5678c8 (patch)
tree3b0635433e79d311b0a71b29cae3fea16fa35051
parent9b219d4dfb1f358fa0dfa03f6e529c82f9299dd2 (diff)
downloadu-boot-imx-76a30fedd44428c7108084266389c9b4ba5678c8.zip
u-boot-imx-76a30fedd44428c7108084266389c9b4ba5678c8.tar.gz
u-boot-imx-76a30fedd44428c7108084266389c9b4ba5678c8.tar.bz2
ARM: tegra: colibri_t20: fix nand pinmux
Pingroup ATC seems to come out of reset with config set to NAND, so we need to explicitly configure some other function to this group in order to avoid clashing settings. Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com> Signed-off-by: Tom Warren <twarren@nvidia.com>
-rw-r--r--board/toradex/colibri_t20/colibri_t20.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/toradex/colibri_t20/colibri_t20.c b/board/toradex/colibri_t20/colibri_t20.c
index 5d8bdec..8ae9ccf 100644
--- a/board/toradex/colibri_t20/colibri_t20.c
+++ b/board/toradex/colibri_t20/colibri_t20.c
@@ -27,6 +27,12 @@ void pin_mux_mmc(void)
void pin_mux_nand(void)
{
funcmux_select(PERIPH_ID_NDFLASH, FUNCMUX_NDFLASH_KBC_8_BIT);
+
+ /*
+ * configure pingroup ATC to something unrelated to
+ * avoid ATC overriding KBC
+ */
+ pinmux_set_func(PMUX_PINGRP_ATC, PMUX_FUNC_GMI);
}
#endif