1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Configuration settings for the SAM9X60 CURIOSITY board.
5 * Copyright (C) 2022 Microchip Technology Inc. and its subsidiaries
7 * Author: Durai Manickam KR <durai.manickamkr@microchip.com>
13 #define CONFIG_SYS_AT91_SLOW_CLOCK 32768
14 #define CONFIG_SYS_AT91_MAIN_CLOCK 24000000 /* 24 MHz crystal */
16 #define CONFIG_USART_BASE ATMEL_BASE_DBGU
17 #define CONFIG_USART_ID 0 /* ignored in arm */
20 #define CONFIG_SYS_SDRAM_BASE 0x20000000
21 #define CONFIG_SYS_SDRAM_SIZE 0x8000000 /* 128 MB */
23 #ifdef CONFIG_SPL_BUILD
24 #define CONFIG_SYS_INIT_SP_ADDR 0x218000
26 #define CONFIG_SYS_INIT_SP_ADDR \
27 (CONFIG_SYS_SDRAM_BASE + 16 * 1024 + CONFIG_SYS_MALLOC_F_LEN - \
28 GENERATED_GBL_DATA_SIZE)