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