aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDurai Manickam KR <durai.manickamkr@microchip.com>2022-04-04 11:23:18 +0530
committerEugen Hristev <eugen.hristev@microchip.com>2022-04-26 09:50:24 +0300
commitb07a02296461952c7e409f8895388ca5c093e72e (patch)
tree998eabbce5a297bcc31cfa3e6d0030d13705a7d8 /include
parenteb3393310bffab27265cfc82f15470f70f1acd97 (diff)
downloadu-boot-b07a02296461952c7e409f8895388ca5c093e72e.zip
u-boot-b07a02296461952c7e409f8895388ca5c093e72e.tar.gz
u-boot-b07a02296461952c7e409f8895388ca5c093e72e.tar.bz2
board: Add sam9x60_curiosity support
Add board files, Kconfig, Makefile and MAINTAINERS. Signed-off-by: Durai Manickam KR <durai.manickamkr@microchip.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/sam9x60_curiosity.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/include/configs/sam9x60_curiosity.h b/include/configs/sam9x60_curiosity.h
new file mode 100644
index 0000000..2708711
--- /dev/null
+++ b/include/configs/sam9x60_curiosity.h
@@ -0,0 +1,31 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Configuration settings for the SAM9X60 CURIOSITY board.
+ *
+ * Copyright (C) 2022 Microchip Technology Inc. and its subsidiaries
+ *
+ * Author: Durai Manickam KR <durai.manickamkr@microchip.com>
+ */
+
+#ifndef __CONFIG_H__
+#define __CONFIG_H__
+
+#define CONFIG_SYS_AT91_SLOW_CLOCK 32768
+#define CONFIG_SYS_AT91_MAIN_CLOCK 24000000 /* 24 MHz crystal */
+
+#define CONFIG_USART_BASE ATMEL_BASE_DBGU
+#define CONFIG_USART_ID 0 /* ignored in arm */
+
+/* SDRAM */
+#define CONFIG_SYS_SDRAM_BASE 0x20000000
+#define CONFIG_SYS_SDRAM_SIZE 0x8000000 /* 128 MB */
+
+#ifdef CONFIG_SPL_BUILD
+#define CONFIG_SYS_INIT_SP_ADDR 0x218000
+#else
+#define CONFIG_SYS_INIT_SP_ADDR \
+ (CONFIG_SYS_SDRAM_BASE + 16 * 1024 + CONFIG_SYS_MALLOC_F_LEN - \
+ GENERATED_GBL_DATA_SIZE)
+#endif
+
+#endif