git: 4a7639100eb6 - main - riscv: add some more drivers to GENERIC

From: Mitchell Horne <mhorne_at_FreeBSD.org>
Date: Tue, 05 Dec 2023 19:30:51 UTC
The branch main has been updated by mhorne:

URL: https://cgit.FreeBSD.org/src/commit/?id=4a7639100eb650cbdf53b95aa85b25273d92f1a8

commit 4a7639100eb650cbdf53b95aa85b25273d92f1a8
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2023-12-05 19:29:55 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2023-12-05 19:30:18 +0000

    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
---
 sys/riscv/conf/GENERIC | 7 +++++++
 1 file changed, 7 insertions(+)

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.