Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
Alban Bedel | cad3966 | 2013-11-14 10:58:30 +0100 | [diff] [blame] | 2 | /* |
| 3 | * (C) Copyright 2013 |
| 4 | * Avionic Design GmbH <www.avionic-design.de> |
Alban Bedel | cad3966 | 2013-11-14 10:58:30 +0100 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #ifndef __CONFIG_H |
| 8 | #define __CONFIG_H |
| 9 | |
| 10 | #include "tegra30-common.h" |
| 11 | |
Alban Bedel | cad3966 | 2013-11-14 10:58:30 +0100 | [diff] [blame] | 12 | /* High-level configuration options */ |
Alban Bedel | cad3966 | 2013-11-14 10:58:30 +0100 | [diff] [blame] | 13 | #define CONFIG_TEGRA_BOARD_STRING "Avionic Design Tamonten™ NG Evaluation Carrier" |
| 14 | |
| 15 | /* Board-specific serial config */ |
Alban Bedel | cad3966 | 2013-11-14 10:58:30 +0100 | [diff] [blame] | 16 | #define CONFIG_TEGRA_ENABLE_UARTD |
| 17 | #define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTD_BASE |
| 18 | |
Alban Bedel | cad3966 | 2013-11-14 10:58:30 +0100 | [diff] [blame] | 19 | /* I2C */ |
| 20 | #define CONFIG_SYS_I2C_TEGRA |
Alban Bedel | cad3966 | 2013-11-14 10:58:30 +0100 | [diff] [blame] | 21 | |
Alban Bedel | cad3966 | 2013-11-14 10:58:30 +0100 | [diff] [blame] | 22 | /* Environment in eMMC, at the end of 2nd "boot sector" */ |
Alban Bedel | cad3966 | 2013-11-14 10:58:30 +0100 | [diff] [blame] | 23 | #define CONFIG_ENV_OFFSET (-CONFIG_ENV_SIZE) |
| 24 | #define CONFIG_SYS_MMC_ENV_DEV 0 |
| 25 | #define CONFIG_SYS_MMC_ENV_PART 2 |
| 26 | |
| 27 | /* SPI */ |
Alban Bedel | cad3966 | 2013-11-14 10:58:30 +0100 | [diff] [blame] | 28 | #define CONFIG_TEGRA_SLINK_CTRLS 6 |
Alban Bedel | cad3966 | 2013-11-14 10:58:30 +0100 | [diff] [blame] | 29 | #define CONFIG_SF_DEFAULT_MODE SPI_MODE_0 |
| 30 | #define CONFIG_SF_DEFAULT_SPEED 24000000 |
Alban Bedel | cad3966 | 2013-11-14 10:58:30 +0100 | [diff] [blame] | 31 | #define CONFIG_SPI_FLASH_SIZE (4 << 20) |
| 32 | |
| 33 | /* USB Host support */ |
Alban Bedel | cad3966 | 2013-11-14 10:58:30 +0100 | [diff] [blame] | 34 | #define CONFIG_USB_EHCI_TEGRA |
Alban Bedel | cad3966 | 2013-11-14 10:58:30 +0100 | [diff] [blame] | 35 | |
| 36 | /* USB networking support */ |
Alban Bedel | cad3966 | 2013-11-14 10:58:30 +0100 | [diff] [blame] | 37 | |
| 38 | /* General networking support */ |
Alban Bedel | cad3966 | 2013-11-14 10:58:30 +0100 | [diff] [blame] | 39 | |
| 40 | /* Tag support */ |
| 41 | #define CONFIG_CMDLINE_TAG |
| 42 | #define CONFIG_SETUP_MEMORY_TAGS |
| 43 | #define CONFIG_INITRD_TAG |
Alban Bedel | cad3966 | 2013-11-14 10:58:30 +0100 | [diff] [blame] | 44 | |
| 45 | #include "tegra-common-post.h" |
| 46 | |
| 47 | #endif /* __CONFIG_H */ |