xref: /openbmc/u-boot/include/configs/trimslice.h (revision 78a88f79)
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  *  (C) Copyright 2010-2012
4  *  NVIDIA Corporation <www.nvidia.com>
5  */
6 
7 #ifndef __CONFIG_H
8 #define __CONFIG_H
9 
10 #include <linux/sizes.h>
11 #include "tegra20-common.h"
12 
13 /* High-level configuration options */
14 #define CONFIG_TEGRA_BOARD_STRING	"Compulab Trimslice"
15 
16 /* Board-specific serial config */
17 #define CONFIG_TEGRA_ENABLE_UARTA
18 #define CONFIG_TEGRA_UARTA_GPU
19 #define CONFIG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
20 
21 #define CONFIG_MACH_TYPE		MACH_TYPE_TRIMSLICE
22 
23 /* SPI */
24 #define CONFIG_SF_DEFAULT_MODE		SPI_MODE_0
25 
26 /* I2C */
27 #define CONFIG_SYS_I2C_TEGRA
28 
29 /* Environment in SPI */
30 #define CONFIG_ENV_SPI_MAX_HZ		48000000
31 #define CONFIG_ENV_SPI_MODE		SPI_MODE_0
32 #define CONFIG_ENV_SECT_SIZE		CONFIG_ENV_SIZE
33 /* 1MiB flash, environment located as high as possible */
34 #define CONFIG_ENV_OFFSET		(SZ_1M - CONFIG_ENV_SIZE)
35 
36 /* USB Host support */
37 #define CONFIG_USB_EHCI_TEGRA
38 
39 /* USB networking support */
40 
41 /* PCI host support */
42 
43 /* General networking support */
44 
45 #include "tegra-common-post.h"
46 
47 #endif /* __CONFIG_H */
48