xref: /f-stack/freebsd/arm/conf/IMX6 (revision 22ce4aff)
1#
2# Kernel configuration for Freescale i.MX6 systems.
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		IMX6
22include 	"std.armv7"
23include 	"../freescale/imx/std.imx6"
24
25options 	SOC_IMX6
26
27options 	SCHED_ULE		# ULE scheduler
28#options 	NFSD			# Network Filesystem Server
29options 	INCLUDE_CONFIG_FILE	# Include this file in kernel
30options 	PLATFORM
31options 	SMP			# Enable multiple cores
32
33# NFS root from boopt/dhcp
34#options 	BOOTP
35#options 	BOOTP_NFSROOT
36#options 	BOOTP_COMPAT
37#options 	BOOTP_NFSV3
38#options 	BOOTP_WIRED_TO=ffec0
39
40# U-Boot stuff lives on slice 1, FreeBSD on slice 2.
41options 	ROOTDEVNAME=\"ufs:mmcsd0s2a\"
42
43# Interrupt controller
44device		gic
45# Cache controller
46device		pl310			# PL310 L2 cache controller
47# ARM MPCore timer
48device		mpcore_timer
49
50# Pseudo devices.
51device		loop			# Network loopback
52device		vlan			# 802.1Q VLAN support
53device		tuntap			# Packet tunnel.
54device		md			# Memory "disks"
55#device		gif			# IPv6 and IPv4 tunneling
56#device		firmware		# firmware assist module
57device		ether			# Ethernet support
58device		miibus			# Required for ethernet
59device	 	bpf			# Berkeley packet filter (required for DHCP)
60
61# General-purpose input/output
62device		gpio
63
64# Serial (COM) ports
65device		uart			# Multi-uart driver
66
67# SDCard
68device		sdhci			# SD controller
69device		mmc			# SD/MMC protocol
70device		mmcsd			# SDCard disk device
71
72# SCSI peripherals
73device		scbus			# SCSI bus (required for ATA/SCSI)
74device		da			# Direct Access (disks)
75device		cd			# CD
76device		pass			# Passthrough device (direct ATA/SCSI access)
77
78# ATA controllers
79device 		ahci			# AHCI-compatible SATA controllers
80
81# USB support
82device		ehci			# OHCI USB interface
83device		usb			# USB Bus (required)
84device		umass			# Disks/Mass storage - Requires scbus and da
85device		uhid			# "Human Interface Devices"
86device		u3g			# USB modems
87#device		ukbd			# Allow keyboard like HIDs to control console
88#device		ums			# USB mouse
89
90# USB Ethernet, requires miibus
91#device		aue			# ADMtek USB Ethernet
92#device		axe			# ASIX Electronics USB Ethernet
93#device		cdce			# Generic USB over Ethernet
94#device		cue			# CATC USB Ethernet
95#device		kue			# Kawasaki LSI USB Ethernet
96#device		rue			# RealTek RTL8150 USB Ethernet
97#device		udav			# Davicom DM9601E USB
98
99# USB Wireless
100#device		rum			# Ralink Technology RT2501USB wireless NICs
101
102# Wireless NIC cards
103#device		wlan			# 802.11 support
104#device		wlan_wep		# 802.11 WEP support
105#device		wlan_ccmp		# 802.11 CCMP support
106#device		wlan_tkip		# 802.11 TKIP support
107#device		wlan_amrr		# AMRR transmit rate control algorithm
108
109# HID support
110device		hid			# Generic HID support
111
112device		vt
113device		kbdmux
114device		ukbd
115device		videomode
116device		hdmi
117
118# Flattened Device Tree
119options 	FDT			# Configure using FDT/DTB data
120makeoptions	MODULES_EXTRA="dtb/imx6 imx"
121device  	fdt_pinctrl		# FDT pinmux driver
122
123# EXT_RESOURCES pseudo devices
124options 	EXT_RESOURCES
125device		clk
126device		phy
127device		hwreset
128device		nvmem
129device		regulator
130device		syscon
131
132# SoC-specific devices
133device		ffec			# Freescale Fast Ethernet Controller
134device		fsliic			# Freescale i2c/iic
135device		iic			# iic protocol
136device		iicbus			# iic bus
137device		imx6_snvs		# On-chip RTC
138device		imxwdt			# Watchdog. WARNING: can't be disabled!!!
139
140