xref: /freebsd/sys/arm/conf/TEGRA124 (revision 8ef24a0d4b28fe230e20637f56869cc4148cd2ca)
1#
2# Kernel configuration for NVIDIA Tegra124 based boards.
3#
4# For more information on this file, please read the config(5) manual page,
5# and/or the handbook section on Kernel Configuration Files:
6#
7#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8#
9# The handbook is also available locally in /usr/share/doc/handbook
10# if you've installed the doc distribution, otherwise always see the
11# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12# latest information.
13#
14# An exhaustive list of options and more detailed explanations of the
15# device lines is also present in the ../../conf/NOTES and NOTES files.
16# If you are in doubt as to the purpose or necessity of a line, check first
17# in NOTES.
18#
19# $FreeBSD$
20
21include  	"std.armv6"
22include 	"../nvidia/tegra124/std.tegra124"
23
24ident		TEGRA124
25
26options 	HZ=100			# Scheduling quantum is 10 milliseconds.
27options 	SCHED_ULE		# ULE scheduler
28options 	PLATFORM		# Platform based SoC
29options 	PLATFORM_SMP
30options 	SMP			# Enable multiple cores
31options 	LINUX_BOOT_ABI
32
33# Debugging for use in -current
34makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
35options 	BREAK_TO_DEBUGGER
36options 	ALT_BREAK_TO_DEBUGGER
37#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
38options 	KDB			# Enable kernel debugger support
39# For minimum debugger support (stable branch) use:
40#options 	KDB_TRACE		# Print a stack trace for a panic
41# For full debugger support use this instead:
42options 	DDB			# Enable the kernel debugger
43options 	INVARIANTS		# Enable calls of extra sanity checking
44options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
45options 	WITNESS			# Enable checks to detect deadlocks and cycles
46options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
47
48# Interrupt controller
49device		gic
50
51# ARM Generic Timer
52device		generic_timer
53
54# EXT_RESOURCES pseudo devices
55options 	EXT_RESOURCES
56device		clk
57device		phy
58device		hwreset
59device		regulator
60
61# Pseudo devices.
62device		loop			# Network loopback
63device		random			# Entropy device
64device		vlan			# 802.1Q VLAN support
65#device		tun			# Packet tunnel.
66device		md			# Memory "disks"
67#device		gif			# IPv6 and IPv4 tunneling
68#device		firmware		# firmware assist module
69device		ether			# Ethernet support
70device		miibus			# Required for ethernet
71device		bpf			# Berkeley packet filter (required for DHCP)
72
73
74# General-purpose input/output
75device		gpio
76#device		gpioled
77
78# I2C support
79device		iic
80device		iicbus
81device		icee
82
83# Serial (COM) ports
84device		uart			# Multi-uart driver
85device		uart_ns8250
86
87# MMC/SD/SDIO Card slot support
88device		sdhci			# SD controller
89device		mmc			# SD/MMC protocol
90device		mmcsd			# SDCard disk device
91
92# ATA controllers
93device		ahci			# AHCI-compatible SATA controllers
94
95# SCSI peripherals
96device		scbus			# SCSI bus (required for ATA/SCSI)
97device		da			# Direct Access (disks)
98device		cd			# CD
99device		pass			# Passthrough device (direct ATA/SCSI access)
100
101# USB support
102options 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
103options 	USB_DEBUG		# enable debug msgs
104device		ehci			# EHCI USB interface
105device		usb			# USB Bus (required)
106device		umass			# Disks/Mass storage - Requires scbus and da
107device		uhid			# "Human Interface Devices"
108#device		u3g			# USB modems
109device		ukbd			# Allow keyboard like HIDs to control console
110device		ums			# USB mouse
111
112# USB Ethernet, requires miibus
113#device		aue			# ADMtek USB Ethernet
114#device		axe			# ASIX Electronics USB Ethernet
115#device		cdce			# Generic USB over Ethernet
116#device		cue			# CATC USB Ethernet
117#device		kue			# Kawasaki LSI USB Ethernet
118#device		rue			# RealTek RTL8150 USB Ethernet
119#device		udav			# Davicom DM9601E USB
120
121# USB Wireless
122#device		rum			# Ralink Technology RT2501USB wireless NICs
123
124# Wireless NIC cards
125#device		wlan			# 802.11 support
126#device		wlan_wep		# 802.11 WEP support
127#device		wlan_ccmp		# 802.11 CCMP support
128#device		wlan_tkip		# 802.11 TKIP support
129#device		wlan_amrr		# AMRR transmit rate control algorithm
130
131# PCI
132options 	NEW_PCIB
133device		pci
134
135# PCI Ethernet NICs that use the common MII bus controller code.
136# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
137device		re			# RealTek 8139C+/8169/8169S/8110S
138
139# DRM2
140#device		fbd
141#device		vt
142#device		splash
143#device		kbdmux
144#device		drm2
145
146# Sound
147#device		sound
148#device		snd_hda
149
150# Flattened Device Tree
151options 	FDT			# Configure using FDT/DTB data
152device  	fdt_pinctrl
153
154# SoC-specific devices
155
156#device  	hwpmc
157