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#    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
21#NO_UNIVERSE
22
23ident		RK3188
24
25include 	"std.armv7"
26include 	"../rockchip/std.rk30xx"
27
28options 	SOC_ROCKCHIP_RK3188
29
30options 	SCHED_ULE		# ULE scheduler
31options 	SMP			# Enable multiple cores
32options 	PLATFORM
33
34# Root mount from MMC/SD card
35options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0\"
36
37# Interrupt controller
38device		gic
39
40# ARM MPCore timer
41device		mpcore_timer
42
43# MMC/SD/SDIO Card slot support
44device		mmc			# mmc/sd bus
45device		mmcsd			# mmc/sd flash cards
46device		dwmmc
47
48# Console and misc
49device		uart
50device		uart_snps
51device		pty
52device		snp
53device		md
54device		random			# Entropy device
55
56# I2C support
57#device		iicbus
58#device		iic
59
60# GPIO
61device		gpio
62
63device		scbus			# SCSI bus (required for ATA/SCSI)
64device		da			# Direct Access (disks)
65device		pass
66
67# USB support
68options 	USB_HOST_ALIGN=32	# Align usb buffers to cache line size.
69device		usb
70device		dwcotg			# DWC OTG controller
71
72device		umass
73
74# Ethernet
75device		loop
76device		ether
77device		mii
78device		bpf
79
80# Wireless NIC cards
81options 	IEEE80211_DEBUG
82options 	IEEE80211_AMPDU_AGE
83options 	IEEE80211_SUPPORT_MESH
84options 	IEEE80211_SUPPORT_TDMA
85device		wlan			# 802.11 support
86device		wlan_wep		# 802.11 WEP support
87device		wlan_ccmp		# 802.11 CCMP support
88device		wlan_tkip		# 802.11 TKIP support
89device		firmware		# Used by the above
90
91# USB Ethernet support, requires miibus
92device		miibus
93device		udav
94
95# Flattened Device Tree
96options 	FDT			# Configure using FDT/DTB data
97