Jagannadha Sutradharudu Teki | 4ddf377 | 2014-01-09 01:48:18 +0530 | [diff] [blame] | 1 | /* |
| 2 | * (C) Copyright 2013 Xilinx, Inc. |
| 3 | * |
| 4 | * Configuration settings for the Xilinx Zynq ZC770 board. |
| 5 | * See zynq-common.h for Zynq common configs |
| 6 | * |
| 7 | * SPDX-License-Identifier: GPL-2.0+ |
| 8 | */ |
| 9 | |
| 10 | #ifndef __CONFIG_ZYNQ_ZC770_H |
| 11 | #define __CONFIG_ZYNQ_ZC770_H |
| 12 | |
| 13 | #define CONFIG_SYS_SDRAM_SIZE (1024 * 1024 * 1024) |
| 14 | |
| 15 | #define CONFIG_SYS_NO_FLASH |
| 16 | |
| 17 | #if defined(CONFIG_ZC770_XM010) |
| 18 | # define CONFIG_ZYNQ_SERIAL_UART1 |
| 19 | # define CONFIG_ZYNQ_GEM0 |
| 20 | # define CONFIG_ZYNQ_GEM_PHY_ADDR0 7 |
| 21 | # define CONFIG_ZYNQ_SDHCI0 |
| 22 | # define CONFIG_ZYNQ_SPI |
Jagannadha Sutradharudu Teki | 4be9a6b | 2014-01-09 01:48:30 +0530 | [diff] [blame] | 23 | # define CONFIG_DEFAULT_DEVICE_TREE zynq-zc770-xm010 |
Jagannadha Sutradharudu Teki | 4ddf377 | 2014-01-09 01:48:18 +0530 | [diff] [blame] | 24 | |
Jagannadha Sutradharudu Teki | 03c0b86 | 2014-01-09 01:48:20 +0530 | [diff] [blame] | 25 | #elif defined(CONFIG_ZC770_XM012) |
| 26 | # define CONFIG_ZYNQ_SERIAL_UART1 |
| 27 | # undef CONFIG_SYS_NO_FLASH |
Jagannadha Sutradharudu Teki | 4be9a6b | 2014-01-09 01:48:30 +0530 | [diff] [blame] | 28 | # define CONFIG_DEFAULT_DEVICE_TREE zynq-zc770-xm012 |
Jagannadha Sutradharudu Teki | 03c0b86 | 2014-01-09 01:48:20 +0530 | [diff] [blame] | 29 | |
Jagannadha Sutradharudu Teki | d58abac | 2014-01-09 01:48:19 +0530 | [diff] [blame] | 30 | #elif defined(CONFIG_ZC770_XM013) |
| 31 | # define CONFIG_ZYNQ_SERIAL_UART0 |
| 32 | # define CONFIG_ZYNQ_GEM1 |
| 33 | # define CONFIG_ZYNQ_GEM_PHY_ADDR1 7 |
Jagannadha Sutradharudu Teki | 4be9a6b | 2014-01-09 01:48:30 +0530 | [diff] [blame] | 34 | # define CONFIG_DEFAULT_DEVICE_TREE zynq-zc770-xm013 |
Jagannadha Sutradharudu Teki | d58abac | 2014-01-09 01:48:19 +0530 | [diff] [blame] | 35 | |
Jagannadha Sutradharudu Teki | 4ddf377 | 2014-01-09 01:48:18 +0530 | [diff] [blame] | 36 | #else |
| 37 | # define CONFIG_ZYNQ_SERIAL_UART0 |
| 38 | #endif |
| 39 | |
| 40 | #include <configs/zynq-common.h> |
| 41 | |
| 42 | #endif /* __CONFIG_ZYNQ_ZC770_H */ |