xref: /openbmc/u-boot/include/configs/ventana.h (revision 1ace4022)
1 /*
2  *  (C) Copyright 2010,2011
3  *  NVIDIA Corporation <www.nvidia.com>
4  *
5  * SPDX-License-Identifier:	GPL-2.0+
6  */
7 
8 #ifndef __CONFIG_H
9 #define __CONFIG_H
10 
11 #include <linux/sizes.h>
12 #include "tegra20-common.h"
13 
14 /* Enable fdt support for Ventana. Flash the image in u-boot-dtb.bin */
15 #define CONFIG_DEFAULT_DEVICE_TREE	tegra20-ventana
16 #define CONFIG_OF_CONTROL
17 #define CONFIG_OF_SEPARATE
18 
19 /* High-level configuration options */
20 #define V_PROMPT		"Tegra20 (Ventana) # "
21 #define CONFIG_TEGRA_BOARD_STRING	"NVIDIA Ventana"
22 
23 /* Board-specific serial config */
24 #define CONFIG_TEGRA_ENABLE_UARTD
25 #define CONFIG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
26 
27 #define CONFIG_MACH_TYPE		MACH_TYPE_VENTANA
28 
29 #define CONFIG_BOARD_EARLY_INIT_F
30 #define CONFIG_BOARD_LATE_INIT		/* Make sure LCD init is complete */
31 
32 /* SD/MMC */
33 #define CONFIG_MMC
34 #define CONFIG_GENERIC_MMC
35 #define CONFIG_TEGRA_MMC
36 #define CONFIG_CMD_MMC
37 
38 /* Environment in eMMC, at the end of 2nd "boot sector" */
39 #define CONFIG_ENV_IS_IN_MMC
40 #define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE)
41 #define CONFIG_SYS_MMC_ENV_DEV 0
42 #define CONFIG_SYS_MMC_ENV_PART 2
43 
44 /* USB Host support */
45 #define CONFIG_USB_EHCI
46 #define CONFIG_USB_EHCI_TEGRA
47 #define CONFIG_USB_STORAGE
48 #define CONFIG_CMD_USB
49 
50 /* USB networking support */
51 #define CONFIG_USB_HOST_ETHER
52 #define CONFIG_USB_ETHER_ASIX
53 
54 /* General networking support */
55 #define CONFIG_CMD_NET
56 #define CONFIG_CMD_DHCP
57 
58 /* USB keyboard */
59 #define CONFIG_USB_KEYBOARD
60 
61 /* LCD support */
62 #define CONFIG_LCD
63 #define CONFIG_PWM_TEGRA
64 #define CONFIG_VIDEO_TEGRA
65 #define LCD_BPP				LCD_COLOR16
66 #define CONFIG_SYS_WHITE_ON_BLACK
67 #define CONFIG_CONSOLE_SCROLL_LINES	10
68 
69 #include "tegra-common-post.h"
70 
71 #endif /* __CONFIG_H */
72