2012-05-16 13:54:07 +00:00
|
|
|
/*
|
|
|
|
* (C) Copyright 2010-2012
|
|
|
|
* NVIDIA Corporation <www.nvidia.com>
|
|
|
|
*
|
2013-07-08 07:37:19 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0+
|
2012-05-16 13:54:07 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CONFIG_H
|
|
|
|
#define __CONFIG_H
|
|
|
|
|
2014-02-26 13:47:58 +00:00
|
|
|
#include <linux/sizes.h>
|
2012-08-31 08:30:00 +00:00
|
|
|
#include "tegra20-common.h"
|
2012-05-16 13:54:07 +00:00
|
|
|
|
|
|
|
/* High-level configuration options */
|
2012-09-05 00:00:24 +00:00
|
|
|
#define CONFIG_TEGRA_BOARD_STRING "Compulab Trimslice"
|
2012-05-16 13:54:07 +00:00
|
|
|
|
|
|
|
/* Board-specific serial config */
|
2012-09-05 00:00:24 +00:00
|
|
|
#define CONFIG_TEGRA_ENABLE_UARTA
|
|
|
|
#define CONFIG_TEGRA_UARTA_GPU
|
2012-05-16 13:54:07 +00:00
|
|
|
#define CONFIG_SYS_NS16550_COM1 NV_PA_APB_UARTA_BASE
|
|
|
|
|
|
|
|
#define CONFIG_MACH_TYPE MACH_TYPE_TRIMSLICE
|
|
|
|
|
2012-05-24 11:38:37 +00:00
|
|
|
/* SPI */
|
2013-03-16 18:58:03 +00:00
|
|
|
#define CONFIG_TEGRA20_SFLASH
|
2012-05-24 11:38:37 +00:00
|
|
|
#define CONFIG_SPI_FLASH_WINBOND
|
|
|
|
#define CONFIG_SF_DEFAULT_MODE SPI_MODE_0
|
|
|
|
#define CONFIG_CMD_SPI
|
|
|
|
#define CONFIG_CMD_SF
|
|
|
|
|
2012-05-16 13:54:07 +00:00
|
|
|
/* I2C */
|
2012-10-30 07:28:53 +00:00
|
|
|
#define CONFIG_SYS_I2C_TEGRA
|
2012-05-16 13:54:07 +00:00
|
|
|
#define CONFIG_CMD_I2C
|
|
|
|
|
|
|
|
/* SD/MMC */
|
|
|
|
#define CONFIG_MMC
|
|
|
|
#define CONFIG_GENERIC_MMC
|
2012-05-22 11:44:48 +00:00
|
|
|
#define CONFIG_TEGRA_MMC
|
2012-05-16 13:54:07 +00:00
|
|
|
#define CONFIG_CMD_MMC
|
|
|
|
|
2012-05-24 11:38:37 +00:00
|
|
|
/* Environment in SPI */
|
|
|
|
#define CONFIG_ENV_IS_IN_SPI_FLASH
|
|
|
|
#define CONFIG_ENV_SPI_MAX_HZ 48000000
|
|
|
|
#define CONFIG_ENV_SPI_MODE SPI_MODE_0
|
|
|
|
#define CONFIG_ENV_SECT_SIZE CONFIG_ENV_SIZE
|
|
|
|
#define CONFIG_ENV_OFFSET (512 * 1024)
|
2012-05-16 13:54:07 +00:00
|
|
|
|
|
|
|
/* USB Host support */
|
2012-11-01 12:14:37 +00:00
|
|
|
#define CONFIG_USB_MAX_CONTROLLER_COUNT 3
|
2012-05-16 13:54:07 +00:00
|
|
|
#define CONFIG_USB_EHCI
|
|
|
|
#define CONFIG_USB_EHCI_TEGRA
|
|
|
|
#define CONFIG_USB_STORAGE
|
|
|
|
#define CONFIG_CMD_USB
|
|
|
|
|
|
|
|
/* USB networking support */
|
|
|
|
#define CONFIG_USB_HOST_ETHER
|
|
|
|
#define CONFIG_USB_ETHER_ASIX
|
|
|
|
|
2014-12-10 05:25:14 +00:00
|
|
|
/* PCI host support */
|
|
|
|
#define CONFIG_PCI
|
|
|
|
#define CONFIG_PCI_TEGRA
|
|
|
|
#define CONFIG_PCI_PNP
|
|
|
|
#define CONFIG_CMD_PCI
|
|
|
|
#define CONFIG_CMD_PCI_ENUM
|
|
|
|
|
|
|
|
/* PCI networking support */
|
|
|
|
#define CONFIG_RTL8169
|
|
|
|
|
2012-05-16 13:54:07 +00:00
|
|
|
/* General networking support */
|
|
|
|
#define CONFIG_CMD_DHCP
|
|
|
|
|
2012-09-05 00:00:24 +00:00
|
|
|
#include "tegra-common-post.h"
|
2012-05-16 13:54:07 +00:00
|
|
|
|
|
|
|
#endif /* __CONFIG_H */
|