1 /*
2  * Copyright (c) 2011 The Chromium OS Authors.
3  *
4  * SPDX-License-Identifier:	GPL-2.0+
5  */
6 
7 /* Tegra20 high-level function multiplexing */
8 
9 #ifndef _TEGRA20_FUNCMUX_H_
10 #define _TEGRA20_FUNCMUX_H_
11 
12 #include <asm/arch-tegra/funcmux.h>
13 
14 /* Configs supported by the func mux */
15 enum {
16 	FUNCMUX_DEFAULT = 0,	/* default config */
17 
18 	/* UART configs */
19 	FUNCMUX_UART1_IRRX_IRTX = 0,
20 	FUNCMUX_UART1_UAA_UAB,
21 	FUNCMUX_UART1_GPU,
22 	FUNCMUX_UART1_SDIO1,
23 	FUNCMUX_UART2_UAD = 0,
24 	FUNCMUX_UART4_GMC = 0,
25 
26 	/* I2C configs */
27 	FUNCMUX_DVC_I2CP = 0,
28 	FUNCMUX_I2C1_RM = 0,
29 	FUNCMUX_I2C2_DDC = 0,
30 	FUNCMUX_I2C2_PTA,
31 	FUNCMUX_I2C3_DTF = 0,
32 
33 	/* SDMMC configs */
34 	FUNCMUX_SDMMC1_SDIO1_4BIT = 0,
35 	FUNCMUX_SDMMC2_DTA_DTD_8BIT = 0,
36 	FUNCMUX_SDMMC3_SDB_4BIT = 0,
37 	FUNCMUX_SDMMC3_SDB_SLXA_8BIT,
38 	FUNCMUX_SDMMC4_ATC_ATD_8BIT = 0,
39 	FUNCMUX_SDMMC4_ATB_GMA_4_BIT,
40 	FUNCMUX_SDMMC4_ATB_GMA_GME_8_BIT,
41 
42 	/* USB configs */
43 	FUNCMUX_USB2_ULPI = 0,
44 
45 	/* Serial Flash configs */
46 	FUNCMUX_SPI1_GMC_GMD = 0,
47 
48 	/* NAND flags */
49 	FUNCMUX_NDFLASH_ATC = 0,
50 	FUNCMUX_NDFLASH_KBC_8_BIT,
51 };
52 #endif	/* _TEGRA20_FUNCMUX_H_ */
53