Merge patch series "arm: aspeed: add initial AST2700 SoC support"

Ryan Chen <ryan_chen@aspeedtech.com> says:

AST2700 is the 8th generation of Integrated Remote Management
Processor introduced by ASPEED Technology Inc. It is a Board
Management Controller (BMC) SoC family with a dual-die architecture:
SoC0 ("CPU" die with four ARM Cortex-A35 application cores) and
SoC1 ("IO" die with peripherals) each SoC have its own SCU PLLs,
clock dividers and reset domains.

Link: https://lore.kernel.org/r/20260526-ast2700_clk-v3-0-a4cd24c214d6@aspeedtech.com
This commit is contained in:
Tom Rini
2026-06-10 14:50:30 -06:00
32 changed files with 3463 additions and 9 deletions

View File

@@ -0,0 +1,58 @@
/* SPDX-License-Identifier: GPL-2.0+ */
/*
* Copyright (C) ASPEED Technology Inc.
*/
#ifndef __CONFIG_H
#define __CONFIG_H
#include <configs/aspeed-common.h>
/* Extra ENV for Boot Command */
#define STR_HELPER(n) #n
#define STR(n) STR_HELPER(n)
#define CFG_SYS_UBOOT_BASE CONFIG_TEXT_BASE
#define CFG_EXTRA_ENV_SETTINGS \
"bootspi=fdt addr ${fdtspiaddr} && " \
"fdt header get fitsize totalsize && " \
"cp.b ${fdtspiaddr} ${loadaddr} ${fitsize} && " \
"bootm ${loadaddr}; " \
"echo Error loading kernel FIT image\0" \
"loadaddr=" STR(CONFIG_SYS_LOAD_ADDR) "\0" \
"bootside=a\0" \
"rootfs=rofs-a\0" \
"setmmcargs=setenv bootargs ${bootargs} " \
"rootwait root=PARTLABEL=${rootfs}\0" \
"boota=setenv bootpart 2; setenv rootfs rofs-a; " \
"run setmmcargs; " \
"ext4load mmc 0:${bootpart} ${loadaddr} fitImage && " \
"bootm ${loadaddr}; " \
"echo Error loading kernel FIT image\0" \
"bootb=setenv bootpart 3; setenv rootfs rofs-b; " \
"run setmmcargs; " \
"ext4load mmc 0:${bootpart} ${loadaddr} fitImage && " \
"bootm ${loadaddr}; " \
"echo Error loading kernel FIT image\0" \
"bootmmc=if test \"${bootside}\" = \"b\"; " \
"then run bootb; run boota; " \
"else run boota; run bootb; fi\0" \
"setufsargs=setenv bootargs ${bootargs} " \
"rootwait root=PARTLABEL=${rootfs}\0" \
"ufsboota=setenv bootpart 2; setenv rootfs rofs-a; " \
"run setufsargs; " \
"ext4load scsi 0:${bootpart} ${loadaddr} fitImage && " \
"bootm ${loadaddr}; " \
"echo Error loading kernel FIT image\0" \
"ufsbootb=setenv bootpart 3; setenv rootfs rofs-b; " \
"run setufsargs; " \
"ext4load scsi 0:${bootpart} ${loadaddr} fitImage && " \
"bootm ${loadaddr}; " \
"echo Error loading kernel FIT image\0" \
"bootufs=if test \"${bootside}\" = \"b\"; " \
"then run ufsbootb; run ufsboota; " \
"else run ufsboota; run ufsbootb; fi\0" \
"verify=no\0" \
""
#endif /* __CONFIG_H */