aboutsummaryrefslogtreecommitdiff
path: root/sys/riscv/conf
diff options
context:
space:
mode:
Diffstat (limited to 'sys/riscv/conf')
-rw-r--r--sys/riscv/conf/GENERIC5
-rw-r--r--sys/riscv/conf/std.allwinner5
-rw-r--r--sys/riscv/conf/std.cvitek14
-rw-r--r--sys/riscv/conf/std.starfive3
4 files changed, 27 insertions, 0 deletions
diff --git a/sys/riscv/conf/GENERIC b/sys/riscv/conf/GENERIC
index 7d7d0ca6e79c..a7e1200e3884 100644
--- a/sys/riscv/conf/GENERIC
+++ b/sys/riscv/conf/GENERIC
@@ -204,8 +204,13 @@ options FDT
device iicbus # Bus support, required for iicoc below.
device iicoc # OpenCores I2C controller support
+# random(4)
+device tpm # Trusted Platform Module
+options RANDOM_ENABLE_TPM # enable entropy from TPM 2.0
+
# Include SoC specific configuration
include "std.allwinner"
+include "std.cvitek"
include "std.eswin"
include "std.sifive"
include "std.starfive"
diff --git a/sys/riscv/conf/std.allwinner b/sys/riscv/conf/std.allwinner
index 1bf6b027a4cb..ecd789f39963 100644
--- a/sys/riscv/conf/std.allwinner
+++ b/sys/riscv/conf/std.allwinner
@@ -7,6 +7,8 @@ options SOC_ALLWINNER_D1
device aw_ccu # Allwinner clock controller
device aw_gpio # Allwinner GPIO controller
+device aw_mmc # Allwinner SD/MMC controller
+device aw_rtc # Allwinner Real-time Clock
device aw_sid # Allwinner Secure ID EFUSE
device aw_timer # Allwinner Timer
device aw_usbphy # Allwinner USB PHY
@@ -15,4 +17,7 @@ device awg # Allwinner EMAC Gigabit Ethernet
device musb # Mentor Graphics USB OTG controller
+# DTBs
+makeoptions MODULES_EXTRA+="dtb/allwinner"
+
files "../allwinner/files.allwinner"
diff --git a/sys/riscv/conf/std.cvitek b/sys/riscv/conf/std.cvitek
new file mode 100644
index 000000000000..8eb146282462
--- /dev/null
+++ b/sys/riscv/conf/std.cvitek
@@ -0,0 +1,14 @@
+#
+# CVITEK SoC support
+#
+
+device fdt
+device dwc
+device dwgpio
+device uart_snps
+device dwc_cvitek
+device sdhci_cvitek
+device cvitek_reset
+device cvitek_restart
+
+files "../cvitek/files.cvitek"
diff --git a/sys/riscv/conf/std.starfive b/sys/riscv/conf/std.starfive
index 9bdb1af9e79c..6a0e56cc84bd 100644
--- a/sys/riscv/conf/std.starfive
+++ b/sys/riscv/conf/std.starfive
@@ -10,4 +10,7 @@ device eqos
device dwmmc
device dwmmc_starfive
+# DTBs
+makeoptions MODULES_EXTRA+="dtb/starfive"
+
files "../starfive/files.starfive"