RK3188 revision 295540
1#
2# Kernel configuration for Rockchip RK3188 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#    http://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 (http://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: head/sys/arm/conf/RK3188 295540 2016-02-11 18:01:10Z andrew $
20
21ident		RK3188
22
23include 	"std.armv6"
24include 	"../rockchip/std.rk30xx"
25
26options 	HZ=100
27options 	SCHED_ULE		# ULE scheduler
28options 	SMP			# Enable multiple cores
29
30# Debugging for use in -current
31makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
32options 	ALT_BREAK_TO_DEBUGGER
33#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
34options 	KDB			# Enable kernel debugger support
35# For minimum debugger support (stable branch) use:
36#options 	KDB_TRACE		# Print a stack trace for a panic
37# For full debugger support use this instead:
38options 	DDB			# Enable the kernel debugger
39#options 	INVARIANTS		# Enable calls of extra sanity checking
40#options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
41options 	WITNESS			# Enable checks to detect deadlocks and cycles
42options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
43options 	DIAGNOSTIC
44
45# Root mount from MMC/SD card
46options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0\"
47
48# Interrupt controller
49device		gic
50options 	ARM_INTRNG
51
52# ARM MPCore timer
53device		mpcore_timer
54
55# MMC/SD/SDIO Card slot support
56device		mmc			# mmc/sd bus
57device		mmcsd			# mmc/sd flash cards
58device		dwmmc
59
60# Console and misc
61device		uart
62device		uart_ns8250
63device		pty
64device		snp
65device		md
66device		random			# Entropy device
67
68# I2C support
69#device		iicbus
70#device		iic
71
72# GPIO
73device		gpio
74
75device		scbus			# SCSI bus (required for ATA/SCSI)
76device		da			# Direct Access (disks)
77device		pass
78
79# USB support
80options 	USB_HOST_ALIGN=32	# Align usb buffers to cache line size.
81device		usb
82options 	USB_DEBUG
83#options 	USB_REQ_DEBUG
84#options 	USB_VERBOSE
85device		dwcotg			# DWC OTG controller
86
87device		umass
88
89# Ethernet
90device		loop
91device		ether
92device		mii
93device		bpf
94
95# Wireless NIC cards
96options 	IEEE80211_DEBUG
97options 	IEEE80211_AMPDU_AGE
98options 	IEEE80211_SUPPORT_MESH
99options 	IEEE80211_SUPPORT_TDMA
100device		wlan			# 802.11 support
101device		wlan_wep		# 802.11 WEP support
102device		wlan_ccmp		# 802.11 CCMP support
103device		wlan_tkip		# 802.11 TKIP support
104device		urtwn
105device		urtwnfw
106device		firmware		# Used by the above
107
108# USB Ethernet support, requires miibus
109device		miibus
110device		udav
111
112# Flattened Device Tree
113options 	FDT			# Configure using FDT/DTB data
114