[PATCH v2 6/9] arm64: aspeed: Add support for ASPEED AST27XX BMC SoC
Kevin Chen
kevin_chen at aspeedtech.com
Fri Aug 2 19:06:30 AEST 2024
Add two configs of ARCH_ASPEED and MACH_ASPEED_G7.
In current arm64 architecture, ARCH_ASPEED would select MACH_ASPEED_G7.
Signed-off-by: Kevin Chen <kevin_chen at aspeedtech.com>
---
MAINTAINERS | 3 +++
arch/arm64/Kconfig.platforms | 14 ++++++++++++++
2 files changed, 17 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 8766f3e5e87e..7d7eded0d6a3 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2121,7 +2121,10 @@ Q: https://patchwork.ozlabs.org/project/linux-aspeed/list/
T: git git://git.kernel.org/pub/scm/linux/kernel/git/joel/bmc.git
F: Documentation/devicetree/bindings/arm/aspeed/
F: arch/arm/boot/dts/aspeed/
+F: arch/arm64/boot/dts/aspeed/
F: arch/arm/mach-aspeed/
+F: include/dt-bindings/clock/aspeed,ast2700-clk.h
+F: include/dt-bindings/reset/aspeed,ast2700-reset.h
N: aspeed
ARM/AXM LSI SOC
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 6c6d11536b42..1db7b6f1ee0a 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -40,6 +40,20 @@ config ARCH_APPLE
This enables support for Apple's in-house ARM SoC family, starting
with the Apple M1.
+config ARCH_ASPEED
+ bool "Aspeed SoC family"
+ select MACH_ASPEED_G7
+ help
+ Say yes if you intend to run on an Aspeed ast2700 or similar
+ seventh generation Aspeed BMCs.
+
+config MACH_ASPEED_G7
+ bool "Aspeed SoC AST2700"
+ help
+ Say yes if you intend to run on an Aspeed ast2700
+ seventh generation Aspeed BMCs.
+ Aspeed ast2700 BMC based on the Cortex A35.
+
menuconfig ARCH_BCM
bool "Broadcom SoC Support"
--
2.34.1
More information about the Linux-aspeed
mailing list