xref: /freebsd/sys/arm/conf/ALPINE (revision 0e33efe4e4b5d24e2d416938af8bc6e6e4160ec8)
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://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
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=""
26makeoptions	WERROR="-Werror"
27
28options 	SCHED_4BSD		# 4BSD scheduler
29options 	SMP			# Enable multiple cores
30options 	PLATFORM
31
32# Interrupt controller
33device		gic
34options 	INTRNG
35
36# Annapurna Alpine drivers
37device		al_ccu			# Alpine Cache Coherency Unit
38device		al_nb_service		# Alpine North Bridge Service
39device		al_iofic		# I/O Fabric Interrupt Controller
40device		al_serdes		# Serializer/Deserializer
41device		al_udma			# Universal DMA
42
43# Pseudo devices
44device		loop
45device		random
46device		pty
47device		md
48device		gpio
49
50# ATA controllers
51device		ahci		# AHCI-compatible SATA controllers
52device		ata		# Legacy ATA/SATA controllers
53
54# ATA/SCSI peripherals
55device		scbus		# SCSI bus (required for ATA/SCSI)
56device		ch		# SCSI media changers
57device		da		# Direct Access (disks)
58device		sa		# Sequential Access (tape etc)
59device		cd		# CD
60device		pass		# Passthrough device (direct ATA/SCSI access)
61device		ses		# Enclosure Services (SES and SAF-TE)
62#device		ctl		# CAM Target Layer
63
64# Serial ports
65device		uart
66
67# PCI/PCIE
68device		pci
69device		pci_host_generic
70device		al_pci		# Annapurna Alpine PCI-E
71
72# Ethernet
73device		ether
74device		mii
75device		bpf
76device		al_eth		# Annapurna Alpine Ethernet NIC
77options 	DEVICE_POLLING
78
79# USB ethernet support, requires miibus
80device		miibus
81
82#FDT
83options 	FDT
84options 	FDT_DTB_STATIC
85makeoptions	FDT_DTS_FILE=annapurna-alpine.dts
86