Vitaly Andrianov | 7bcf4d6 | 2014-04-04 13:16:53 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Configuration header file for TI's k2hk-evm |
| 3 | * |
| 4 | * (C) Copyright 2012-2014 |
| 5 | * Texas Instruments Incorporated, <www.ti.com> |
| 6 | * |
| 7 | * SPDX-License-Identifier: GPL-2.0+ |
| 8 | */ |
| 9 | |
| 10 | #ifndef __CONFIG_K2HK_EVM_H |
| 11 | #define __CONFIG_K2HK_EVM_H |
| 12 | |
| 13 | /* Platform type */ |
| 14 | #define CONFIG_SOC_K2HK |
| 15 | #define CONFIG_K2HK_EVM |
| 16 | |
Hao Zhang | eb01de2 | 2014-07-09 23:44:48 +0300 | [diff] [blame] | 17 | /* U-Boot general configuration */ |
| 18 | #define CONFIG_SYS_PROMPT "K2HK EVM # " |
Vitaly Andrianov | 7bcf4d6 | 2014-04-04 13:16:53 -0400 | [diff] [blame] | 19 | |
Hao Zhang | eb01de2 | 2014-07-09 23:44:48 +0300 | [diff] [blame] | 20 | #define KS2_ARGS_UBI "args_ubi=setenv bootargs ${bootargs} rootfstype=ubifs "\ |
| 21 | "root=ubi0:rootfs rootflags=sync rw ubi.mtd=2,2048\0" |
Vitaly Andrianov | 7bcf4d6 | 2014-04-04 13:16:53 -0400 | [diff] [blame] | 22 | |
Hao Zhang | eb01de2 | 2014-07-09 23:44:48 +0300 | [diff] [blame] | 23 | #define KS2_FDT_NAME "name_fdt=k2hk-evm.dtb\0" |
| 24 | #define KS2_ADDR_MON "addr_mon=0x0c5f0000\0" |
| 25 | #define KS2_NAME_MON "name_mon=skern-k2hk-evm.bin\0" |
| 26 | #define NAME_UBOOT "name_uboot=u-boot-spi-k2hk-evm.gph\0" |
| 27 | #define NAME_UBI "name_ubi=k2hk-evm-ubifs.ubi\0" |
Vitaly Andrianov | 7bcf4d6 | 2014-04-04 13:16:53 -0400 | [diff] [blame] | 28 | |
Hao Zhang | eb01de2 | 2014-07-09 23:44:48 +0300 | [diff] [blame] | 29 | #include <configs/ks2_evm.h> |
Karicheri, Muralidharan | 657f6b5 | 2014-04-01 15:01:13 -0400 | [diff] [blame] | 30 | |
Hao Zhang | eb01de2 | 2014-07-09 23:44:48 +0300 | [diff] [blame] | 31 | /* SPL SPI Loader Configuration */ |
| 32 | #define CONFIG_SPL_TEXT_BASE 0x0c200000 |
Khoronzhuk, Ivan | 8062b05 | 2014-06-07 05:10:49 +0300 | [diff] [blame] | 33 | |
Vitaly Andrianov | 7bcf4d6 | 2014-04-04 13:16:53 -0400 | [diff] [blame] | 34 | /* NAND Configuration */ |
Vitaly Andrianov | 7bcf4d6 | 2014-04-04 13:16:53 -0400 | [diff] [blame] | 35 | #define CONFIG_SYS_NAND_PAGE_2K |
Vitaly Andrianov | 7bcf4d6 | 2014-04-04 13:16:53 -0400 | [diff] [blame] | 36 | |
Hao Zhang | eb01de2 | 2014-07-09 23:44:48 +0300 | [diff] [blame] | 37 | /* Network */ |
| 38 | #define CONFIG_DRIVER_TI_KEYSTONE_NET |
Khoronzhuk, Ivan | 7954b86 | 2014-09-05 19:02:47 +0300 | [diff] [blame] | 39 | #define CONFIG_TI_KSNAV |
Khoronzhuk, Ivan | fa2105a | 2014-09-05 19:02:48 +0300 | [diff] [blame] | 40 | #define CONFIG_KSNAV_PKTDMA_NETCP |
Khoronzhuk, Ivan | f2c13ba | 2014-09-29 22:17:22 +0300 | [diff] [blame] | 41 | #define CONFIG_KSNET_NETCP_V1_0 |
Khoronzhuk, Ivan | 915cff4 | 2014-09-29 22:17:21 +0300 | [diff] [blame] | 42 | #define CONFIG_KSNET_CPSW_NUM_PORTS 5 |
Vitaly Andrianov | 7bcf4d6 | 2014-04-04 13:16:53 -0400 | [diff] [blame] | 43 | |
Khoronzhuk, Ivan | dbfecb2 | 2014-10-22 17:18:21 +0300 | [diff] [blame] | 44 | /* SerDes */ |
| 45 | #define CONFIG_TI_KEYSTONE_SERDES |
| 46 | |
Vitaly Andrianov | 7bcf4d6 | 2014-04-04 13:16:53 -0400 | [diff] [blame] | 47 | #endif /* __CONFIG_K2HK_EVM_H */ |