xref: /freebsd/sys/arm/conf/ALPINE (revision 045c8f526484cb3b97f5fd693987f4376fa43c5f)
1# Kernel configuration for Alpine Board.
2#
3# For more information on this file, please read the config(5) manual page,
4# and/or the handbook section on Kernel Configuration Files:
5#
6#    https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config
7#
8# The handbook is also available locally in /usr/share/doc/handbook
9# if you've installed the doc distribution, otherwise always see the
10# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
11# latest information.
12#
13# An exhaustive list of options and more detailed explanations of the
14# device lines is also present in the ../../conf/NOTES and NOTES files.
15# If you are in doubt as to the purpose or necessity of a line, check first
16# in NOTES.
17#
18# $FreeBSD$
19
20ident		ALPINE
21
22include 	"std.armv7"
23include 	"../annapurna/alpine/std.alpine"
24
25makeoptions	MODULES_OVERRIDE=""
26
27options 	SCHED_4BSD		# 4BSD scheduler
28options 	SMP			# Enable multiple cores
29options 	PLATFORM
30
31# Interrupt controller
32device		gic
33
34# Annapurna Alpine drivers
35device		al_ccu			# Alpine Cache Coherency Unit
36device		al_nb_service		# Alpine North Bridge Service
37device		al_iofic		# I/O Fabric Interrupt Controller
38device		al_serdes		# Serializer/Deserializer
39device		al_udma			# Universal DMA
40
41# pseudo devices
42device		clk
43device		phy
44device		hwreset
45device		nvmem
46device		regulator
47device		syscon
48
49# Pseudo devices
50device		loop
51device		pty
52device		md
53device		gpio
54
55# ATA controllers
56device		ahci		# AHCI-compatible SATA controllers
57device		ata		# Legacy ATA/SATA controllers
58
59# ATA/SCSI peripherals
60device		scbus		# SCSI bus (required for ATA/SCSI)
61device		ch		# SCSI media changers
62device		da		# Direct Access (disks)
63device		sa		# Sequential Access (tape etc)
64device		cd		# CD
65device		pass		# Passthrough device (direct ATA/SCSI access)
66device		ses		# Enclosure Services (SES and SAF-TE)
67#device		ctl		# CAM Target Layer
68
69# Serial ports
70device		uart
71
72# PCI/PCIE
73device		pci
74device		pci_host_generic
75device		al_pci		# Annapurna Alpine PCI-E
76
77# Ethernet
78device		ether
79device		mii
80device		bpf
81device		al_eth		# Annapurna Alpine Ethernet NIC
82options 	DEVICE_POLLING
83
84# USB ethernet support, requires miibus
85device		miibus
86
87#FDT
88options 	FDT
89options 	FDT_DTB_STATIC
90makeoptions	FDT_DTS_FILE=annapurna-alpine.dts
91