summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristian Marangi <[email protected]>2025-03-14 19:59:21 +0100
committerTom Rini <[email protected]>2025-04-01 08:44:51 -0600
commit793e327e2ca947a293c0eb5beb5eef27744385f0 (patch)
treef87c595830212bbb318e39860dd1bd95b9bd0146 /include
parentfb553201b67aededdc794f3a0880e386771cbd58 (diff)
airoha: Add initial support for Airoha AN7581 SoC
Add initial support for Airoha AN7581 SoC. This adds the initial Kconfig and Makefile entry for the SoC, an U-Boot specific DTSI and initial config for it. Also add the initial code for CPU and RAM initialization. Signed-off-by: Christian Marangi <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/an7581.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/configs/an7581.h b/include/configs/an7581.h
new file mode 100644
index 00000000000..64f04c9d9a5
--- /dev/null
+++ b/include/configs/an7581.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Configuration for Airoha AN7581
+ */
+
+#ifndef __AN7581_H
+#define __AN7581_H
+
+#include <linux/sizes.h>
+
+#define CFG_SYS_UBOOT_BASE CONFIG_TEXT_BASE
+
+#define CFG_SYS_INIT_RAM_ADDR CONFIG_TEXT_BASE
+#define CFG_SYS_INIT_RAM_SIZE SZ_2M
+
+/* DRAM */
+#define CFG_SYS_SDRAM_BASE 0x80000000
+
+#endif