xref: /freebsd/sys/arm/conf/ALPINE (revision 031beb4e239bfce798af17f5fe8dba8bcaf13d99)
14d892e4fSZbigniew Bodek# Kernel configuration for Alpine Board.
24d892e4fSZbigniew Bodek#
34d892e4fSZbigniew Bodek# For more information on this file, please read the config(5) manual page,
44d892e4fSZbigniew Bodek# and/or the handbook section on Kernel Configuration Files:
54d892e4fSZbigniew Bodek#
6c1a14887SCeri Davies#    https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config
74d892e4fSZbigniew Bodek#
84d892e4fSZbigniew Bodek# The handbook is also available locally in /usr/share/doc/handbook
94d892e4fSZbigniew Bodek# if you've installed the doc distribution, otherwise always see the
10a2aef24aSEitan Adler# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
114d892e4fSZbigniew Bodek# latest information.
124d892e4fSZbigniew Bodek#
134d892e4fSZbigniew Bodek# An exhaustive list of options and more detailed explanations of the
144d892e4fSZbigniew Bodek# device lines is also present in the ../../conf/NOTES and NOTES files.
154d892e4fSZbigniew Bodek# If you are in doubt as to the purpose or necessity of a line, check first
164d892e4fSZbigniew Bodek# in NOTES.
174d892e4fSZbigniew Bodek#
184d892e4fSZbigniew Bodek
19*f201e380SEmmanuel Vadot#NO_UNIVERSE
20*f201e380SEmmanuel Vadot
214d892e4fSZbigniew Bodekident		ALPINE
224d892e4fSZbigniew Bodek
23094fc1edSWarner Loshinclude 	"std.armv7"
244d892e4fSZbigniew Bodekinclude 	"../annapurna/alpine/std.alpine"
254d892e4fSZbigniew Bodek
264d892e4fSZbigniew Bodekmakeoptions	MODULES_OVERRIDE=""
274d892e4fSZbigniew Bodek
284d892e4fSZbigniew Bodekoptions 	SCHED_4BSD		# 4BSD scheduler
294d892e4fSZbigniew Bodekoptions 	SMP			# Enable multiple cores
30c20963adSAndrew Turneroptions 	PLATFORM
314d892e4fSZbigniew Bodek
324d892e4fSZbigniew Bodek# Interrupt controller
334d892e4fSZbigniew Bodekdevice		gic
344d892e4fSZbigniew Bodek
354192788cSWojciech Macek# Annapurna Alpine drivers
364192788cSWojciech Macekdevice		al_ccu			# Alpine Cache Coherency Unit
374192788cSWojciech Macekdevice		al_nb_service		# Alpine North Bridge Service
387902c8dcSWojciech Macekdevice		al_iofic		# I/O Fabric Interrupt Controller
397902c8dcSWojciech Macekdevice		al_serdes		# Serializer/Deserializer
407902c8dcSWojciech Macekdevice		al_udma			# Universal DMA
414192788cSWojciech Macek
42f3456038SEmmanuel Vadot# pseudo devices
43f3456038SEmmanuel Vadotdevice		clk
44f3456038SEmmanuel Vadotdevice		phy
45f3456038SEmmanuel Vadotdevice		hwreset
46f3456038SEmmanuel Vadotdevice		nvmem
47f3456038SEmmanuel Vadotdevice		regulator
48f3456038SEmmanuel Vadotdevice		syscon
49f3456038SEmmanuel Vadot
504d892e4fSZbigniew Bodek# Pseudo devices
514d892e4fSZbigniew Bodekdevice		loop
524d892e4fSZbigniew Bodekdevice		pty
534d892e4fSZbigniew Bodekdevice		md
544d892e4fSZbigniew Bodekdevice		gpio
554d892e4fSZbigniew Bodek
564d892e4fSZbigniew Bodek# ATA controllers
574d892e4fSZbigniew Bodekdevice		ahci		# AHCI-compatible SATA controllers
584d892e4fSZbigniew Bodekdevice		ata		# Legacy ATA/SATA controllers
594d892e4fSZbigniew Bodek
604d892e4fSZbigniew Bodek# ATA/SCSI peripherals
614d892e4fSZbigniew Bodekdevice		scbus		# SCSI bus (required for ATA/SCSI)
624d892e4fSZbigniew Bodekdevice		ch		# SCSI media changers
634d892e4fSZbigniew Bodekdevice		da		# Direct Access (disks)
644d892e4fSZbigniew Bodekdevice		sa		# Sequential Access (tape etc)
654d892e4fSZbigniew Bodekdevice		cd		# CD
664d892e4fSZbigniew Bodekdevice		pass		# Passthrough device (direct ATA/SCSI access)
674d892e4fSZbigniew Bodekdevice		ses		# Enclosure Services (SES and SAF-TE)
684d892e4fSZbigniew Bodek#device		ctl		# CAM Target Layer
694d892e4fSZbigniew Bodek
704d892e4fSZbigniew Bodek# Serial ports
714d892e4fSZbigniew Bodekdevice		uart
724d892e4fSZbigniew Bodek
73988d9b35SWojciech Macek# PCI/PCIE
74988d9b35SWojciech Macekdevice		pci
75988d9b35SWojciech Macekdevice		pci_host_generic
76988d9b35SWojciech Macekdevice		al_pci		# Annapurna Alpine PCI-E
77988d9b35SWojciech Macek
784d892e4fSZbigniew Bodek# Ethernet
794d892e4fSZbigniew Bodekdevice		ether
804d892e4fSZbigniew Bodekdevice		mii
814d892e4fSZbigniew Bodekdevice		bpf
827902c8dcSWojciech Macekdevice		al_eth		# Annapurna Alpine Ethernet NIC
834d892e4fSZbigniew Bodekoptions 	DEVICE_POLLING
844d892e4fSZbigniew Bodek
854d892e4fSZbigniew Bodek# USB ethernet support, requires miibus
864d892e4fSZbigniew Bodekdevice		miibus
874d892e4fSZbigniew Bodek
884d892e4fSZbigniew Bodek#FDT
894d892e4fSZbigniew Bodekoptions 	FDT
904d892e4fSZbigniew Bodekoptions 	FDT_DTB_STATIC
914d892e4fSZbigniew Bodekmakeoptions	FDT_DTS_FILE=annapurna-alpine.dts
92