]> git.sur5r.net Git - u-boot/commitdiff
ARM: tegra: colibri_t20: fix nand pinmux
authorMarcel Ziswiler <marcel@ziswiler.com>
Fri, 27 Mar 2015 00:31:45 +0000 (01:31 +0100)
committerTom Warren <twarren@nvidia.com>
Mon, 30 Mar 2015 17:04:44 +0000 (10:04 -0700)
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>
board/toradex/colibri_t20/colibri_t20.c

index 5d8bdecb8e1b6f5abc629b73ada19816d6f69f80..8ae9ccf538488dfc2a16570bee81654b2304cb96 100644 (file)
@@ -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