IMX6 revision 292574
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 292574 2015-12-21 22:25:35Z gonzo $
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
65291104Sandrew# Cache controller
66291104Sandrewdevice		pl310			# PL310 L2 cache controller
67291135Sandrew# ARM MPCore timer
68291135Sandrewdevice		mpcore_timer
69282723Sandrew
70257489Sian# Pseudo devices.
71275961Sandrewdevice		loop			# Network loopback
72275961Sandrewdevice		random			# Entropy device
73275961Sandrewdevice		vlan			# 802.1Q VLAN support
74275961Sandrewdevice		tun			# Packet tunnel.
75275961Sandrewdevice		md			# Memory "disks"
76275961Sandrew#device		gif			# IPv6 and IPv4 tunneling
77275961Sandrew#device		firmware		# firmware assist module
78275961Sandrewdevice		ether			# Ethernet support
79275961Sandrewdevice		miibus			# Required for ethernet
80275961Sandrewdevice	 	bpf			# Berkeley packet filter (required for DHCP)
81257489Sian
82268834Sbr# General-purpose input/output
83276004Sandrewdevice		gpio
84268834Sbr
85257489Sian# Serial (COM) ports
86275961Sandrewdevice		uart			# Multi-uart driver
87257489Sian
88262354Sian# SDCard
89275961Sandrewdevice		sdhci			# SD controller
90275961Sandrewdevice		mmc			# SD/MMC protocol
91275961Sandrewdevice		mmcsd			# SDCard disk device
92257489Sian
93257489Sian# SCSI peripherals
94275961Sandrewdevice		scbus			# SCSI bus (required for ATA/SCSI)
95275961Sandrewdevice		da			# Direct Access (disks)
96275961Sandrewdevice		cd			# CD
97275961Sandrewdevice		pass			# Passthrough device (direct ATA/SCSI access)
98257489Sian
99257489Sian# USB support
100275961Sandrew#options 	USB_DEBUG		# enable debug msgs
101275961Sandrewdevice		ehci			# OHCI USB interface
102275961Sandrewdevice		usb			# USB Bus (required)
103275961Sandrewdevice		umass			# Disks/Mass storage - Requires scbus and da
104275961Sandrewdevice		uhid			# "Human Interface Devices"
105275961Sandrewdevice		u3g			# USB modems
106275961Sandrew#device		ukbd			# Allow keyboard like HIDs to control console
107275961Sandrew#device		ums			# USB mouse
108257489Sian
109268834Sbr# USB Ethernet, requires miibus
110275961Sandrew#device		aue			# ADMtek USB Ethernet
111275961Sandrew#device		axe			# ASIX Electronics USB Ethernet
112275961Sandrew#device		cdce			# Generic USB over Ethernet
113275961Sandrew#device		cue			# CATC USB Ethernet
114275961Sandrew#device		kue			# Kawasaki LSI USB Ethernet
115275961Sandrew#device		rue			# RealTek RTL8150 USB Ethernet
116275961Sandrew#device		udav			# Davicom DM9601E USB
117257489Sian
118257489Sian# USB Wireless
119275961Sandrew#device		rum			# Ralink Technology RT2501USB wireless NICs
120257489Sian
121257489Sian# Wireless NIC cards
122275961Sandrew#device		wlan			# 802.11 support
123275961Sandrew#device		wlan_wep		# 802.11 WEP support
124275961Sandrew#device		wlan_ccmp		# 802.11 CCMP support
125275961Sandrew#device		wlan_tkip		# 802.11 TKIP support
126275961Sandrew#device		wlan_amrr		# AMRR transmit rate control algorithm
127257489Sian
128257489Sian# NOTE: serial console will be disabled if syscons enabled
129257489Sian# Uncomment following lines for framebuffer/syscons support
130257489Sian# Wandboard has no video console support yet.
131275961Sandrew#device		sc
132275961Sandrew#device		kbdmux
133275961Sandrew#options 	SC_DFLT_FONT		# compile font in
134275961Sandrew#makeoptions	SC_DFLT_FONT=cp437
135257489Sian
136292574Sgonzodevice		vt
137292574Sgonzodevice		kbdmux
138292574Sgonzodevice		ukbd
139292571Sgonzodevice		videomode
140292571Sgonzodevice		hdmi
141292571Sgonzo
142276003Sandrew# Flattened Device Tree
143276003Sandrewoptions 	FDT			# Configure using FDT/DTB data
144279551Sianmakeoptions	MODULES_EXTRA=dtb/imx6
145257489Sian
146262354Sian# SoC-specific devices
147275961Sandrewdevice		ffec			# Freescale Fast Ethernet Controller
148275961Sandrewdevice		fsliic			# Freescale i2c/iic
149275961Sandrewdevice		iic			# iic protocol
150275961Sandrewdevice		iicbus			# iic bus
151286944Siandevice		imxwdt			# Watchdog. WARNING: can't be disabled!!!
152257489Sian
153