xref: /freebsd-13.1/sys/arm64/conf/GENERIC (revision b5346307)
1#
2# GENERIC -- Generic kernel configuration file for FreeBSD/arm64
3#
4# For more information on this file, please read the config(5) manual page,
5# and/or the handbook section on Kernel Configuration Files:
6#
7#    https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8#
9# The handbook is also available locally in /usr/share/doc/handbook
10# if you've installed the doc distribution, otherwise always see the
11# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
12# latest information.
13#
14# An exhaustive list of options and more detailed explanations of the
15# device lines is also present in the ../../conf/NOTES and NOTES files.
16# If you are in doubt as to the purpose or necessity of a line, check first
17# in NOTES.
18#
19# $FreeBSD$
20
21cpu		ARM64
22ident		GENERIC
23
24makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
25makeoptions	WITH_CTF=1		# Run ctfconvert(1) for DTrace support
26
27options 	SCHED_ULE		# ULE scheduler
28options 	NUMA			# Non-Uniform Memory Architecture support
29options 	PREEMPTION		# Enable kernel thread preemption
30options 	VIMAGE			# Subsystem virtualization, e.g. VNET
31options 	INET			# InterNETworking
32options 	INET6			# IPv6 communications protocols
33options 	IPSEC_SUPPORT		# Allow kldload of ipsec and tcpmd5
34options		ROUTE_MPATH		# Multipath routing support
35options 	TCP_OFFLOAD		# TCP offload
36options 	TCP_HHOOK		# hhook(9) framework for TCP
37options		TCP_RFC7413		# TCP Fast Open
38options 	SCTP_SUPPORT		# Allow kldload of SCTP
39options 	FFS			# Berkeley Fast Filesystem
40options 	SOFTUPDATES		# Enable FFS soft updates support
41options 	UFS_ACL			# Support for access control lists
42options 	UFS_DIRHASH		# Improve performance on big directories
43options 	UFS_GJOURNAL		# Enable gjournal-based UFS journaling
44options 	QUOTA			# Enable disk quotas for UFS
45options 	MD_ROOT			# MD is a potential root device
46options 	NFSCL			# Network Filesystem Client
47options 	NFSD			# Network Filesystem Server
48options 	NFSLOCKD		# Network Lock Manager
49options 	NFS_ROOT		# NFS usable as /, requires NFSCL
50options 	MSDOSFS			# MSDOS Filesystem
51options 	CD9660			# ISO 9660 Filesystem
52options 	PROCFS			# Process filesystem (requires PSEUDOFS)
53options 	PSEUDOFS		# Pseudo-filesystem framework
54options 	TMPFS			# Efficient memory filesystem
55options 	GEOM_RAID		# Soft RAID functionality.
56options 	GEOM_LABEL		# Provides labelization
57options 	EFIRT			# EFI Runtime Services support
58options 	COMPAT_FREEBSD32	# Compatible with FreeBSD/arm
59options 	COMPAT_FREEBSD11	# Compatible with FreeBSD11
60options 	COMPAT_FREEBSD12	# Compatible with FreeBSD12
61options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
62options 	KTRACE			# ktrace(1) support
63options 	STACK			# stack(9) support
64options 	SYSVSHM			# SYSV-style shared memory
65options 	SYSVMSG			# SYSV-style message queues
66options 	SYSVSEM			# SYSV-style semaphores
67options 	_KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions
68options 	PRINTF_BUFR_SIZE=128	# Prevent printf output being interspersed.
69options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
70options 	HWPMC_HOOKS		# Necessary kernel hooks for hwpmc(4)
71options 	AUDIT			# Security event auditing
72options 	CAPABILITY_MODE		# Capsicum capability mode
73options 	CAPABILITIES		# Capsicum capabilities
74options 	MAC			# TrustedBSD MAC Framework
75options 	KDTRACE_FRAME		# Ensure frames are compiled in
76options 	KDTRACE_HOOKS		# Kernel DTrace hooks
77options 	DDB_CTF			# Kernel ELF linker loads CTF data
78options 	VFP			# Floating-point support
79options 	RACCT			# Resource accounting framework
80options 	RACCT_DEFAULT_TO_DISABLED # Set kern.racct.enable=0 by default
81options 	RCTL			# Resource limits
82options 	INTRNG
83options 	LINUX_BOOT_ABI		# Boot using booti command from U-Boot
84options 	PERTHREAD_SSP		# Per-thread SSP canary
85
86# Debugging support.  Always need this:
87options 	KDB			# Enable kernel debugger support.
88options 	KDB_TRACE		# Print a stack trace for a panic.
89
90# Kernel Sanitizers
91#options 	COVERAGE		# Generic kernel coverage. Used by KCOV
92#options 	KCOV			# Kernel Coverage Sanitizer
93# Warning: KUBSAN can result in a kernel too large for loader to load
94#options 	KUBSAN			# Kernel Undefined Behavior Sanitizer
95#options 	KCSAN			# Kernel Concurrency Sanitizer
96
97# Kernel dump features.
98options 	EKCD			# Support for encrypted kernel dumps
99options 	GZIO			# gzip-compressed kernel and user dumps
100options 	ZSTDIO			# zstd-compressed kernel and user dumps
101options 	DEBUGNET		# debugnet networking
102options 	NETDUMP			# netdump(4) client support
103
104# Make an SMP-capable kernel by default
105options 	SMP			# Symmetric MultiProcessor Kernel
106
107# SoC support
108options 	SOC_ALLWINNER_A64
109options 	SOC_ALLWINNER_H5
110options 	SOC_ALLWINNER_H6
111options 	SOC_CAVM_THUNDERX
112options 	SOC_FREESCALE_IMX8
113options 	SOC_HISI_HI6220
114options 	SOC_INTEL_STRATIX10
115options 	SOC_BRCM_BCM2837
116options 	SOC_BRCM_BCM2838
117options 	SOC_BRCM_NS2
118options 	SOC_MARVELL_8K
119options 	SOC_NVIDIA_TEGRA210
120options		SOC_NXP_LS
121options 	SOC_ROCKCHIP_RK3328
122options 	SOC_ROCKCHIP_RK3399
123options 	SOC_XILINX_ZYNQ
124
125options 	PPS_SYNC
126
127# Timer drivers
128device		a10_timer
129
130# Annapurna Alpine drivers
131device		al_ccu			# Alpine Cache Coherency Unit
132device		al_nb_service		# Alpine North Bridge Service
133device		al_iofic		# I/O Fabric Interrupt Controller
134device		al_serdes		# Serializer/Deserializer
135device		al_udma			# Universal DMA
136
137# Qualcomm Snapdragon drivers
138device		qcom_gcc		# Global Clock Controller
139
140# CPU frequency control
141device		cpufreq
142
143# Bus drivers
144device		pci
145device		pci_n1sdp	# ARM Neoverse N1 SDP PCI
146device		al_pci		# Annapurna Alpine PCI-E
147options 	PCI_HP			# PCI-Express native HotPlug
148options 	PCI_IOV		# PCI SR-IOV support
149
150# Block devices
151device		ahci
152device		scbus
153device		da
154device		pvscsi			# VMware PVSCSI
155
156# ATA/SCSI peripherals
157device		cd		# CD
158device		pass		# Passthrough device (direct ATA/SCSI access)
159
160# NVM Express (NVMe) support
161device		nvme		# base NVMe driver
162options 	NVME_USE_NVD=0	# prefer the cam(4) based nda(4) driver
163device		nvd		# expose NVMe namespaces as disks, depends on nvme
164
165# DMA controller
166device		a31_dmac
167
168# GPIO / PINCTRL
169device		a37x0_gpio	# Marvell Armada 37x0 GPIO controller
170device		aw_gpio		# Allwinner GPIO controller
171device		dwgpio		# Synopsys DesignWare APB GPIO Controller
172device		gpio
173device		gpioled
174device		fdt_pinctrl
175device		gpioregulator
176device		ls1046_gpio	# LS1046A GPIO controller
177device		mv_gpio		# Marvell GPIO controller
178device		mvebu_pinctrl	# Marvell Pinmux Controller
179device		pl061		# Arm PL061 GPIO controller
180device		rk_gpio		# RockChip GPIO Controller
181device		rk_pinctrl	# RockChip Pinmux Controller
182
183# I2C
184device		a37x0_iic	# Armada 37x0 I2C controller
185device		aw_rsb		# Allwinner Reduced Serial Bus
186device		bcm2835_bsc	# Broadcom BCM283x I2C bus
187device		iicbus
188device		iicmux
189device		iic
190device		icee		# Generic IIC eeprom
191device		twsi		# Allwinner I2C controller
192device		pca9547		# NPX I2C bus multiplexer
193device		pcf8563		# NXP Real-time clock/calendar
194device		rk_i2c		# RockChip I2C controller
195device		syr827		# Silergy SYR827 PMIC
196device		sy8106a		# SY8106A Buck Regulator
197device		vf_i2c		# Freescale Vybrid I2C controller
198device		fsliic		# Freescale iMX I2C controller
199
200# Clock and reset controllers
201device		aw_ccu		# Allwinner clock controller
202
203# Interrupt controllers
204device		aw_nmi		# Allwinner NMI support
205device		aw_r_intc	# Allwinner RINTC support
206device		mv_cp110_icu	# Marvell CP110 ICU
207device		mv_ap806_gicp	# Marvell AP806 GICP
208device		mv_ap806_sei	# Marvell AP806 SEI
209
210# Real-time clock support
211device		aw_rtc		# Allwinner Real-time Clock
212device		mv_rtc		# Marvell Real-time Clock
213
214# Crypto accelerators
215device		armv8crypto	# ARMv8 OpenCrypto module
216device		safexcel	# Inside Secure EIP-97
217
218# Watchdog controllers
219device		aw_wdog		# Allwinner Watchdog
220
221# Power management controllers
222device		axp81x		# X-Powers AXP81x PMIC
223device		rk805		# RockChip RK805 PMIC
224
225# EFUSE
226device		aw_sid		# Allwinner Secure ID EFUSE
227
228# Thermal sensors
229device		aw_thermal	# Allwinner Thermal Sensor Controller
230device		mv_thermal	# Marvell Thermal Sensor Controller
231
232# SPI
233device		spibus
234device		a37x0_spi	# Marvell Armada 37x0 SPI Controller
235device		bcm2835_spi	# Broadcom BCM283x SPI bus
236device		rk_spi		# RockChip SPI controller
237
238# PWM
239device		pwm
240device		aw_pwm
241device		rk_pwm
242
243# Console
244device		vt
245device		kbdmux
246
247device		vt_efifb
248
249# EVDEV support
250device		evdev			# input event device support
251options		EVDEV_SUPPORT		# evdev support in legacy drivers
252device		uinput			# install /dev/uinput cdev
253device		aw_cir
254
255# Serial (COM) ports
256device		uart			# Generic UART driver
257device		uart_imx		# iMX8 UART
258device		uart_msm		# Qualcomm MSM UART driver
259device		uart_mu			# RPI3 aux port
260device		uart_mvebu		# Armada 3700 UART driver
261device		uart_ns8250		# ns8250-type UART driver
262device		uart_snps
263device		pl011
264
265# PCI/PCI-X/PCIe Ethernet NICs that use iflib infrastructure
266device		iflib
267device		em			# Intel PRO/1000 Gigabit Ethernet Family
268device		ix			# Intel 10Gb Ethernet Family
269device		vmx			# VMware VMXNET3 Ethernet
270
271# Ethernet NICs
272device		mdio
273device		mii
274device		miibus			# MII bus support
275device		al_eth			# Annapurna Alpine Ethernet NIC
276device		awg			# Allwinner EMAC Gigabit Ethernet
277device		axa			# AMD Opteron A1100 integrated NIC
278device		cgem			# Cadence GEM Gigabit Ethernet device
279device		dwc_rk			# Rockchip Designware
280device		dwc_socfpga		# Altera SOCFPGA Ethernet MAC
281device		ffec			# iMX FFEC
282device		genet			# Broadcom on RPi4
283device		msk			# Marvell/SysKonnect Yukon II Gigabit Ethernet
284device		neta			# Marvell Armada 370/38x/XP/3700 NIC
285device		re			# RealTek 8139C+/8169/8169S/8110S
286device		smc			# SMSC LAN91C111
287device		vnic			# Cavium ThunderX NIC
288
289# Etherswitch devices
290device		etherswitch		# Enable etherswitch support
291device		miiproxy		# Required for etherswitch
292device		e6000sw			# Marvell mv88e6085 based switches
293
294
295# Pseudo devices.
296device		crypto			# core crypto support
297device		loop			# Network loopback
298device		ether			# Ethernet support
299device		vlan			# 802.1Q VLAN support
300device		tuntap			# Packet tunnel.
301device		md			# Memory "disks"
302device		gif			# IPv6 and IPv4 tunneling
303device		firmware		# firmware assist module
304
305# EXT_RESOURCES pseudo devices
306options 	EXT_RESOURCES
307device		clk
308device		phy
309device		hwreset
310device		nvmem
311device		regulator
312device		syscon
313device		aw_syscon
314
315# IO Domains
316device		rk_iodomain
317
318# The `bpf' device enables the Berkeley Packet Filter.
319# Be aware of the administrative consequences of enabling this!
320# Note that 'bpf' is required for DHCP.
321device		bpf		# Berkeley packet filter
322
323# USB support
324options 	USB_DEBUG		# enable debug msgs
325options 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
326device		aw_usbphy		# Allwinner USB PHY
327device		rk_usb2phy		# Rockchip USB2PHY
328device		rk_typec_phy		# Rockchip TypeC PHY
329device		dwcotg			# DWC OTG controller
330device		musb			# Mentor Graphics USB OTG controller
331device		ohci			# OHCI USB interface
332device		uhci			# UHCI USB interface
333device		ehci			# EHCI USB interface (USB 2.0)
334device		ehci_mv			# Marvell EHCI USB interface
335device		xhci			# XHCI USB interface (USB 3.0)
336device		dwc3			# Synopsys DWC controller
337device		aw_dwc3			# Allwinner DWC3 controller
338device		rk_dwc3			# Rockchip DWC3 controller
339device		usb			# USB Bus (required)
340device		ukbd			# Keyboard
341device		umass			# Disks/Mass storage - Requires scbus and da
342device		tegra210_xusb_fw	# Tegra XUSB firmware
343
344# USB ethernet support
345device		muge
346device		smcphy
347device		smsc
348device		ure
349
350# Sound support
351device sound
352device a10_codec
353
354# MMC/SD/SDIO Card slot support
355device		sdhci
356device		sdhci_xenon		# Marvell Xenon SD/MMC controller
357device		aw_mmc			# Allwinner SD/MMC controller
358device		mmc			# mmc/sd bus
359device		mmcsd			# mmc/sd flash cards
360device		dwmmc
361device		dwmmc_altera
362device		dwmmc_hisi
363device		rk_dwmmc
364device		rk_emmcphy
365
366# VirtIO support
367device		virtio			# Generic VirtIO bus (required)
368device		virtio_pci		# VirtIO PCI device
369device		virtio_mmio		# VirtIO Memory Mapped IO device
370device		virtio_blk		# VirtIO Block device
371device		virtio_scsi		# VirtIO SCSI device
372device		vtnet			# VirtIO Ethernet device
373
374# Chip-specific errata
375options 	THUNDERX_PASS_1_1_ERRATA
376
377options 	FDT
378device		acpi
379
380# DTBs
381makeoptions	MODULES_EXTRA="dtb/allwinner dtb/freescale dtb/imx8 dtb/nvidia dtb/mv dtb/rockchip dtb/rpi"
382
383# HID support
384options 	HID_DEBUG	# enable debug msgs
385device		hid		# Generic HID support
386