aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2023-12-05 19:29:55 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2023-12-05 19:30:18 +0000
commit4a7639100eb650cbdf53b95aa85b25273d92f1a8 (patch)
tree776df1e7312447f3982898e38b3ae041bc7fbf7c
parente08331333fefc44461681db9ff239b7972c05744 (diff)
downloadsrc-4a7639100eb650cbdf53b95aa85b25273d92f1a8.tar.gz
src-4a7639100eb650cbdf53b95aa85b25273d92f1a8.zip
riscv: add some more drivers to GENERIC
Enable phy and regulator extres devices. These aren't needed for existing SoC support, but are of general utility to FDT platforms and enable out-of-tree work. Similarly, enable sdhci and mmc. Reviewed by: jrtc27 MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D42913
-rw-r--r--sys/riscv/conf/GENERIC7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/riscv/conf/GENERIC b/sys/riscv/conf/GENERIC
index 992b0c927766..b6c7bb54050f 100644
--- a/sys/riscv/conf/GENERIC
+++ b/sys/riscv/conf/GENERIC
@@ -83,6 +83,8 @@ device rcons
# pseudo devices
device clk
device hwreset
+device phy
+device regulator
device syscon
device syscon_power
device riscv_syscon
@@ -183,6 +185,11 @@ device md # Memory "disks"
device gif # IPv6 and IPv4 tunneling
device firmware # firmware assist module
+# MMC/SD/SDIO Card slot support
+device sdhci
+device mmc # MMC/SD bus
+device mmcsd # MMC/SD flash cards
+
# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.