summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSiu Ming Tong <[email protected]>2026-05-27 19:38:37 -0700
committerTom Rini <[email protected]>2026-06-10 14:52:25 -0600
commit3f1821162638acc34b47b6c68f3bc8bab365c08d (patch)
treed169d3dca575d6996d49c42837f4a733f6ecb79c /include
parent7a06f03e575df25d34cf4085000e21ea97082ab6 (diff)
grm: axiado: Add AX3005 based SCM3005 board support
Introduce mach-axiado to support Axiado SoC-based boards. This adds the platform Kconfig and build infrastructure, along with initial SCM3005 board support using the AX3005 SoC. Introduces AXIADO_AX3005, which selects ARM64, driver model, GIC-v3, and Zynq UART. TARGET_SCM3005 selects ARCH_AXIADO, allowing future SoC variants to share the platform configuration. Secondary cores use spin-table boot. ft_board_setup() corrects the cpu-release-addr in the FDT, which arch_fixup_fdt() overwrites with the post-relocation address. Add U-Boot board support for the Axiado AX3005 based targets, a quad-core ARM Cortex-A53 (ARMv8) platform. Tested-by: Siu Ming Tong <[email protected]> Signed-off-by: Karthikeyan Mitran <[email protected]> Signed-off-by: Siu Ming Tong <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/ax3005-scm3005.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/include/configs/ax3005-scm3005.h b/include/configs/ax3005-scm3005.h
new file mode 100644
index 00000000000..4eead2910c8
--- /dev/null
+++ b/include/configs/ax3005-scm3005.h
@@ -0,0 +1,29 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright (c) 2021-2026 Axiado Corporation (or its affiliates).
+ */
+
+#ifndef __AX3005_SCM3005_H
+#define __AX3005_SCM3005_H
+
+#include <linux/sizes.h>
+
+#define GICD_BASE 0x40400000
+#define GICR_BASE 0x40500000
+
+#define SYS_TIMER_CTRL 0x48016000
+#define SYS_TIMER_ENABLE 0x1
+#define SYS_TIMER_DISABLE 0x0
+
+/* DRAM: 2 GB at 0x80000000 */
+#define CFG_SYS_SDRAM_BASE 0x80000000
+#define CFG_SYS_SDRAM_SIZE SZ_2G
+#define CFG_SYS_INIT_SP_ADDR (CFG_SYS_SDRAM_BASE + SZ_1M)
+
+#define CFG_SYS_MAXARGS 64
+#define CFG_SYS_BARGSIZE CFG_SYS_CBSIZE
+
+#define CFG_SYS_BAUDRATE_TABLE \
+ { 4800, 9600, 19200, 38400, 57600, 115200 }
+
+#endif /* __AX3005_SCM3005_H */