xref: /openbsd-src/sys/arch/loongson/conf/GENERIC (revision 8405b6d56b55ada58e1bb0df955728f6df2d5e0e)
1#	$OpenBSD: GENERIC,v 1.66 2022/08/10 11:05:50 miod 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		loongson mips64
13include		"../../../conf/GENERIC"
14maxusers	32
15
16option		CPU_LOONGSON2
17option		CPU_LOONGSON3
18option		CPU_MIPS64R2		# required by CPU_LOONGSON3
19makeoption	LINK_ADDRESS="0xffffffff80200000"
20
21option		USER_PCICONF
22option		WSDISPLAY_COMPAT_RAWKBD	# provide raw scancodes; needed for X11
23
24option		PCIVERBOSE
25option		USBVERBOSE
26
27config	bsd	swap generic
28
29#
30# Definition of system
31#
32mainbus0	at root
33cpu0		at mainbus0
34clock0		at mainbus0
35apm0		at mainbus0
36
37# 2E- and 2F- based systems with Bonito or Bonito-like northbridge
38bonito*		at mainbus0
39pci*		at bonito?
40# 3A-based systems with a HyperTransport-PCI northbridge
41htb*		at mainbus0
42pci*		at htb?
43ppb*		at pci?
44pci*		at ppb?
45
46# Lemote Lynloong, Lemote Fuloong 2F and Lemote Yeeloong devices
47glxpcib*	at pci?
48gpio*		at glxpcib?
49isa0		at glxpcib?
50glxclk*		at glxpcib?
51iic*		at glxpcib?
52mcclock0	at isa? port 0x70
53pckbc0		at isa?				# Yeeloong only
54pckbd*		at pckbc?			# Yeeloong only
55wskbd*		at pckbd? mux 1			# Yeeloong only
56pms*		at pckbc?			# Yeeloong only
57wsmouse*	at pms? mux 0			# Yeeloong only
58ykbec0		at isa? port 0x381		# Yeeloong only
59com0		at isa? port 0x2f8 irq 3	# Fuloong 2F only
60com1		at isa? port 0x3f8 irq 4	# Fuloong 2F only (IR port)
61pciide*		at pci?
62wd*		at pciide? flags 0x0000
63sisfb*		at pci?				# Lynloong/Fuloong 2F only
64wsdisplay*	at sisfb?
65smfb*		at pci?				# Yeeloong only
66wsdisplay*	at smfb?
67auglx*		at pci?
68audio*		at auglx?
69
70# Gdium Liberty specific devices
71voyager*	at pci?
72gpio0		at voyager?
73gdiumiic0	at gpio0 offset 6 mask 0x81	# pins 6 and 13
74gdiumiic0	at gpio0 offset 46 mask 0x03	# pins 46 and 47
75iic0		at gdiumiic0
76stsec0		at iic0				# ST7 Embedded Controller
77lmtemp0		at iic0 			# National Semiconductor LM75
78mfokrtc0	at iic0				# M41T8x RTC
79#iic*		at voyager?
80ohci*		at voyager?
81smfb*		at voyager?
82wsdisplay*	at smfb?
83
84# AMD RS780E devices
85azalia*		at pci?
86audio*		at azalia?
87piixpm*		at pci?
88iic*		at piixpm?
89spdmem*		at iic?
90radeondrm*	at pci?
91drm*		at radeondrm?
92wsdisplay*	at radeondrm?
93radeonfb*	at pci?
94wsdisplay*	at radeonfb?
95
96# Generic 2E systems (in addition to the Fuloong devices)
97pcib*		at pci?
98isa0		at pcib?
99vga*		at pci?
100wsdisplay*	at vga?
101auvia*		at pci?
102audio*		at auvia?
103viapm*		at pci?
104
105# Generic 3A systems
106leioc0		at mainbus0
107com*		at leioc?
108ahci*		at pci?
109
110# USB Controllers
111ohci*		at pci?
112uhci*		at pci?
113ehci*		at pci?
114
115# USB bus support
116usb*		at ohci?
117usb*		at uhci?
118usb*		at ehci?
119
120# USB devices
121uhub*		at usb?		# USB Hubs
122uhub*		at uhub?	# USB Hubs
123urng*		at uhub?	# USB Random Number Generator
124uonerng*	at uhub?	# Moonbase Otago OneRNG
125umodem*		at uhub?	# USB Modems/Serial
126ucom*		at umodem?
127uvisor*		at uhub?	# Handspring Visor
128ucom*		at uvisor?
129uvscom*		at uhub?	# SUNTAC Slipper U VS-10U serial
130ucom*		at uvscom?
131ubsa*		at uhub?	# Belkin serial adapter
132ucom*		at ubsa?
133uftdi*		at uhub?	# FTDI FT8U100AX serial adapter
134ucom*		at uftdi?
135uplcom* 	at uhub?	# I/O DATA USB-RSAQ2 serial adapter
136ucom*		at uplcom?
137umct*		at uhub?	# MCT USB-RS232 serial adapter
138ucom*		at umct?
139uslcom*		at uhub?	# Silicon Laboratories CP210x serial
140ucom*		at uslcom?
141uscom*		at uhub?	# Simple USB serial adapters
142ucom*		at uscom?
143ucrcom*		at uhub?	# Chromebook serial
144ucom*		at ucrcom?
145uark*		at uhub?	# Arkmicro ARK3116 serial
146ucom*		at uark?
147moscom*		at uhub?	# MosChip MCS7703 serial
148ucom*		at moscom?
149umcs*		at uhub?	# MosChip MCS78x0 serial
150ucom*		at umcs?
151uipaq*		at uhub?	# iPAQ serial adapter
152ucom*		at uipaq?
153umsm*		at uhub?	# Qualcomm MSM EVDO
154ucom*		at umsm?
155uchcom*		at uhub?	# WinChipHead CH341/340 serial
156ucom*		at uchcom?
157ulpt*		at uhub?	# USB Printers
158umass*		at uhub?	# USB Mass Storage devices
159uhidev*		at uhub?	# Human Interface Devices
160ums*		at uhidev?	# USB mouse
161wsmouse*	at ums? mux 0
162ukbd*		at uhidev?	# USB keyboard
163wskbd*		at ukbd? mux 1
164uslhcom* 	at uhidev?	# Silicon Labs CP2110 USB HID UART
165ucom*		at uslhcom?
166uhid*		at uhidev?	# USB generic HID support
167fido*		at uhidev?	# FIDO/U2F security key support
168ucc*		at uhidev?	# Consumer Control keyboards
169wskbd*		at ucc? mux 1
170ujoy*		at uhidev?	# USB joystick/gamecontroller support
171uhidpp*		at uhidev?	# Logitech HID++ Devices
172upd*		at uhidev?	# USB Power Devices sensors
173atu*		at uhub?	# Atmel AT76c50x based 802.11b
174aue*		at uhub?	# ADMtek AN986 Pegasus Ethernet
175axe*		at uhub?	# ASIX Electronics AX88172 USB Ethernet
176axen*		at uhub?	# ASIX Electronics AX88179 USB Ethernet
177bwfm*		at uhub?	# Broadcom FullMAC
178cdce*		at uhub?	# CDC Ethernet
179urndis*		at uhub?	# Remote NDIS Ethernet
180cue*		at uhub?	# CATC USB-EL1201A based Ethernet
181kue*		at uhub?	# Kawasaki KL5KUSB101B based Ethernet
182mos*		at uhub?	# MOSCHIP MCS7730/7830 10/100 Ethernet
183smsc*		at uhub?	# SMSC LAN95xx Ethernet
184otus*		at uhub?	# Atheros AR9001U
185athn*		at uhub?	# Atheros AR9002U
186rum*		at uhub?	# Ralink RT2501USB/RT2601USB
187run*		at uhub?	# Ralink RT2700U/RT2800U/RT3000U
188uath*		at uhub?	# Atheros AR5005UG/AR5005UX
189udav*		at uhub?	# Davicom DM9601 based Ethernet
190upgt*		at uhub?	# Conexant/Intersil PrismGT SoftMAC USB
191upl*		at uhub?	# Prolific PL2301/PL2302 host-to-host `network'
192ugl*		at uhub?	# Genesys Logic GL620USB-A host-to-host `network'
193ural*		at uhub?	# Ralink RT2500USB
194url*		at uhub?	# Realtek RTL8150L based adapters
195ure*		at uhub?	# Realtek RTL8152 based adapters
196urtw*		at uhub?	# Realtek 8187
197rsu*		at uhub?	# Realtek RTL8188SU/RTL8191SU/RTL8192SU
198urtwn*		at uhub?	# Realtek RTL8188CU/RTL8192CU
199wi*		at uhub?	# WaveLAN IEEE 802.11DS
200zyd*		at uhub?	# Zydas ZD1211
201uberry*		at uhub?	# Research In Motion BlackBerry
202udcf*		at uhub?	# Gude Expert mouseCLOCK
203uthum*		at uhidev?	# TEMPerHUM sensor
204ugold*		at uhidev?	# gold TEMPer sensor
205utwitch*	at uhidev?	# YUREX BBU sensor
206ugen*		at uhub?	# USB Generic driver
207
208# USB Audio
209uaudio*		at uhub?
210audio*		at uaudio?
211umidi*		at uhub?	# USB MIDI
212midi*		at umidi?
213
214# USB Video
215uvideo*		at uhub?
216video*		at uvideo?
217
218utvfu*		at uhub?	# Fushicai Audio-Video Grabber
219video*		at utvfu?
220audio*		at utvfu?
221
222udl*		at uhub?
223wsdisplay*	at udl?
224
225# NICs
226em*		at pci?		# Intel Pro/1000 ethernet
227ral*		at pci?
228re*		at pci?
229rl*		at pci?
230
231# Media Independent Interface (mii) drivers
232acphy*		at mii?		# Altima AC101 PHYs
233amphy*		at mii?		# AMD 79C873 PHYs
234bmtphy*		at mii?		# Broadcom 10/100 PHYs
235eephy*		at mii?		# Marvell 88E1000 series PHY
236rgephy*		at mii?		# Realtek 8169S/8110S PHY
237rlphy*		at mii?		# Realtek 8139 internal PHYs
238urlphy*		at mii?		# Realtek RTL8150L internal PHY
239ukphy*		at mii?		# "unknown" PHYs
240
241# SCSI Bus devices
242scsibus*	at scsi?
243sd*		at scsibus?
244st*		at scsibus?
245cd*		at scsibus?
246ch*		at scsibus?
247uk*		at scsibus?
248
249pseudo-device	hotplug	1	# devices hot plugging
250pseudo-device	wsmux	2	# mouse & keyboard multiplexor
251