From 4a7639100eb650cbdf53b95aa85b25273d92f1a8 Mon Sep 17 00:00:00 2001 From: Mitchell Horne Date: Tue, 5 Dec 2023 15:29:55 -0400 Subject: [PATCH] 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.