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