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