瀏覽代碼

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>
Marcel Ziswiler 10 年之前
父節點
當前提交
76a30fedd4
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      board/toradex/colibri_t20/colibri_t20.c

+ 6 - 0
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