1#
2# Kernel configuration for Efika MX Smarttop/Smartbook 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://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 (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
21ident		EFIKA_MX
22
23include 	"std.armv7"
24include 	"../freescale/imx/std.imx51"
25
26makeoptions	WITHOUT_MODULES="ahc"
27
28options 	SOC_IMX51
29
30options 	SCHED_4BSD		# 4BSD scheduler
31#options 	MD_ROOT			# MD is a potential root device
32#options 	NFSD			# Network Filesystem Server
33options 	PLATFORM
34options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
35
36# NFS root from boopt/dhcp
37#options 	BOOTP
38#options 	BOOTP_NFSROOT
39#options 	BOOTP_COMPAT
40#options 	BOOTP_NFSV3
41#options 	BOOTP_WIRED_TO=ue0
42
43options 	ROOTDEVNAME=\"ufs:ada0s2a\"
44
45
46# kernel/memory size reduction
47#options 	MUTEX_NOINLINE
48#options 	NO_FFS_SNAPSHOT
49#options 	NO_SWAPPING
50#options 	NO_SYSCTL_DESCR
51#options 	RWLOCK_NOINLINE
52
53# The `bpf' device enables the Berkeley Packet Filter.
54# Be aware of the administrative consequences of enabling this!
55# Note that 'bpf' is required for DHCP.
56device		bpf			# Berkeley packet filter
57
58# Pseudo devices.
59device		loop			# Network loopback
60device		random			# Entropy device
61device		ether			# Ethernet support
62#device		vlan			# 802.1Q VLAN support
63#device		tuntap			# Packet tunnel.
64#device		md			# Memory "disks"
65#device		gif			# IPv6 and IPv4 tunneling
66#device		firmware		# firmware assist module
67
68# Serial (COM) ports
69device		uart			# Multi-uart driver
70
71device		ata
72device		atapci			# Only for helper functions
73device		imxata
74
75device		gpio
76device		gpioled
77
78device		fsliic
79device		iic
80device		iicbus
81
82# SCSI peripherals
83device		scbus			# SCSI bus (required for ATA/SCSI)
84device		da			# Direct Access (disks)
85device		cd			# CD
86device		pass			# Passthrough device (direct ATA/SCSI access)
87
88# USB support
89options 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
90device		ehci			# OHCI USB interface
91device		usb			# USB Bus (required)
92device		umass			# Disks/Mass storage - Requires scbus and da
93device		uhid			# "Human Interface Devices"
94device		u3g
95
96# USB Ethernet, requires miibus
97device		miibus
98device		aue			# ADMtek USB Ethernet
99device		axe			# ASIX Electronics USB Ethernet
100device		cdce			# Generic USB over Ethernet
101device		cue			# CATC USB Ethernet
102device		kue			# Kawasaki LSI USB Ethernet
103device		rue			# RealTek RTL8150 USB Ethernet
104device		udav			# Davicom DM9601E USB
105
106# USB Wireless
107device		rum			# Ralink Technology RT2501USB wireless NICs
108
109# Watchdog timer.
110# WARNING: can't be disabled!!!
111device		imxwdt			# Watchdog
112
113# Wireless NIC cards
114device		wlan			# 802.11 support
115device		wlan_wep		# 802.11 WEP support
116device		wlan_ccmp		# 802.11 CCMP support
117device		wlan_tkip		# 802.11 TKIP support
118device		wlan_amrr		# AMRR transmit rate control algorithm
119
120# Flattened Device Tree
121options 	FDT			# Configure using FDT/DTB data
122options 	FDT_DTB_STATIC
123makeoptions	FDT_DTS_FILE=efikamx.dts
124device  	fdt_pinctrl		# FDT pinmux driver
125
126# NOTE: serial console will be disabled if syscons enabled
127# Uncomment following lines for framebuffer/syscons support
128device		sc
129device		kbdmux
130options 	SC_DFLT_FONT		# compile font in
131makeoptions	SC_DFLT_FONT=cp437
132device		ukbd			# Allow keyboard like HIDs to control console
133device		ums
134