summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLey Foon Tan <leyfoon.tan@starfivetech.com>2021-07-09 05:39:17 +0300
committerLey Foon Tan <leyfoon.tan@starfivetech.com>2021-08-02 06:52:24 +0300
commit06f08895a3f71f27b0ee9eeece0d847eb7b4194e (patch)
treea123eb65f772ed07ea775cbfaaa4cd4343b68987
parent608e00c30ce1710eb3c24b069da47fc82c2eaba8 (diff)
downloadlinux-06f08895a3f71f27b0ee9eeece0d847eb7b4194e.tar.xz
riscv: Add StarFive Dubhe SoC support
Add StarFive Dubhe Kconfig option which selects SoC specific and common drivers that is required for this SoC. Signed-off-by: Ley Foon Tan <leyfoon.tan@starfivetech.com>
-rw-r--r--arch/riscv/Kconfig.socs8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs
index db560407b098..df6f2dc20191 100644
--- a/arch/riscv/Kconfig.socs
+++ b/arch/riscv/Kconfig.socs
@@ -45,6 +45,14 @@ config SOC_STARFIVE_VIC7100_I2C_GPIO
endmenu
+config SOC_STARFIVE_DUBHE
+ bool "StarFive Dubhe SoC"
+ select SERIAL_SIFIVE if TTY
+ select SERIAL_SIFIVE_CONSOLE if TTY
+ select SIFIVE_PLIC
+ help
+ This enables support for StarFive Dubhe SoC platform hardware.
+
config SOC_VIRT
bool "QEMU Virt Machine"
select CLINT_TIMER if RISCV_M_MODE