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#    https://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 (https://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.armv7"
27include 	"../ti/am335x/std.am335x"
28
29makeoptions	MODULES_EXTRA="dtb/am335x am335x_dmtpps"
30
31options 	SCHED_4BSD		# 4BSD scheduler
32options 	PLATFORM
33
34# NFS server support
35#options 	NFSD
36
37# NFS root from boopt/dhcp
38#options 	BOOTP
39#options 	BOOTP_NFSROOT
40#options 	BOOTP_COMPAT
41#options 	BOOTP_NFSV3
42#options 	BOOTP_WIRED_TO=cpsw0
43
44# Boot device is 2nd slice on MMC/SD card
45options 	ROOTDEVNAME=\"ufs:mmcsd0s2\"
46
47# MMC/SD/SDIO Card slot support
48device		mmc			# mmc/sd bus
49device		mmcsd			# mmc/sd flash cards
50device		sdhci			# mmc/sd host controller
51
52# I2C support
53device		iicbus
54device		iic
55device		ti_i2c
56device		am335x_pmic		# AM335x Power Management IC (TPC65217)
57
58device		am335x_rtc		# RTC support (power management only)
59#define 	am335x_dmtpps		# Pulse Per Second capture driver
60
61# Console and misc
62device		uart
63device		uart_ns8250
64device		pty
65device		snp
66device		md
67device		random			# Entropy device
68
69# GPIO
70device		gpio
71device		gpioled
72device		gpiobacklight
73
74# SPI
75device		ti_spi
76device		spibus
77
78# ADC support
79device		ti_adc
80
81# Watchdog support
82# If we don't enable the watchdog driver, the system could potentially
83# reboot automatically because the boot loader might have enabled the
84# watchdog.
85device		ti_wdt
86
87# TI Programmable Realtime Unit support
88device		ti_pruss
89
90# Mailbox support
91device		ti_mbox
92
93# PMU support (for CCNT).
94device		pmu
95
96# USB support
97device		usb
98options 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
99device		musb
100device		umass
101device		scbus			# SCSI bus (required for ATA/SCSI)
102device		da			# Direct Access (disks)
103
104# Ethernet
105device		loop
106device		ether
107device		mii
108device		smscphy
109device		cpsw
110device		bpf
111
112# USB Ethernet support, requires miibus
113device		miibus
114
115# Device mode support
116device		usb_template    	# Control of the gadget
117
118# Pinmux
119device		fdt_pinctrl
120
121# Flattened Device Tree
122options 	FDT			# Configure using FDT/DTB data
123
124# Comment following lines for boot console on serial port
125device		vt
126device		videomode
127device		hdmi
128device		ums
129device		ukbd
130device		kbdmux
131
132# Uncomment to enable evdev support for ti_adc
133# options		EVDEV_SUPPORT
134