]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - include/configs/tec-ng.h
kconfig: move CONFIG_OF_* to Kconfig
[karo-tx-uboot.git] / include / configs / tec-ng.h
1 /*
2  * (C) Copyright 2013
3  * Avionic Design GmbH <www.avionic-design.de>
4  *
5  * SPDX-License-Identifier:     GPL-2.0+
6  */
7
8 #ifndef __CONFIG_H
9 #define __CONFIG_H
10
11 #include "tegra30-common.h"
12
13 /* Enable fdt support for tec-ng. Flash the image in u-boot-dtb.bin */
14 #define CONFIG_DEFAULT_DEVICE_TREE      tegra30-tec-ng
15
16 /* High-level configuration options */
17 #define V_PROMPT                        "Tegra30 (TEC-NG) # "
18 #define CONFIG_TEGRA_BOARD_STRING       "Avionic Design Tamonten™ NG Evaluation Carrier"
19
20 /* Board-specific serial config */
21 #define CONFIG_SERIAL_MULTI
22 #define CONFIG_TEGRA_ENABLE_UARTD
23 #define CONFIG_SYS_NS16550_COM1         NV_PA_APB_UARTD_BASE
24
25 #define CONFIG_BOARD_EARLY_INIT_F
26
27 /* I2C */
28 #define CONFIG_SYS_I2C_TEGRA
29 #define CONFIG_SYS_I2C_INIT_BOARD
30 #define CONFIG_I2C_MULTI_BUS
31 #define CONFIG_SYS_MAX_I2C_BUS          TEGRA_I2C_NUM_CONTROLLERS
32 #define CONFIG_SYS_I2C_SPEED            100000
33 #define CONFIG_CMD_I2C
34 #define CONFIG_SYS_I2C
35
36 /* SD/MMC */
37 #define CONFIG_MMC
38 #define CONFIG_GENERIC_MMC
39 #define CONFIG_TEGRA_MMC
40 #define CONFIG_CMD_MMC
41
42 /* Environment in eMMC, at the end of 2nd "boot sector" */
43 #define CONFIG_ENV_IS_IN_MMC
44 #define CONFIG_ENV_OFFSET               (-CONFIG_ENV_SIZE)
45 #define CONFIG_SYS_MMC_ENV_DEV          0
46 #define CONFIG_SYS_MMC_ENV_PART         2
47
48 /* SPI */
49 #define CONFIG_TEGRA20_SLINK
50 #define CONFIG_TEGRA_SLINK_CTRLS       6
51 #define CONFIG_SPI_FLASH
52 #define CONFIG_SPI_FLASH_WINBOND
53 #define CONFIG_SF_DEFAULT_MODE         SPI_MODE_0
54 #define CONFIG_SF_DEFAULT_SPEED        24000000
55 #define CONFIG_CMD_SPI
56 #define CONFIG_CMD_SF
57 #define CONFIG_SPI_FLASH_SIZE          (4 << 20)
58
59 /* USB Host support */
60 #define CONFIG_USB_EHCI
61 #define CONFIG_USB_EHCI_TEGRA
62 #define CONFIG_USB_STORAGE
63 #define CONFIG_CMD_USB
64
65 /* USB networking support */
66 #define CONFIG_USB_HOST_ETHER
67 #define CONFIG_USB_ETHER_SMSC95XX
68
69 /* General networking support */
70 #define CONFIG_CMD_NET
71 #define CONFIG_CMD_DHCP
72
73 /* Tag support */
74 #define CONFIG_CMDLINE_TAG
75 #define CONFIG_SETUP_MEMORY_TAGS
76 #define CONFIG_INITRD_TAG
77 /* support the new (FDT-based) image format */
78 #define CONFIG_FIT
79
80 #include "tegra-common-post.h"
81
82 #endif /* __CONFIG_H */