2011-11-28 15:04:38 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2011 The Chromium OS Authors.
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2011-11-28 15:04:38 +00:00
|
|
|
*/
|
|
|
|
|
2012-08-31 08:30:00 +00:00
|
|
|
/* Tegra20 high-level function multiplexing */
|
2011-11-28 15:04:38 +00:00
|
|
|
|
2012-12-11 13:34:12 +00:00
|
|
|
#ifndef _TEGRA20_FUNCMUX_H_
|
|
|
|
#define _TEGRA20_FUNCMUX_H_
|
|
|
|
|
|
|
|
#include <asm/arch-tegra/funcmux.h>
|
2011-11-28 15:04:38 +00:00
|
|
|
|
2012-01-11 12:42:23 +00:00
|
|
|
/* Configs supported by the func mux */
|
|
|
|
enum {
|
|
|
|
FUNCMUX_DEFAULT = 0, /* default config */
|
|
|
|
|
|
|
|
/* UART configs */
|
|
|
|
FUNCMUX_UART1_IRRX_IRTX = 0,
|
2012-05-14 13:13:45 +00:00
|
|
|
FUNCMUX_UART1_UAA_UAB,
|
2012-05-16 05:59:59 +00:00
|
|
|
FUNCMUX_UART1_GPU,
|
2012-05-16 08:21:02 +00:00
|
|
|
FUNCMUX_UART1_SDIO1,
|
2013-01-22 06:20:08 +00:00
|
|
|
FUNCMUX_UART2_UAD = 0,
|
2012-01-11 12:42:23 +00:00
|
|
|
FUNCMUX_UART4_GMC = 0,
|
2012-01-11 12:42:24 +00:00
|
|
|
|
|
|
|
/* I2C configs */
|
|
|
|
FUNCMUX_DVC_I2CP = 0,
|
|
|
|
FUNCMUX_I2C1_RM = 0,
|
|
|
|
FUNCMUX_I2C2_DDC = 0,
|
|
|
|
FUNCMUX_I2C2_PTA,
|
|
|
|
FUNCMUX_I2C3_DTF = 0,
|
2012-01-11 12:42:25 +00:00
|
|
|
|
|
|
|
/* SDMMC configs */
|
2012-05-16 13:54:06 +00:00
|
|
|
FUNCMUX_SDMMC1_SDIO1_4BIT = 0,
|
2012-01-11 12:42:25 +00:00
|
|
|
FUNCMUX_SDMMC2_DTA_DTD_8BIT = 0,
|
|
|
|
FUNCMUX_SDMMC3_SDB_4BIT = 0,
|
|
|
|
FUNCMUX_SDMMC3_SDB_SLXA_8BIT,
|
|
|
|
FUNCMUX_SDMMC4_ATC_ATD_8BIT = 0,
|
|
|
|
FUNCMUX_SDMMC4_ATB_GMA_4_BIT,
|
|
|
|
FUNCMUX_SDMMC4_ATB_GMA_GME_8_BIT,
|
2012-05-31 01:51:01 +00:00
|
|
|
|
|
|
|
/* USB configs */
|
|
|
|
FUNCMUX_USB2_ULPI = 0,
|
2012-06-12 08:33:39 +00:00
|
|
|
|
|
|
|
/* Serial Flash configs */
|
|
|
|
FUNCMUX_SPI1_GMC_GMD = 0,
|
2012-07-29 20:53:26 +00:00
|
|
|
|
|
|
|
/* NAND flags */
|
|
|
|
FUNCMUX_NDFLASH_ATC = 0,
|
2012-09-27 13:04:27 +00:00
|
|
|
FUNCMUX_NDFLASH_KBC_8_BIT,
|
2012-01-11 12:42:23 +00:00
|
|
|
};
|
2012-12-11 13:34:12 +00:00
|
|
|
#endif /* _TEGRA20_FUNCMUX_H_ */
|