
Siflower SF21A6826/SF21H8898 are a family of RISC-V SoCs with: * Quad-core T-Head C908 (1.125G for SF21A6826, 1.25G for SF21H8898) * DDR3/DDR4 memory controller * 1 QSGMII 4x1G * 1 SGMII/2500Base-X 2.5G * 1 additional RGMII on SF21H8898 * Network offloading engine for L2 switching and L3 NAT * 2 PCIE Gen2 lanes, operating in either one PCIE Gen2x2 or two PCIE Gen2x1 mode * 1 USB2.0 Link: https://github.com/openwrt/openwrt/pull/17115 Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
32 lines
939 B
Diff
32 lines
939 B
Diff
From: Chuanhong Guo <gch981213@gmail.com>
|
|
Date: Sat, 14 Sep 2024 11:57:35 +0800
|
|
Subject: [PATCH 13/20] riscv: add Siflower RISC-V SoC family Kconfig support
|
|
|
|
Siflower RISC-V SoCs, including SF21A6826, SF21H8898 and some other
|
|
upcomping chips, are RISC-V chips with T-Head C908 cores for home
|
|
routers and gateways. Add a Kconfig entry named ARCH_SIFLOWER for
|
|
them.
|
|
Notably these chips uses ARM PL011 for UART. ARM_AMBA is selected
|
|
for its driver.
|
|
|
|
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
|
|
---
|
|
arch/riscv/Kconfig.socs | 6 ++++++
|
|
1 file changed, 6 insertions(+)
|
|
|
|
--- a/arch/riscv/Kconfig.socs
|
|
+++ b/arch/riscv/Kconfig.socs
|
|
@@ -22,6 +22,12 @@ config SOC_SIFIVE
|
|
help
|
|
This enables support for SiFive SoC platform hardware.
|
|
|
|
+config ARCH_SIFLOWER
|
|
+ bool "Siflower RISC-V SoCs"
|
|
+ select ARM_AMBA if TTY
|
|
+ help
|
|
+ This enables support for Siflower RISC-V SoC platform hardware.
|
|
+
|
|
config ARCH_STARFIVE
|
|
def_bool SOC_STARFIVE
|
|
|