xref: /freebsd/sys/arm/conf/TEGRA124 (revision af23369a6deaaeb612ab266eb88b8bb8d560c322)
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#    https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config
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 (https://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.armv7"
22include 	"../nvidia/tegra124/std.tegra124"
23
24ident		TEGRA124
25
26options 	SCHED_ULE		# ULE scheduler
27options 	PLATFORM		# Platform based SoC
28options 	SMP			# Enable multiple cores
29options 	LINUX_BOOT_ABI
30
31# Interrupt controller
32device		gic
33
34# ARM Generic Timer
35device		generic_timer
36
37# pseudo devices
38device		clk
39device		phy
40device		hwreset
41device		regulator
42device		syscon
43
44# Pseudo devices.
45device		loop			# Network loopback
46device		vlan			# 802.1Q VLAN support
47#device		tuntap			# Packet tunnel.
48device		md			# Memory "disks"
49#device		gif			# IPv6 and IPv4 tunneling
50device		firmware		# firmware assist module
51device		ether			# Ethernet support
52device		miibus			# Required for ethernet
53device		bpf			# Berkeley packet filter (required for DHCP)
54
55
56# General-purpose input/output
57device		gpio
58#device		gpioled
59
60# I2C support
61device		iic
62device		iicbus
63device		icee
64
65# Serial (COM) ports
66device		uart			# Multi-uart driver
67device		uart_ns8250
68
69# MMC/SD/SDIO Card slot support
70device		sdhci			# SD controller
71device		mmc			# SD/MMC protocol
72device		mmcsd			# SDCard disk device
73
74# ATA controllers
75device		ahci			# AHCI-compatible SATA controllers
76
77# SCSI peripherals
78device		scbus			# SCSI bus (required for ATA/SCSI)
79device		da			# Direct Access (disks)
80device		cd			# CD
81device		pass			# Passthrough device (direct ATA/SCSI access)
82
83# USB support
84options 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
85device		ehci			# EHCI USB interface
86device		xhci			# XHCI USB interface
87device		tegra124_xusb_fw	# Tegra XUSB firmware
88device		usb			# USB Bus (required)
89device		umass			# Disks/Mass storage - Requires scbus and da
90device		uhid			# "Human Interface Devices"
91#device		u3g			# USB modems
92device		ukbd			# Allow keyboard like HIDs to control console
93device		ums			# USB mouse
94
95# USB Ethernet, requires miibus
96#device		aue			# ADMtek USB Ethernet
97#device		axe			# ASIX Electronics USB Ethernet
98#device		cdce			# Generic USB over Ethernet
99#device		cue			# CATC USB Ethernet
100#device		kue			# Kawasaki LSI USB Ethernet
101#device		rue			# RealTek RTL8150 USB Ethernet
102#device		udav			# Davicom DM9601E USB
103
104# USB Wireless
105#device		rum			# Ralink Technology RT2501USB wireless NICs
106
107# Wireless NIC cards
108#device		wlan			# 802.11 support
109#device		wlan_wep		# 802.11 WEP support
110#device		wlan_ccmp		# 802.11 CCMP support
111#device		wlan_tkip		# 802.11 TKIP support
112#device		wlan_amrr		# AMRR transmit rate control algorithm
113
114# PCI
115options 	NEW_PCIB
116device		pci
117
118# PCI Ethernet NICs that use the common MII bus controller code.
119# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
120device		re			# RealTek 8139C+/8169/8169S/8110S
121
122# DRM2
123device		fbd
124device		vt
125device		kbdmux
126device		drm2
127
128# Sound
129#device		sound
130#device		snd_hda
131
132# HID support
133device		hid			# Generic HID support
134
135# Flattened Device Tree
136options 	FDT			# Configure using FDT/DTB data
137device  	fdt_pinctrl
138
139# SoC-specific devices
140
141#device  	hwpmc
142