xref: /openbsd/sys/arch/riscv64/conf/GENERIC (revision 0785a13c)
1#	$OpenBSD: GENERIC,v 1.48 2024/01/27 12:23:03 kettenis Exp $
2#
3# For further information on compiling OpenBSD kernels, see the config(8)
4# man page.
5#
6# For further information on hardware support for this architecture, see
7# the intro(4) man page.  For further information about kernel options
8# for this architecture, see the options(4) man page.  For an explanation
9# of each device driver in this file see the section 4 man page for the
10# device.
11
12machine		riscv64
13include		"../../../conf/GENERIC"
14maxusers	80
15
16option		PCIVERBOSE
17option		USER_PCICONF
18
19makeoptions	KERNEL_BASE_PHYS="0x00200000"
20makeoptions	KERNEL_BASE_VIRT="0xffffffc000200000"
21#option		DEBUG
22#option		DEBUG_AUTOCONF
23#option		DEBUG_INTC
24#option		DEBUG_TIMER
25
26option		WSDISPLAY_COMPAT_USL
27option		WSDISPLAY_COMPAT_RAWKBD
28option		WSDISPLAY_DEFAULTSCREENS=6
29
30
31config	bsd	swap generic
32
33#
34# Definition of system
35#
36
37# mainbus
38mainbus0	at root
39
40# cpu0
41cpu0		at mainbus0
42intc0		at cpu0
43
44# NS16550 compatible serial ports
45com*		at fdt?
46
47# Allwinner SoCs
48sxiccmu*	at fdt? early 1
49sxidog*		at fdt?
50sxipio*		at fdt? early 1
51gpio*		at sxipio?
52sxirtc*		at fdt?
53sxitimer*	at fdt?
54
55# PolarFire SoCs
56cdsdhc*		at fdt?
57sdmmc*		at cdsdhc?
58mpfclock*	at fdt? early 1
59mpfgpio*	at fdt?
60gpio*		at mpfgpio?
61mpfiic*		at fdt?
62iic*		at mpfiic?
63
64# SiFive SoCs
65sfclock*	at fdt? early 1 # PRCI
66sfcc*		at fdt? early 1	# L2 Cache Controller
67sfgpio*		at fdt?
68sfuart*		at fdt?
69
70# StarFive SoCs
71stfclock*	at fdt? early 1
72stfpcie*	at fdt?
73pci*		at stfpcie?
74stfpciephy*	at fdt? early 1
75stfpinctrl*	at fdt? early 1
76stfrng*		at fdt?
77stftemp*	at fdt?
78
79virtio*		at fdt?
80virtio*		at pci?
81vio*		at virtio?	# Network
82vioblk*		at virtio?
83vioscsi*	at virtio?	# Disk (SCSI)
84#viomb*		at virtio?	# Memory Ballooning
85viornd*		at virtio?	# Random Source
86
87# simplebus0
88simplebus*	at fdt?
89# Platform Level Interrupt Controller
90plic*		at fdt? early 1
91
92syscon*		at fdt? early 1
93gfrtc*		at fdt?
94gpiorestart*	at fdt?
95
96ohci*		at fdt?
97ehci*		at fdt?
98
99cad*		at fdt?
100dwge*		at fdt?
101dwqe*		at fdt?
102dwiic*		at fdt?
103iic*		at dwiic?
104dwmmc*		at fdt?
105sdmmc*		at dwmmc?
106
107dwpcie*		at fdt?
108pci*		at dwpcie?
109pciecam*	at fdt?
110pci*		at pciecam?
111
112ociic*		at fdt?
113iic*		at ociic?
114dapmic*		at iic?
115titmp*		at iic?
116
117xhci*		at fdt?
118
119# PCI
120ppb*		at pci?		# PCI-PCI bridges
121pci*		at ppb?
122
123# DRM devices
124radeondrm*	at pci?
125drm*		at radeondrm?
126wsdisplay*	at radeondrm?
127
128# PCI Ethernet
129em*		at pci?		# Intel Pro/1000 Ethernet
130bge*		at pci?		# Broadcom BCM57xx (aka Tigon3)
131oce*		at pci?		# Emulex OneConnect 10Gb ethernet
132aq*		at pci?		# Aquantia aQtion Ethernet
133ix*		at pci?		# Intel 82598EB 10Gb ethernet
134ixl*		at pci?		# Intel Ethernet 700 Series
135igc*		at pci?		# Intel I225 Ethernet
136
137# Wireless network cards
138iwm*		at pci?		# Intel WiFi Link 7xxx
139
140nvme*		at pci?		# NVMe controllers
141ahci*		at pci?		# AHCI SATA controllers
142
143scsibus*	at scsi?
144sd*		at scsibus?
145cd*		at scsibus?
146ch*		at scsibus?
147uk*		at scsibus?
148
149# USB Controllers
150xhci*		at pci?
151
152# USB bus support
153usb*		at ohci?
154usb*		at ehci?
155usb*		at xhci?
156
157# USB devices
158uhub*		at usb?			# USB Hubs
159uhub*		at uhub?		# USB Hubs
160urng*		at uhub?		# USB Random Number Generator
161uonerng*	at uhub?		# Moonbase Otago OneRNG
162umodem*		at uhub?		# USB Modems/Serial
163ucom*		at umodem?
164uvisor*		at uhub?		# Handspring Visor
165ucom*		at uvisor?
166uvscom*		at uhub?		# SUNTAC Slipper U VS-10U serial
167ucom*		at uvscom?
168ubsa*		at uhub?		# Belkin serial adapter
169ucom*		at ubsa?
170uftdi*		at uhub?		# FTDI FT8U100AX serial adapter
171ucom*		at uftdi?
172uplcom*		at uhub?		# I/O DATA USB-RSAQ2 serial adapter
173ucom*		at uplcom?
174umct*		at uhub?		# MCT USB-RS232 serial adapter
175ucom*		at umct?
176uslcom*		at uhub?		# Silicon Laboratories CP210x serial
177ucom*		at uslcom?
178uscom*		at uhub?		# Simple USB serial adapters
179ucom*		at uscom?
180ucrcom*		at uhub?		# Chromebook serial
181ucom*		at ucrcom?
182uark*		at uhub?		# Arkmicro ARK3116 serial
183ucom*		at uark?
184moscom*		at uhub?		# MosChip MCS7703 serial
185ucom*		at moscom?
186umcs*		at uhub?		# MosChip MCS78x0 serial
187ucom*		at umcs?
188uipaq*		at uhub?		# iPAQ serial adapter
189ucom*		at uipaq?
190umsm*		at uhub?		# Qualcomm MSM EVDO
191ucom*		at umsm?
192uchcom*		at uhub?		# WinChipHead CH341/340 serial
193ucom*		at uchcom?
194uticom*		at uhub?		# TI serial
195ucom*		at uticom?
196uxrcom*		at uhub?		# Exar XR21V1410 serial
197ucom*		at uxrcom?
198uaudio*		at uhub?		# USB Audio
199audio*		at uaudio?
200umidi*		at uhub?		# USB MIDI
201midi*		at umidi?
202ulpt*		at uhub?		# USB Printers
203umass*		at uhub?		# USB Mass Storage devices
204uhidev*		at uhub?		# Human Interface Devices
205ums*		at uhidev?		# USB mouse
206wsmouse*	at ums? mux 0
207umt*		at uhidev?		# USB multitouch touchpad
208wsmouse*	at umt? mux 0
209uts*		at uhub?		# USB touchscreen
210wsmouse*	at uts? mux 0
211uwacom*		at uhidev?		# USB Wacom tablet
212wsmouse*	at uwacom? mux 0
213ukbd*		at uhidev?		# USB keyboard
214wskbd*		at ukbd? mux 1
215ucycom*		at uhidev?		# Cypress serial
216ucom*		at ucycom?
217uslhcom*	at uhidev?		# Silicon Labs CP2110 USB HID UART
218ucom*		at uslhcom?
219uhid*		at uhidev?		# USB generic HID support
220fido*		at uhidev?		# FIDO/U2F security key support
221ucc*		at uhidev?		# Consumer Control keyboards
222wskbd*		at ucc? mux 1
223ujoy*		at uhidev?		# USB joystick/gamecontroller support
224uhidpp*		at uhidev?		# Logitech HID++ Devices
225upd*		at uhidev?		# USB Power Devices sensors
226aue*		at uhub?		# ADMtek AN986 Pegasus Ethernet
227atu*		at uhub?		# Atmel AT76c50x based 802.11b
228axe*		at uhub?		# ASIX Electronics AX88172 USB Ethernet
229axen*		at uhub?		# ASIX Electronics AX88179 USB Ethernet
230cue*		at uhub?		# CATC USB-EL1201A based Ethernet
231kue*		at uhub?		# Kawasaki KL5KUSB101B based Ethernet
232smsc*		at uhub?		# SMSC LAN95xx Ethernet
233cdce*		at uhub?		# CDC Ethernet
234urndis*		at uhub?		# Remote NDIS Ethernet
235upl*		at uhub?		# Prolific PL2301/PL2302 host-to-host `network'
236ugl*		at uhub?		# Genesys Logic GL620USB-A host-to-host `network'
237udav*		at uhub?		# Davicom DM9601 based Ethernet
238mos*		at uhub?		# MOSCHIP MCS7730/7830 10/100 Ethernet
239mue*		at uhub?		# Microchip LAN75xx/LAN78xx Ethernet
240url*		at uhub?		# Realtek RTL8150L based adapters
241ure*		at uhub?		# Realtek RTL8152 based adapters
242wi*		at uhub?		# WaveLAN IEEE 802.11DS
243udsbr*		at uhub?		# D-Link DSB-R100 radio
244radio*		at udsbr?		# USB radio
245uberry*		at uhub?		# Research In Motion BlackBerry
246ugen*		at uhub?		# USB Generic driver
247uath*		at uhub?		# Atheros AR5005UG/AR5005UX
248ural*		at uhub?		# Ralink RT2500USB
249rum*		at uhub?		# Ralink RT2501USB/RT2601USB
250run*		at uhub?		# Ralink RT2700U/RT2800U/RT3000U
251mtw*		at uhub?		# MediaTek MT7601U
252otus*		at uhub?		# Atheros AR9001U
253athn*		at uhub?		# Atheros AR9002U
254zyd*		at uhub?		# Zydas ZD1211
255upgt*		at uhub?		# Conexant/Intersil PrismGT SoftMAC USB
256urtw*		at uhub?		# Realtek 8187
257rsu*		at uhub?		# Realtek RTL8188SU/RTL8191SU/RTL8192SU
258urtwn*		at uhub?		# Realtek RTL8188CU/RTL8192CU
259udcf*		at uhub?		# Gude Expert mouseCLOCK
260umb*		at uhub?		# Mobile Broadband Interface Model
261uthum*		at uhidev?		# TEMPerHUM sensor
262ugold*		at uhidev?		# gold TEMPer sensor
263utrh*		at uhidev?		# USBRH sensor
264utwitch*	at uhidev?		# YUREX BBU sensor
265uoakrh*		at uhidev?		# Toradex OAK temp and rel humidity
266uoaklux*	at uhidev?		# Toradex OAK LUX
267uoakv*		at uhidev?		# Toradex OAK 10V sensor
268uvideo*		at uhub?		# USB Video
269video*		at uvideo?
270utvfu*		at uhub?		# Fushicai Audio-Video Grabber
271video*		at utvfu?
272audio*		at utvfu?
273udl*		at uhub?		# DisplayLink USB displays
274wsdisplay*	at udl?
275bwfm*		at uhub?		# Broadcom FullMAC
276
277acphy*		at mii?			# Altima AC101 PHYs
278amphy*		at mii?			# AMD 79C873 PHYs
279atphy*		at mii?			# Attansic F1 PHYs
280bmtphy*		at mii?			# Broadcom 10/100 PHYs
281brgphy*		at mii?			# Broadcom Gigabit PHYs
282eephy*		at mii?			# Marvell 88E1000 series PHY
283rgephy*		at mii?			# Realtek 8169S/8110S PHY
284rlphy*		at mii?			# Realtek 8139 internal PHYs
285sqphy*		at mii?			# Seeq 8x220 PHYs
286ukphy*		at mii?			# "unknown" PHYs
287urlphy*		at mii?			# Realtek RTL8150L internal PHY
288ytphy*		at mii?			# MotorComm YT8511 PHY
289
290# I2C devices
291axppmic*	at iic?			# AXP15060 PMIC
292
293# Pseudo-Devices
294pseudo-device	openprom
295pseudo-device	hotplug		1	# devices hot plugging
296
297# mouse & keyboard multiplexor pseudo-devices
298pseudo-device	wsmux		2
299