2014-12-21 11:37:00 +00:00
|
|
|
#
|
2012-08-15 06:31:32 +00:00
|
|
|
# BEAGLEBONE -- Custom configuration for the BeagleBone ARM development
|
2013-05-17 15:20:45 +00:00
|
|
|
# platforms, check out http://www.beagleboard.org/bone and
|
|
|
|
# http://www.beagleboard.org/black. This kernel config file is used for the
|
|
|
|
# original BeagleBone and the BeagleBone Black.
|
2012-08-15 06:31:32 +00:00
|
|
|
#
|
2014-12-21 11:37:00 +00:00
|
|
|
# For more information on this file, please read the config(5) manual page,
|
|
|
|
# and/or the handbook section on Kernel Configuration Files:
|
2012-08-15 06:31:32 +00:00
|
|
|
#
|
2017-10-29 08:17:03 +00:00
|
|
|
# https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
|
2012-08-15 06:31:32 +00:00
|
|
|
#
|
|
|
|
# The handbook is also available locally in /usr/share/doc/handbook
|
|
|
|
# if you've installed the doc distribution, otherwise always see the
|
2017-10-29 08:17:03 +00:00
|
|
|
# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
|
2012-08-15 06:31:32 +00:00
|
|
|
# latest information.
|
|
|
|
#
|
|
|
|
# An exhaustive list of options and more detailed explanations of the
|
|
|
|
# device lines is also present in the ../../conf/NOTES and NOTES files.
|
|
|
|
# If you are in doubt as to the purpose or necessity of a line, check first
|
|
|
|
# in NOTES.
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
ident BEAGLEBONE
|
|
|
|
|
2017-10-05 23:01:50 +00:00
|
|
|
include "std.armv7"
|
2015-05-07 12:38:23 +00:00
|
|
|
include "../ti/am335x/std.am335x"
|
2012-08-15 06:31:32 +00:00
|
|
|
|
2015-08-13 15:19:30 +00:00
|
|
|
makeoptions MODULES_EXTRA="dtb/am335x am335x_dmtpps"
|
2012-08-15 06:31:32 +00:00
|
|
|
|
2016-04-15 16:05:41 +00:00
|
|
|
options INTRNG
|
2016-04-04 09:23:21 +00:00
|
|
|
|
2014-03-16 15:22:46 +00:00
|
|
|
options SCHED_4BSD # 4BSD scheduler
|
2014-05-17 18:35:22 +00:00
|
|
|
options PLATFORM
|
2012-08-15 06:31:32 +00:00
|
|
|
|
2014-12-21 11:37:00 +00:00
|
|
|
# NFS server support
|
2014-12-21 11:55:40 +00:00
|
|
|
#options NFSD
|
2012-08-15 06:31:32 +00:00
|
|
|
|
2014-12-21 11:37:00 +00:00
|
|
|
# NFS root from boopt/dhcp
|
|
|
|
#options BOOTP
|
2012-09-16 19:48:48 +00:00
|
|
|
#options BOOTP_NFSROOT
|
|
|
|
#options BOOTP_COMPAT
|
|
|
|
#options BOOTP_NFSV3
|
|
|
|
#options BOOTP_WIRED_TO=cpsw0
|
2012-08-15 06:31:32 +00:00
|
|
|
|
2014-12-21 11:37:00 +00:00
|
|
|
# Boot device is 2nd slice on MMC/SD card
|
|
|
|
options ROOTDEVNAME=\"ufs:mmcsd0s2\"
|
|
|
|
|
2014-05-25 10:17:26 +00:00
|
|
|
# MMC/SD/SDIO Card slot support
|
2012-08-15 06:31:32 +00:00
|
|
|
device mmc # mmc/sd bus
|
|
|
|
device mmcsd # mmc/sd flash cards
|
2013-08-20 12:33:35 +00:00
|
|
|
device sdhci # mmc/sd host controller
|
2012-08-15 06:31:32 +00:00
|
|
|
|
2014-05-25 10:17:26 +00:00
|
|
|
# I2C support
|
|
|
|
device iicbus
|
|
|
|
device iic
|
|
|
|
device ti_i2c
|
|
|
|
device am335x_pmic # AM335x Power Management IC (TPC65217)
|
|
|
|
|
2015-01-12 03:23:16 +00:00
|
|
|
device am335x_rtc # RTC support (power management only)
|
2015-08-13 15:19:30 +00:00
|
|
|
#define am335x_dmtpps # Pulse Per Second capture driver
|
2015-01-12 03:23:16 +00:00
|
|
|
|
2012-08-15 06:31:32 +00:00
|
|
|
# Console and misc
|
|
|
|
device uart
|
|
|
|
device uart_ns8250
|
|
|
|
device pty
|
|
|
|
device snp
|
|
|
|
device md
|
|
|
|
device random # Entropy device
|
|
|
|
|
|
|
|
# GPIO
|
|
|
|
device gpio
|
2014-02-13 18:51:37 +00:00
|
|
|
device gpioled
|
2015-10-18 23:58:05 +00:00
|
|
|
device gpiobacklight
|
2012-08-15 06:31:32 +00:00
|
|
|
|
2016-03-30 17:32:14 +00:00
|
|
|
# SPI
|
|
|
|
device ti_spi
|
|
|
|
device spibus
|
|
|
|
|
2014-03-24 20:06:27 +00:00
|
|
|
# ADC support
|
|
|
|
device ti_adc
|
|
|
|
|
2014-10-18 16:59:21 +00:00
|
|
|
# Watchdog support
|
|
|
|
# If we don't enable the watchdog driver, the system could potentially
|
|
|
|
# reboot automatically because the boot loader might have enabled the
|
|
|
|
# watchdog.
|
|
|
|
device ti_wdt
|
|
|
|
|
2014-10-18 17:00:55 +00:00
|
|
|
# TI Programmable Realtime Unit support
|
|
|
|
device ti_pruss
|
|
|
|
|
|
|
|
# Mailbox support
|
|
|
|
device ti_mbox
|
|
|
|
|
2015-11-09 17:57:32 +00:00
|
|
|
# PMU support (for CCNT).
|
|
|
|
device pmu
|
|
|
|
|
2012-08-15 06:31:32 +00:00
|
|
|
# USB support
|
|
|
|
device usb
|
2014-05-25 10:17:26 +00:00
|
|
|
options USB_HOST_ALIGN=64 # Align usb buffers to cache line size.
|
2012-08-15 06:31:32 +00:00
|
|
|
device musb
|
|
|
|
device umass
|
2014-09-01 03:49:21 +00:00
|
|
|
device scbus # SCSI bus (required for ATA/SCSI)
|
2012-08-15 06:31:32 +00:00
|
|
|
device da # Direct Access (disks)
|
|
|
|
|
|
|
|
# Ethernet
|
|
|
|
device loop
|
|
|
|
device ether
|
|
|
|
device mii
|
|
|
|
device smscphy
|
|
|
|
device cpsw
|
|
|
|
device bpf
|
|
|
|
|
2014-05-25 10:17:26 +00:00
|
|
|
# USB Ethernet support, requires miibus
|
2012-08-15 06:31:32 +00:00
|
|
|
device miibus
|
|
|
|
|
2017-03-28 00:57:33 +00:00
|
|
|
# Device mode support
|
2014-03-16 15:22:46 +00:00
|
|
|
device usb_template # Control of the gadget
|
2013-07-07 04:24:38 +00:00
|
|
|
|
2015-05-22 03:16:18 +00:00
|
|
|
# Pinmux
|
|
|
|
device fdt_pinctrl
|
|
|
|
|
2012-08-15 06:31:32 +00:00
|
|
|
# Flattened Device Tree
|
2014-12-21 11:37:00 +00:00
|
|
|
options FDT # Configure using FDT/DTB data
|
2015-06-18 00:57:52 +00:00
|
|
|
|
|
|
|
# Comment following lines for boot console on serial port
|
|
|
|
device vt
|
|
|
|
device videomode
|
|
|
|
device hdmi
|
|
|
|
device ums
|
|
|
|
device ukbd
|
|
|
|
device kbdmux
|
2016-09-11 19:08:21 +00:00
|
|
|
|
|
|
|
# Uncomment to enable evdev support for ti_adc
|
2016-10-02 03:20:31 +00:00
|
|
|
# options EVDEV_SUPPORT
|