c566f127d5c3dd88cf96087a6269b18dc427944e
1 /*
2 * (C) Copyright 2013
3 * Texas Instruments Incorporated.
4 * Lokesh Vutla <lokeshvutla@ti.com>
5 *
6 * Configuration settings for the TI DRA7XX board.
7 * See omap5_common.h for omap5 common settings.
8 *
9 * See file CREDITS for list of people who contributed to this
10 * project.
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License as
14 * published by the Free Software Foundation; either version 2 of
15 * the License, or (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
25 * MA 02111-1307 USA
26 */
28 #ifndef __CONFIG_DRA7XX_EVM_H
29 #define __CONFIG_DRA7XX_EVM_H
31 #define CONFIG_ENV_IS_NOWHERE /* For now. */
33 #include <configs/omap5_common.h>
35 #define CONFIG_DRA7XX /* in a TI DRA7XX core */
36 #define CONFIG_SYS_PROMPT "DRA752 EVM # "
38 #define CONFIG_SYS_NS16550_COM1 UART1_BASE /* Base EVM has UART0 */
39 #define CONFIG_SYS_NS16550_COM2 UART2_BASE /* UART1 */
40 #define CONFIG_SYS_NS16550_COM3 UART3_BASE /* UART2 */
41 #define CONFIG_BAUDRATE 115200
43 /* Clock Defines */
44 #define V_OSCK 20000000 /* Clock output from T2 */
46 #define NON_SECURE_SRAM_START 0x40300000
47 #define NON_SECURE_SRAM_END 0x40380000 /* Not inclusive */
49 #define CONFIG_SYS_OMAP_ABE_SYSCK
51 /* SPI */
52 #define CONFIG_TI_QSPI
53 #define CONFIG_SPI_FLASH
54 #define CONFIG_SPI_FLASH_SPANSION
55 #define CONFIG_CMD_SF
56 #define CONFIG_CMD_SPI
57 #define CONFIG_SF_QUAD_RD
58 #define CONFIG_MMAP
59 #define CONFIG_SF_DEFAULT_SPEED 48000000
60 #define CONFIG_DEFAULT_SPI_MODE SPI_MODE_3
61 #define CONFIG_SPI_FLASH_BAR
63 /* SPI SPL */
64 #define CONFIG_SPL_SPI_SUPPORT
65 #define CONFIG_SPL_SPI_LOAD
66 #define CONFIG_SPL_SPI_FLASH_SUPPORT
67 #define CONFIG_SPL_SPI_BUS 0
68 #define CONFIG_SPL_SPI_CS 0
69 #define CONFIG_SYS_SPI_U_BOOT_OFFS 0x20000
71 #endif /* __CONFIG_DRA7XX_EVM_H */