xref: /openbmc/u-boot/include/configs/beaver.h (revision 90c08fa0)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (c) 2013, NVIDIA CORPORATION.  All rights reserved.
4  */
5 
6 #ifndef __CONFIG_H
7 #define __CONFIG_H
8 
9 #include <linux/sizes.h>
10 
11 #include "tegra30-common.h"
12 
13 /* VDD core PMIC */
14 #define CONFIG_TEGRA_VDD_CORE_TPS62366A_SET1
15 
16 /* High-level configuration options */
17 #define CONFIG_TEGRA_BOARD_STRING	"NVIDIA Beaver"
18 
19 /* Board-specific serial config */
20 #define CONFIG_TEGRA_ENABLE_UARTA
21 #define CONFIG_SYS_NS16550_COM1		NV_PA_APB_UARTA_BASE
22 
23 #define CONFIG_MACH_TYPE		MACH_TYPE_BEAVER
24 
25 /* I2C */
26 #define CONFIG_SYS_I2C_TEGRA
27 
28 /* Environment in eMMC, at the end of 2nd "boot sector" */
29 #define CONFIG_ENV_OFFSET		(-CONFIG_ENV_SIZE)
30 #define CONFIG_SYS_MMC_ENV_DEV		0
31 #define CONFIG_SYS_MMC_ENV_PART		2
32 
33 /* SPI */
34 #define CONFIG_TEGRA_SLINK_CTRLS       6
35 #define CONFIG_SF_DEFAULT_MODE         SPI_MODE_0
36 #define CONFIG_SF_DEFAULT_SPEED        24000000
37 #define CONFIG_SPI_FLASH_SIZE          (4 << 20)
38 
39 /* USB Host support */
40 #define CONFIG_USB_EHCI_TEGRA
41 
42 /* USB networking support */
43 
44 /* PCI host support */
45 
46 /* General networking support */
47 
48 #include "tegra-common-usb-gadget.h"
49 #include "tegra-common-post.h"
50 
51 #endif /* __CONFIG_H */
52