xref: /freebsd/sys/arm/conf/ALPINE (revision f34560385c730c8b1db4f46a9c711a60511864bf)
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# $FreeBSD$
194d892e4fSZbigniew Bodek
204d892e4fSZbigniew Bodekident		ALPINE
214d892e4fSZbigniew Bodek
22094fc1edSWarner Loshinclude 	"std.armv7"
234d892e4fSZbigniew Bodekinclude 	"../annapurna/alpine/std.alpine"
244d892e4fSZbigniew Bodek
254d892e4fSZbigniew Bodekmakeoptions	MODULES_OVERRIDE=""
264d892e4fSZbigniew Bodek
274d892e4fSZbigniew Bodekoptions 	SCHED_4BSD		# 4BSD scheduler
284d892e4fSZbigniew Bodekoptions 	SMP			# Enable multiple cores
29c20963adSAndrew Turneroptions 	PLATFORM
304d892e4fSZbigniew Bodek
314d892e4fSZbigniew Bodek# Interrupt controller
324d892e4fSZbigniew Bodekdevice		gic
334d892e4fSZbigniew Bodek
344192788cSWojciech Macek# Annapurna Alpine drivers
354192788cSWojciech Macekdevice		al_ccu			# Alpine Cache Coherency Unit
364192788cSWojciech Macekdevice		al_nb_service		# Alpine North Bridge Service
377902c8dcSWojciech Macekdevice		al_iofic		# I/O Fabric Interrupt Controller
387902c8dcSWojciech Macekdevice		al_serdes		# Serializer/Deserializer
397902c8dcSWojciech Macekdevice		al_udma			# Universal DMA
404192788cSWojciech Macek
41*f3456038SEmmanuel Vadot# pseudo devices
42*f3456038SEmmanuel Vadotdevice		clk
43*f3456038SEmmanuel Vadotdevice		phy
44*f3456038SEmmanuel Vadotdevice		hwreset
45*f3456038SEmmanuel Vadotdevice		nvmem
46*f3456038SEmmanuel Vadotdevice		regulator
47*f3456038SEmmanuel Vadotdevice		syscon
48*f3456038SEmmanuel Vadot
494d892e4fSZbigniew Bodek# Pseudo devices
504d892e4fSZbigniew Bodekdevice		loop
514d892e4fSZbigniew Bodekdevice		pty
524d892e4fSZbigniew Bodekdevice		md
534d892e4fSZbigniew Bodekdevice		gpio
544d892e4fSZbigniew Bodek
554d892e4fSZbigniew Bodek# ATA controllers
564d892e4fSZbigniew Bodekdevice		ahci		# AHCI-compatible SATA controllers
574d892e4fSZbigniew Bodekdevice		ata		# Legacy ATA/SATA controllers
584d892e4fSZbigniew Bodek
594d892e4fSZbigniew Bodek# ATA/SCSI peripherals
604d892e4fSZbigniew Bodekdevice		scbus		# SCSI bus (required for ATA/SCSI)
614d892e4fSZbigniew Bodekdevice		ch		# SCSI media changers
624d892e4fSZbigniew Bodekdevice		da		# Direct Access (disks)
634d892e4fSZbigniew Bodekdevice		sa		# Sequential Access (tape etc)
644d892e4fSZbigniew Bodekdevice		cd		# CD
654d892e4fSZbigniew Bodekdevice		pass		# Passthrough device (direct ATA/SCSI access)
664d892e4fSZbigniew Bodekdevice		ses		# Enclosure Services (SES and SAF-TE)
674d892e4fSZbigniew Bodek#device		ctl		# CAM Target Layer
684d892e4fSZbigniew Bodek
694d892e4fSZbigniew Bodek# Serial ports
704d892e4fSZbigniew Bodekdevice		uart
714d892e4fSZbigniew Bodek
72988d9b35SWojciech Macek# PCI/PCIE
73988d9b35SWojciech Macekdevice		pci
74988d9b35SWojciech Macekdevice		pci_host_generic
75988d9b35SWojciech Macekdevice		al_pci		# Annapurna Alpine PCI-E
76988d9b35SWojciech Macek
774d892e4fSZbigniew Bodek# Ethernet
784d892e4fSZbigniew Bodekdevice		ether
794d892e4fSZbigniew Bodekdevice		mii
804d892e4fSZbigniew Bodekdevice		bpf
817902c8dcSWojciech Macekdevice		al_eth		# Annapurna Alpine Ethernet NIC
824d892e4fSZbigniew Bodekoptions 	DEVICE_POLLING
834d892e4fSZbigniew Bodek
844d892e4fSZbigniew Bodek# USB ethernet support, requires miibus
854d892e4fSZbigniew Bodekdevice		miibus
864d892e4fSZbigniew Bodek
874d892e4fSZbigniew Bodek#FDT
884d892e4fSZbigniew Bodekoptions 	FDT
894d892e4fSZbigniew Bodekoptions 	FDT_DTB_STATIC
904d892e4fSZbigniew Bodekmakeoptions	FDT_DTS_FILE=annapurna-alpine.dts
91