xref: /openbsd/sys/arch/arm64/conf/RAMDISK (revision 274d7c50)
1# $OpenBSD: RAMDISK,v 1.106 2019/10/23 20:34:04 kettenis Exp $
2#
3# GENERIC machine description file
4#
5# This machine description file is used to generate the default OpenBSD
6# kernel.  The generic kernel does not include all options, subsystems
7# and device drivers, but should be useful for most applications.
8#
9# The machine description file can be customised for your specific
10# machine to reduce the kernel size and improve its performance.
11#
12# For further information on compiling OpenBSD kernels, see the config(8)
13# man page.
14#
15# For further information on hardware support for this architecture, see
16# the intro(4) man page.  For further information about kernel options
17# for this architecture, see the options(4) man page.  For an explanation
18# of each device driver in this file see the section 4 man page for the
19# device.
20
21machine		arm64
22maxusers	4
23
24option		PCIVERBOSE
25option		USBVERBOSE
26option		SMALL_KERNEL
27option		NO_PROPOLICE
28option		BOOT_CONFIG
29
30option		RAMDISK_HOOKS
31option		MINIROOTSIZE=16384
32
33option		FFS
34option		FFS2
35option		MSDOSFS
36option		INET6
37option		EXT2FS
38option		NFSCLIENT
39option		CRYPTO
40
41makeoptions	KERNEL_BASE_PHYS="0x00200000"
42makeoptions	KERNEL_BASE_VIRT="0xffffff8000200000"
43
44config		bsd	root on rd0a swap on rd0b
45
46# The main bus device
47mainbus0	at root
48softraid0	at root
49cpu0		at mainbus?
50efi0		at mainbus?
51acpi0		at mainbus?
52acpiec*		at acpi?
53acpimcfg*	at acpi?
54acpipci*	at acpi?
55pci*		at acpipci?
56ahci*		at acpi?
57ccp*		at acpi?		# AMD Cryptographic Co-processor
58com*		at acpi?
59pluart*		at acpi?
60xhci*		at acpi?
61simplebus*	at fdt?
62
63scsibus*	at scsi?
64sd*		at scsibus?
65st*		at scsibus?
66cd*		at scsibus?
67ch*		at scsibus?
68uk*		at scsibus?
69
70ampintc*	at fdt? early 1
71ampintcmsi*	at fdt? early 1
72agintc*		at fdt? early 1
73agintcmsi*	at fdt? early 1
74agtimer*	at fdt?
75ahci*		at fdt?
76dwge*		at fdt?
77dwpcie*		at fdt?
78pci*		at dwpcie?
79ohci*		at fdt?
80ehci*		at fdt?
81pciecam*	at fdt?
82pci*		at pciecam?
83sdhc*		at fdt?
84sdmmc*		at sdhc?
85bwfm*		at sdmmc?	# Broadcom FullMAC
86xhci*		at fdt?
87ccp*		at fdt?		# AMD Cryptographic Co-processor
88
89# NS16550 compatible serial ports
90com*		at fdt?
91
92# Generic devices
93pinctrl*	at fdt? early 1
94plgpio*		at fdt? early 1
95plrtc*		at fdt?
96pluart*		at fdt?
97psci*		at fdt? early 1
98syscon*		at fdt? early 1
99
100virtio*		at fdt?
101virtio*		at pci?
102vio*		at virtio?
103vioblk*		at virtio?
104viomb*		at virtio?
105viornd*		at virtio?
106vioscsi*	at virtio?
107
108simplefb*	at fdt?
109wsdisplay*	at simplefb?
110
111# iMX
112imxccm*		at fdt? early 1
113imxiomuxc*	at fdt? early 1
114imxanatop*	at fdt? early 1
115imxsrc*		at fdt? early 1
116imxgpc*		at fdt?
117imxgpio*	at fdt?
118fec*		at fdt?
119imxuart*	at fdt?
120imxiic*		at fdt?
121iic*		at imxiic?
122imxesdhc*	at fdt?
123sdmmc*		at imxesdhc?
124
125# Raspberry Pi 3
126bcmaux*		at fdt?
127bcmintc*	at fdt?
128bcmdog*		at fdt?
129bcmrng*		at fdt?
130dwctwo*		at fdt?
131usb*		at dwctwo?
132
133# Amlogic SoCs
134amlclock*	at fdt? early 1
135amldwusb*	at fdt?
136amliic*		at fdt?
137iic*		at amliic?
138amlmmc*		at fdt?
139sdmmc*		at amlmmc?
140amlpciephy*	at fdt?
141amlpinctrl*	at fdt? early 1
142amlreset*	at fdt? early 1
143amlrng*		at fdt?
144amluart*	at fdt?
145amlusbphy*	at fdt?
146
147# HiSilicon SoCs
148hiclock*	at fdt? early 1
149hidwusb*	at fdt?
150hireset*	at fdt? early 1
151
152# Marvell SoCs
153mvclock*	at fdt? early 1
154mvgicp*		at fdt? early 1
155mvicu*		at fdt? early 1
156mvpinctrl*	at fdt? early 1
157mvdog*		at fdt?
158mvgpio*		at fdt?
159mviic*		at fdt?
160iic*		at mviic?
161mvmdio*		at fdt?
162mvneta*		at fdt?
163mvrng*		at fdt?
164mvrtc*		at fdt?
165mvuart*		at fdt?
166sfp*		at fdt?
167
168# Rockchip SoCs
169rkclock*	at fdt? early 1
170rkgrf*		at fdt? early 1
171rkpinctrl*	at fdt? early 1
172rkgpio*		at fdt?
173rkiic*		at fdt?
174iic*		at rkiic?
175rkpcie*		at fdt?
176pci*		at rkpcie?
177rkdwusb*	at fdt?
178dwmmc*		at fdt?
179sdmmc*		at dwmmc?
180
181# Sunxi SoCs
182sxipio*		at fdt? early 1	# GPIO pins for leds & PHYs
183gpio*		at sxipio?
184sxiccmu*	at fdt? early 1	# Clock Control Module/Unit
185sxidog*		at fdt?
186sxirsb*		at fdt? early 1	# Reduced Serial Bus
187sxirtc*		at fdt? early 1	# Real Time Clock
188sximmc*		at fdt?		# SD/MMC card controller
189sdmmc*		at sximmc?	# SD/MMC bus
190sxisid*		at fdt? early 1
191sxisyscon*	at fdt? early 1	# System controller
192sxitwi*		at fdt?		# I2C controller
193iic*		at sxitwi?	# I2C bus
194dwxe*		at fdt?
195
196# PCI
197ppb*		at pci?			# PCI-PCI bridges
198pci*		at ppb?
199
200# PCI Ethernet
201bnxt*		at pci?			# Broadcom BCM573xx, BCM574xx
202em*		at pci?			# Intel Pro/1000 Ethernet
203ix*		at pci?			# Intel 82598EB 10Gb Ethernet
204mcx*		at pci?			# Mellanox ConnectX-4/5 Ethernet
205mskc*		at pci?			# Marvell Yukon-2
206msk*		at mskc?		#  each port of above
207re*		at pci?			# Realtek 8169/8169S/8110S
208
209# PCI SCSI
210ahci*		at pci? flags 0x0000	# AHCI SATA controllers
211					# flags 0x0001 to force SATA 1 (1.5Gb/s)
212nvme*		at pci?			# NVMe controllers
213
214# USB Controllers
215ohci*		at pci?			# Open Host Controller
216uhci*		at pci?			# Universal Host Controller (Intel)
217ehci*		at pci?			# Enhanced Host Controller
218xhci*		at pci?			# eXtensible Host Controller
219
220# USB bus support
221usb*		at ohci?
222usb*		at uhci?
223usb*		at ehci?
224usb*		at xhci?
225
226# USB devices
227uhub*		at usb?			# USB Hubs
228uhub*		at uhub?		# USB Hubs
229umass*		at uhub?		# USB Mass Storage devices
230uhidev*		at uhub?		# Human Interface Devices
231ukbd*		at uhidev?		# USB keyboard
232wskbd*		at ukbd? mux 1
233aue*		at uhub?		# ADMtek AN986 Pegasus Ethernet
234atu*		at uhub?		# Atmel AT76c50x based 802.11b
235axe*		at uhub?		# ASIX Electronics AX88172 USB Ethernet
236axen*		at uhub?		# ASIX Electronics AX88179 USB Ethernet
237cue*		at uhub?		# CATC USB-EL1201A based Ethernet
238kue*		at uhub?		# Kawasaki KL5KUSB101B based Ethernet
239smsc*		at uhub?		# SMSC LAN95xx Ethernet
240cdce*		at uhub?		# CDC Ethernet
241urndis*		at uhub?		# Remote NDIS Ethernet
242upl*		at uhub?		# Prolific PL2301/PL2302 host-to-host `network'
243ugl*		at uhub?		# Genesys Logic GL620USB-A host-to-host `network'
244udav*		at uhub?		# Davicom DM9601 based Ethernet
245mos*		at uhub?		# MOSCHIP MCS7730/7830 10/100 Ethernet
246mue*		at uhub?		# Microchip LAN75xx/LAN78xx Ethernet
247url*		at uhub?		# Realtek RTL8150L based adapters
248ure*		at uhub?		# Realtek RTL8152 based adapters
249wi*		at uhub?		# WaveLAN IEEE 802.11DS
250uath*		at uhub?		# Atheros AR5005UG/AR5005UX
251ural*		at uhub?		# Ralink RT2500USB
252rum*		at uhub?		# Ralink RT2501USB/RT2601USB
253run*		at uhub?		# Ralink RT2700U/RT2800U/RT3000U
254otus*		at uhub?		# Atheros AR9001U
255athn*		at uhub?		# Atheros AR9002U
256zyd*		at uhub?		# Zydas ZD1211
257upgt*		at uhub?		# Conexant/Intersil PrismGT SoftMAC USB
258urtw*		at uhub?		# Realtek 8187
259rsu*		at uhub?		# Realtek RTL8188SU/RTL8191SU/RTL8192SU
260urtwn*		at uhub?		# Realtek RTL8188CU/RTL8192CU
261
262amphy*		at mii?			# AMD 79C873 PHYs
263atphy*		at mii?			# Attansic F1 PHYs
264eephy*		at mii?			# Marvell 88E1000 series PHY
265rgephy*		at mii?			# Realtek 8169S/8110S PHY
266rlphy*		at mii?			# Realtek 8139 internal PHYs
267ukphy*		at mii?			# "unknown" PHYs
268urlphy*		at mii?			# Realtek RTL8150L internal PHY
269
270scsibus*	at scsi?
271sd*		at scsibus?
272cd*		at scsibus?
273st*		at scsibus?
274ch*		at scsibus?
275uk*		at scsibus?
276
277# I2C devices
278abcrtc*		at iic?			# Abracon x80x RTC
279fusbtc*		at iic?			# USB Type-C controller
280islrtc*		at iic?			# ISL1208 RTC
281mcprtc*		at iic?			# MCP794XX RTC
282pcxrtc*		at iic?			# PCF8563 RTC
283rkpmic*		at iic?			# RK808 PMIC
284
285pseudo-device	loop 1
286pseudo-device	vlan
287pseudo-device	trunk
288pseudo-device	bpfilter 1
289pseudo-device	rd 1
290pseudo-device	bio 1
291