Skip to contentSkip to conversation

This series introduces initial U-Boot support for mach-axiado AX3005 SCM3005 board, a quad-core ARM Cortex-A53 (ARMv8/ARM64) platform.

PATCH In review Siu Ming Tong 2 participants 5 messages May 28 – Jun 11

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

v2 cover This series introduces initial U-Boot support for mach-axiado AX3005 SCM3005 board, a quad-core ARM Cortex-A53 (ARMv8/ARM64) platform.

Patch 1 adds the device tree files: an SoC-level DTSI describing GIC-v3, Cadence/Zynq UART, a fixed reference clock, and spin-table secondary CPU boot, plus a board-level DTS setting the console to uart3 at 115200 baud with 2 GB DRAM at 0x80000000.

Patch 2 adds mach-axiado to support Axiado SoC-based boards, Kconfig plumbing (AXIADO_AX3005 and TARGET_SCM3005), defconfig, board source with ft_board_setup() and a MAINTAINERS entry.

Tested on SCM3005 EVK hardware

B4-Revision: 2
To: [email protected]
Cc: Tom Rini <[email protected]>
Cc: Siu Ming Tong <[email protected]>
Cc: Prasad Bolisetty <[email protected]>
Cc: Andre Przywara <[email protected]>
Cc: Tzu-Hao Wei <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Sumit Garg <[email protected]>

---
---
Changes in v2:
- Added new mach-axiado with support for SCM3005 boards.
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Siu Ming Tong (2):
arm64: dts: axiado: Add AX3005 SCM3005 device tree
grm: axiado: Add AX3005 based SCM3005 board support

 MAINTAINERS                          |  11 +++
 arch/arm/Kconfig                     |   9 +++
 arch/arm/dts/Makefile                |   1 +
 arch/arm/dts/ax3005-scm3005.dts      |  28 ++++++++
 arch/arm/dts/ax3005.dtsi             | 100 +++++++++++++++++++++++++++
 arch/arm/mach-axiado/Kconfig         |  22 ++++++
 arch/arm/mach-axiado/Makefile        |   6 ++
 arch/arm/mach-axiado/scm3005/Kconfig |  11 +++
 board/axiado/scm3005/Kconfig         |  15 ++++
 board/axiado/scm3005/Makefile        |   5 ++
 board/axiado/scm3005/scm3005.c       | 128 +++++++++++++++++++++++++++++++++++
 configs/ax3005_scm3005_defconfig     |  74 ++++++++++++++++++++
 include/configs/ax3005-scm3005.h     |  29 ++++++++
 13 files changed, 439 insertions(+)

---
base-commit: 052988aa29bfd506d7ce207fbb3f5374a5dbecbb
change-id: 20260519-review-db509386f7b7

Best regards,

Signature · 1 line
smtong <[email protected]>
#1 lore raw

PATCH v2 1/2 arm64: dts: axiado: Add AX3005 SCM3005 device tree

Add device tree source files for the Axiado AX3005 SCM3005 board. The AX3005 is a quad-core 64-bit ARMv8 Cortex-A53 SoC.

The DTSI describes the SoC-level nodes: GIC-v3 interrupt controller, Cadence/Zynq UART, fixed reference clock, and spin-table secondary CPU boot. A /memreserve/ directive protects the spin-table release address at 0x80002fa0 from being overwritten during boot.

The SCM3005 DTS sets the console to uart3 at 115200 baud and declares 2 GB of DRAM starting at 0x80000000.

---
 arch/arm/dts/Makefile           |   1 +
 arch/arm/dts/ax3005-scm3005.dts |  28 +++++++++++
 arch/arm/dts/ax3005.dtsi        | 100 ++++++++++++++++++++++++++++++++++++++++
 3 files changed, 129 insertions(+)
arch/arm/dts/Makefile +1 -0
index bff341d6118..fcc62505987 100644
@@ -4,6 +4,7 @@ dtb-$(CONFIG_TARGET_SMARTWEB) += at91sam9260-smartweb.dtb
 dtb-$(CONFIG_TARGET_TAURUS) += at91sam9g20-taurus.dtb
 dtb-$(CONFIG_TARGET_CORVUS) += at91sam9g45-corvus.dtb
 dtb-$(CONFIG_TARGET_GURNARD) += at91sam9g45-gurnard.dtb
+dtb-$(CONFIG_TARGET_SCM3005) += ax3005-scm3005.dtb
 
 dtb-$(CONFIG_TARGET_SMDKC100) += s5pc1xx-smdkc100.dtb
 dtb-$(CONFIG_TARGET_S5P_GONI) += s5pc1xx-goni.dtb
arch/arm/dts/ax3005-scm3005.dts new file +28 -0
new file mode 100644
index 00000000000..b684602176c
@@ -0,0 +1,28 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (c) 2021-2026 Axiado Corporation (or its affiliates).
+ */
+
+/dts-v1/;
+
+#include "ax3005.dtsi"
+
+/ {
+	model = "Axiado AX3005 SCM3005";
+	compatible = "axiado,ax3005-scm3005", "axiado,ax3005";
+	#address-cells = <2>;
+	#size-cells = <2>;
+
+	chosen {
+		stdout-path = "serial3:115200";
+	};
+
+	memory@80000000 {
+		device_type = "memory";
+		reg = <0x00 0x80000000 0x00 0x80000000>;
+	};
+};
+
+&uart3 {
+	status = "okay";
+};
arch/arm/dts/ax3005.dtsi new file +100 -0

100 lines not on this page · raw message

Signature · 1 line
2.34.1
#2 lore raw

PATCH v2 2/2 grm: axiado: Add AX3005 based SCM3005 board support

In reply to Siu Ming Tong

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.

---
 MAINTAINERS                          |  11 +++
 arch/arm/Kconfig                     |   9 +++
 arch/arm/mach-axiado/Kconfig         |  22 ++++++
 arch/arm/mach-axiado/Makefile        |   6 ++
 arch/arm/mach-axiado/scm3005/Kconfig |  11 +++
 board/axiado/scm3005/Kconfig         |  15 ++++
 board/axiado/scm3005/Makefile        |   5 ++
 board/axiado/scm3005/scm3005.c       | 128 +++++++++++++++++++++++++++++++++++
 configs/ax3005_scm3005_defconfig     |  74 ++++++++++++++++++++
 include/configs/ax3005-scm3005.h     |  29 ++++++++
 10 files changed, 310 insertions(+)
MAINTAINERS +11 -0
index 056902f6ef2..0659d299fde 100644
@@ -213,6 +213,17 @@ F:	drivers/reset/reset-ast2500.c
 F:	drivers/watchdog/ast_wdt.c
 N:	aspeed
 
+ARM AXIADO AX3005 SCM3005
+M:	Siu Ming Tong <[email protected]>
+M:	Karthikeyan Mitran <[email protected]>
+M:	Prasad Bolisetty <[email protected]>
+S:	Maintained
+F:	arch/arm/dts/ax3005*
+F:	arch/arm/mach-axiado/
+F:	board/axiado/scm3005/
+F:	configs/ax3005_scm3005_defconfig
+F:	include/configs/ax3005-scm3005.h
+
 ARM BROADCOM BCM283X / BCM27XX
 M:	Matthias Brugger <[email protected]>
 M:	Peter Robinson <[email protected]>
arch/arm/Kconfig +9 -0
index f624675eadf..3fcedee739f 100644
@@ -2152,6 +2152,13 @@ config ARCH_ASPEED
 	select OF_CONTROL
 	imply CMD_DM
 
+config ARCH_AXIADO
+	bool "Support Axiado SoCs"
+	select AXIADO_AX3005
+	help
+	  Support for Axiado AX-series SoCs such as the AX3005.
+	  These ARM64 SoCs are used in BMC and security applications.
+
 config TARGET_DURIAN
 	bool "Support Phytium Durian Platform"
 	select ARM64
@@ -2293,6 +2300,8 @@ source "arch/arm/mach-aspeed/Kconfig"
 
 source "arch/arm/mach-at91/Kconfig"
 
+source "arch/arm/mach-axiado/Kconfig"
+
 source "arch/arm/mach-bcm283x/Kconfig"
 
 source "arch/arm/mach-bcmbca/Kconfig"
arch/arm/mach-axiado/Kconfig new file +22 -0
new file mode 100644
index 00000000000..12ad44070eb
@@ -0,0 +1,22 @@
+if ARCH_AXIADO
+
+config SYS_ARCH
+	default "arm"
+
+config SYS_SOC
+	default "axiado"
+
+config AXIADO_AX3005
+	bool
+	select ARM64
+	select ARMV8_SWITCH_TO_EL1
+	select DM
+	select DM_SERIAL
+	select GICV3
+	select ZYNQ_SERIAL
+	select MMC_SDHCI_AXIADO
+	select PHY_AXIADO_EMMC
+
+source "arch/arm/mach-axiado/scm3005/Kconfig"
+
+endif
arch/arm/mach-axiado/Makefile new file +6 -0
new file mode 100644
index 00000000000..2acd5466dd9
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# Copyright (c) 2021-2026 Axiado Corporation (or its affiliates).
+#
+
+obj-$(CONFIG_AXIADO_AX3005) += scm3005/
arch/arm/mach-axiado/scm3005/Kconfig new file +11 -0
new file mode 100644
index 00000000000..fc74aa0871b
@@ -0,0 +1,11 @@
+if AXIADO_AX3005
+
+config TARGET_SCM3005
+	bool "Support Axiado AX3005 SCM3005"
+	help
+	  Support for the Axiado AX3005 SCM3005 board.
+	  Based on the Axiado AX3005 quad-core ARMv8 Cortex-A53 SoC.
+
+source "board/axiado/scm3005/Kconfig"
+
+endif
board/axiado/scm3005/Kconfig new file +15 -0
new file mode 100644
index 00000000000..d6f4f311f55
@@ -0,0 +1,15 @@
+if TARGET_SCM3005
+
+config SYS_BOARD
+	string
+	default "scm3005"
+
+config SYS_VENDOR
+	string
+	default "axiado"
+
+config SYS_CONFIG_NAME
+	string
+	default "ax3005-scm3005"
+
+endif
board/axiado/scm3005/Makefile new file +5 -0
new file mode 100644
index 00000000000..3d35713bab9
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+# Copyright (c) 2021-2026 Axiado Corporation (or its affiliates).
+
+obj-y := scm3005.o
board/axiado/scm3005/scm3005.c new file +128 -0

128 lines not on this page · raw message

configs/ax3005_scm3005_defconfig new file +74 -0

74 lines not on this page · raw message

include/configs/ax3005-scm3005.h new file +29 -0
new file mode 100644
index 00000000000..4eead2910c8
@@ -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 */
Signature · 1 line
2.34.1
#3 lore raw
In reply to Siu Ming Tong
Quoted 22 lines · Siu Ming Tong

Patch 1 adds the device tree files: an SoC-level DTSI describing GIC-v3, Cadence/Zynq UART, a fixed reference clock, and spin-table secondary CPU boot, plus a board-level DTS setting the console to uart3 at 115200 baud with 2 GB DRAM at 0x80000000.

Patch 2 adds mach-axiado to support Axiado SoC-based boards, Kconfig plumbing (AXIADO_AX3005 and TARGET_SCM3005), defconfig, board source with ft_board_setup() and a MAINTAINERS entry.

Tested on SCM3005 EVK hardware

B4-Revision: 2
To: [email protected]
Cc: Tom Rini <[email protected]>
Cc: Siu Ming Tong <[email protected]>
Cc: Prasad Bolisetty <[email protected]>
Cc: Andre Przywara <[email protected]>
Cc: Tzu-Hao Wei <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Sumit Garg <[email protected]>

Quoted 6 lines

---
---
Changes in v2:
- Added new mach-axiado with support for SCM3005 boards.
- Link to v1: https://lore.kernel.org/r/[email protected]

My questions to v1 were not answered, please go back and reply, thanks.

Signature · 1 line
Tom
#4 lore raw
In reply to Siu Ming Tong
Quoted 10 lines · Siu Ming Tong

Patch 1 adds the device tree files: an SoC-level DTSI describing GIC-v3, Cadence/Zynq UART, a fixed reference clock, and spin-table secondary CPU boot, plus a board-level DTS setting the console to uart3 at 115200 baud with 2 GB DRAM at 0x80000000.

Patch 2 adds mach-axiado to support Axiado SoC-based boards, Kconfig plumbing (AXIADO_AX3005 and TARGET_SCM3005), defconfig, board source with ft_board_setup() and a MAINTAINERS entry.

[...]

Applied to u-boot/next, thanks!

[1/2] arm64: dts: axiado: Add AX3005 SCM3005 device tree

      commit: 7a06f03e575df25d34cf4085000e21ea97082ab6
[2/2] grm: axiado: Add AX3005 based SCM3005 board support
      commit: 3f1821162638acc34b47b6c68f3bc8bab365c08d
Signature · 1 line
Tom