xref: /NextBSD/sys/arm/conf/BEAGLEBONE (revision 4557fabb34e865d7f40be64b39c9e34fa41dbb60)
1#
2# BEAGLEBONE -- Custom configuration for the BeagleBone ARM development
3# platforms, check out http://www.beagleboard.org/bone and
4# http://www.beagleboard.org/black. This kernel config file is used for the
5# original BeagleBone and the BeagleBone Black.
6#
7# For more information on this file, please read the config(5) manual page,
8# and/or the handbook section on Kernel Configuration Files:
9#
10#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
11#
12# The handbook is also available locally in /usr/share/doc/handbook
13# if you've installed the doc distribution, otherwise always see the
14# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
15# latest information.
16#
17# An exhaustive list of options and more detailed explanations of the
18# device lines is also present in the ../../conf/NOTES and NOTES files.
19# If you are in doubt as to the purpose or necessity of a line, check first
20# in NOTES.
21#
22# $FreeBSD$
23
24ident		BEAGLEBONE
25
26include 	"std.armv6"
27include 	"../ti/am335x/std.am335x"
28
29makeoptions	MODULES_EXTRA="dtb/am335x am335x_dmtpps"
30
31options 	HZ=100
32options 	SCHED_4BSD		# 4BSD scheduler
33options 	PLATFORM
34
35# Debugging for use in -current
36makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
37options 	ALT_BREAK_TO_DEBUGGER
38#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
39options 	KDB			# Enable kernel debugger support
40# For minimum debugger support (stable branch) use:
41#options 	KDB_TRACE		# Print a stack trace for a panic
42# For full debugger support use this instead:
43options 	DDB			# Enable the kernel debugger
44options 	INVARIANTS		# Enable calls of extra sanity checking
45options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
46options 	WITNESS			# Enable checks to detect deadlocks and cycles
47options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
48#options 	DIAGNOSTIC
49
50# NFS server support
51#options 	NFSD
52
53# NFS root from boopt/dhcp
54#options 	BOOTP
55#options 	BOOTP_NFSROOT
56#options 	BOOTP_COMPAT
57#options 	BOOTP_NFSV3
58#options 	BOOTP_WIRED_TO=cpsw0
59
60# Boot device is 2nd slice on MMC/SD card
61options 	ROOTDEVNAME=\"ufs:mmcsd0s2\"
62
63# MMC/SD/SDIO Card slot support
64device		mmc			# mmc/sd bus
65device		mmcsd			# mmc/sd flash cards
66device		sdhci			# mmc/sd host controller
67
68# I2C support
69device		iicbus
70device		iic
71device		ti_i2c
72device		am335x_pmic		# AM335x Power Management IC (TPC65217)
73
74device		am335x_rtc		# RTC support (power management only)
75#define 	am335x_dmtpps		# Pulse Per Second capture driver
76
77# Console and misc
78device		uart
79device		uart_ns8250
80device		pty
81device		snp
82device		md
83device		random			# Entropy device
84
85# GPIO
86device		gpio
87device		gpioled
88device		gpiobacklight
89
90# ADC support
91device		ti_adc
92
93# Watchdog support
94# If we don't enable the watchdog driver, the system could potentially
95# reboot automatically because the boot loader might have enabled the
96# watchdog.
97device		ti_wdt
98
99# TI Programmable Realtime Unit support
100device		ti_pruss
101
102# Mailbox support
103device		ti_mbox
104
105# PMU support (for CCNT).
106device		pmu
107
108# USB support
109device		usb
110options 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
111options 	USB_DEBUG
112#options 	USB_REQ_DEBUG
113#options 	USB_VERBOSE
114device		musb
115device		umass
116device		scbus			# SCSI bus (required for ATA/SCSI)
117device		da			# Direct Access (disks)
118
119# Ethernet
120device		loop
121device		ether
122device		mii
123device		smscphy
124device		cpsw
125device		bpf
126
127# USB Ethernet support, requires miibus
128device		miibus
129device		axe			# ASIX Electronics USB Ethernet
130
131# Device mode support and USFS template
132device		usb_template    	# Control of the gadget
133device		usfs
134
135# Pinmux
136device		fdt_pinctrl
137
138# Flattened Device Tree
139options 	FDT			# Configure using FDT/DTB data
140
141# Comment following lines for boot console on serial port
142device		vt
143device		videomode
144device		hdmi
145device		ums
146device		ukbd
147device		kbdmux
148