IMX6 revision 289537
1276003Sandrew#
2264137Sian# Kernel configuration for Freescale i.MX6 systems.
3257489Sian#
4257489Sian# For more information on this file, please read the config(5) manual page,
5257489Sian# and/or the handbook section on Kernel Configuration Files:
6257489Sian#
7257489Sian#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8257489Sian#
9257489Sian# The handbook is also available locally in /usr/share/doc/handbook
10257489Sian# if you've installed the doc distribution, otherwise always see the
11257489Sian# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12257489Sian# latest information.
13257489Sian#
14257489Sian# An exhaustive list of options and more detailed explanations of the
15257489Sian# device lines is also present in the ../../conf/NOTES and NOTES files.
16257489Sian# If you are in doubt as to the purpose or necessity of a line, check first
17257489Sian# in NOTES.
18257489Sian#
19257489Sian# $FreeBSD: head/sys/arm/conf/IMX6 289537 2015-10-18 19:54:11Z ian $
20257489Sian
21262419Sianident		IMX6
22282576Sandrewinclude 	"std.armv6"
23257489Sianinclude 	"../freescale/imx/std.imx6"
24257489Sian
25289537Sianoptions 	ARM_INTRNG
26289537Sian
27281909Sandrewoptions 	SOC_IMX6
28281909Sandrew
29276003Sandrewoptions 	HZ=500			# Scheduling quantum is 2 milliseconds.
30275961Sandrewoptions 	SCHED_ULE		# ULE scheduler
31276755Sjhb#options 	NFSD			# Network Filesystem Server
32275961Sandrewoptions 	INCLUDE_CONFIG_FILE	# Include this file in kernel
33276177Sandrewoptions 	PLATFORM
34276003Sandrewoptions 	SMP			# Enable multiple cores
35257489Sian
36276003Sandrew# Debugging for use in -current
37276003Sandrewmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
38276003Sandrewoptions 	KDB			# Enable kernel debugger support
39276003Sandrew# For minimum debugger support (stable branch) use:
40276003Sandrew#options 	KDB_TRACE		# Print a stack trace for a panic
41257489Sian# For full debugger support use this instead:
42276003Sandrewoptions 	DDB			# Enable the kernel debugger
43275961Sandrew#options 	GDB			# Support remote GDB.
44257489Sian# Other debugging options...
45275961Sandrewoptions 	ALT_BREAK_TO_DEBUGGER	# Use <CR><tilde><ctrl-b> to enter debugger.
46275961Sandrew#options 	DEADLKRES		# Enable the deadlock resolver
47275961Sandrew#options 	INVARIANTS		# Enable calls of extra sanity checking
48275961Sandrew#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
49275961Sandrew#options 	WITNESS			# Enable checks to detect deadlocks and cycles
50276003Sandrew#options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
51276003Sandrew#options 	DIAGNOSTIC
52257489Sian
53276003Sandrew# NFS root from boopt/dhcp
54276003Sandrew#options 	BOOTP
55276003Sandrew#options 	BOOTP_NFSROOT
56276003Sandrew#options 	BOOTP_COMPAT
57276003Sandrew#options 	BOOTP_NFSV3
58276003Sandrew#options 	BOOTP_WIRED_TO=ffec0
59276003Sandrew
60276003Sandrew# U-Boot stuff lives on slice 1, FreeBSD on slice 2.
61276003Sandrewoptions 	ROOTDEVNAME=\"ufs:mmcsd0s2a\"
62276003Sandrew
63282723Sandrew# Interrupt controller
64282723Sandrewdevice		gic
65282723Sandrew
66257489Sian# Pseudo devices.
67275961Sandrewdevice		loop			# Network loopback
68275961Sandrewdevice		random			# Entropy device
69275961Sandrewdevice		vlan			# 802.1Q VLAN support
70275961Sandrewdevice		tun			# Packet tunnel.
71275961Sandrewdevice		md			# Memory "disks"
72275961Sandrew#device		gif			# IPv6 and IPv4 tunneling
73275961Sandrew#device		firmware		# firmware assist module
74275961Sandrewdevice		ether			# Ethernet support
75275961Sandrewdevice		miibus			# Required for ethernet
76275961Sandrewdevice	 	bpf			# Berkeley packet filter (required for DHCP)
77257489Sian
78268834Sbr# General-purpose input/output
79276004Sandrewdevice		gpio
80268834Sbr
81257489Sian# Serial (COM) ports
82275961Sandrewdevice		uart			# Multi-uart driver
83257489Sian
84262354Sian# SDCard
85275961Sandrewdevice		sdhci			# SD controller
86275961Sandrewdevice		mmc			# SD/MMC protocol
87275961Sandrewdevice		mmcsd			# SDCard disk device
88257489Sian
89257489Sian# SCSI peripherals
90275961Sandrewdevice		scbus			# SCSI bus (required for ATA/SCSI)
91275961Sandrewdevice		da			# Direct Access (disks)
92275961Sandrewdevice		cd			# CD
93275961Sandrewdevice		pass			# Passthrough device (direct ATA/SCSI access)
94257489Sian
95257489Sian# USB support
96275961Sandrew#options 	USB_DEBUG		# enable debug msgs
97275961Sandrewdevice		ehci			# OHCI USB interface
98275961Sandrewdevice		usb			# USB Bus (required)
99275961Sandrewdevice		umass			# Disks/Mass storage - Requires scbus and da
100275961Sandrewdevice		uhid			# "Human Interface Devices"
101275961Sandrewdevice		u3g			# USB modems
102275961Sandrew#device		ukbd			# Allow keyboard like HIDs to control console
103275961Sandrew#device		ums			# USB mouse
104257489Sian
105268834Sbr# USB Ethernet, requires miibus
106275961Sandrew#device		aue			# ADMtek USB Ethernet
107275961Sandrew#device		axe			# ASIX Electronics USB Ethernet
108275961Sandrew#device		cdce			# Generic USB over Ethernet
109275961Sandrew#device		cue			# CATC USB Ethernet
110275961Sandrew#device		kue			# Kawasaki LSI USB Ethernet
111275961Sandrew#device		rue			# RealTek RTL8150 USB Ethernet
112275961Sandrew#device		udav			# Davicom DM9601E USB
113257489Sian
114257489Sian# USB Wireless
115275961Sandrew#device		rum			# Ralink Technology RT2501USB wireless NICs
116257489Sian
117257489Sian# Wireless NIC cards
118275961Sandrew#device		wlan			# 802.11 support
119275961Sandrew#device		wlan_wep		# 802.11 WEP support
120275961Sandrew#device		wlan_ccmp		# 802.11 CCMP support
121275961Sandrew#device		wlan_tkip		# 802.11 TKIP support
122275961Sandrew#device		wlan_amrr		# AMRR transmit rate control algorithm
123257489Sian
124257489Sian# NOTE: serial console will be disabled if syscons enabled
125257489Sian# Uncomment following lines for framebuffer/syscons support
126257489Sian# Wandboard has no video console support yet.
127275961Sandrew#device		sc
128275961Sandrew#device		kbdmux
129275961Sandrew#options 	SC_DFLT_FONT		# compile font in
130275961Sandrew#makeoptions	SC_DFLT_FONT=cp437
131257489Sian
132276003Sandrew# Flattened Device Tree
133276003Sandrewoptions 	FDT			# Configure using FDT/DTB data
134279551Sianmakeoptions	MODULES_EXTRA=dtb/imx6
135257489Sian
136262354Sian# SoC-specific devices
137275961Sandrewdevice		ffec			# Freescale Fast Ethernet Controller
138275961Sandrewdevice		fsliic			# Freescale i2c/iic
139275961Sandrewdevice		iic			# iic protocol
140275961Sandrewdevice		iicbus			# iic bus
141286944Siandevice		imxwdt			# Watchdog. WARNING: can't be disabled!!!
142257489Sian
143