xref: /rk3399_rockchip-uboot/include/configs/dalmore.h (revision a7f8b5e616e49a2bb819eeb96b5438039307e7b6)
107067145STom Warren /*
207067145STom Warren  * Copyright (c) 2010-2013, NVIDIA CORPORATION.  All rights reserved.
307067145STom Warren  *
407067145STom Warren  * This program is free software; you can redistribute it and/or modify it
507067145STom Warren  * under the terms and conditions of the GNU General Public License,
607067145STom Warren  * version 2, as published by the Free Software Foundation.
707067145STom Warren  *
807067145STom Warren  * This program is distributed in the hope it will be useful, but WITHOUT
907067145STom Warren  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1007067145STom Warren  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
1107067145STom Warren  * more details.
1207067145STom Warren  *
1307067145STom Warren  * You should have received a copy of the GNU General Public License
1407067145STom Warren  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
1507067145STom Warren  */
1607067145STom Warren 
1707067145STom Warren #ifndef __CONFIG_H
1807067145STom Warren #define __CONFIG_H
1907067145STom Warren 
2007067145STom Warren #include <asm/sizes.h>
2107067145STom Warren 
2207067145STom Warren #include "tegra114-common.h"
2307067145STom Warren 
2407067145STom Warren /* Must be off for Dalmore to boot !?!? FIXME */
2507067145STom Warren #define CONFIG_SYS_DCACHE_OFF
2607067145STom Warren 
2707067145STom Warren /* Enable fdt support for Dalmore. Flash the image in u-boot-dtb.bin */
2807067145STom Warren #define CONFIG_DEFAULT_DEVICE_TREE	tegra114-dalmore
2907067145STom Warren #define CONFIG_OF_CONTROL
3007067145STom Warren #define CONFIG_OF_SEPARATE
3107067145STom Warren 
3207067145STom Warren /* High-level configuration options */
3307067145STom Warren #define V_PROMPT		"Tegra114 (Dalmore) # "
3407067145STom Warren #define CONFIG_TEGRA_BOARD_STRING	"NVIDIA Dalmore"
3507067145STom Warren 
3607067145STom Warren /* Board-specific serial config */
3707067145STom Warren #define CONFIG_SERIAL_MULTI
3807067145STom Warren #define CONFIG_TEGRA_ENABLE_UARTD
3907067145STom Warren #define CONFIG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
4007067145STom Warren 
4107067145STom Warren #define CONFIG_MACH_TYPE		MACH_TYPE_DALMORE
4207067145STom Warren 
4307067145STom Warren #define CONFIG_BOARD_EARLY_INIT_F
44*a7f8b5e6STom Warren 
45*a7f8b5e6STom Warren /* I2C */
46*a7f8b5e6STom Warren #define CONFIG_TEGRA_I2C
47*a7f8b5e6STom Warren #define CONFIG_SYS_I2C_INIT_BOARD
48*a7f8b5e6STom Warren #define CONFIG_I2C_MULTI_BUS
49*a7f8b5e6STom Warren #define CONFIG_SYS_MAX_I2C_BUS		TEGRA_I2C_NUM_CONTROLLERS
50*a7f8b5e6STom Warren #define CONFIG_SYS_I2C_SPEED		100000
51*a7f8b5e6STom Warren #define CONFIG_CMD_I2C
52*a7f8b5e6STom Warren 
5307067145STom Warren #define CONFIG_ENV_IS_NOWHERE
5407067145STom Warren 
5507067145STom Warren #define MACH_TYPE_DALMORE	4304	/* not yet in mach-types.h */
5607067145STom Warren 
5707067145STom Warren #include "tegra-common-post.h"
5807067145STom Warren 
5907067145STom Warren #endif /* __CONFIG_H */
60