A10 revision 295464
1276003Sandrew#
2295464Sandrew# A10 -- Custom configuration for the AllWinner A10 SoC
3254056Sganbold#
4276003Sandrew# For more information on this file, please read the config(5) manual page,
5276003Sandrew# and/or the handbook section on Kernel Configuration Files:
6254056Sganbold#
7254056Sganbold#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8254056Sganbold#
9254056Sganbold# The handbook is also available locally in /usr/share/doc/handbook
10254056Sganbold# if you've installed the doc distribution, otherwise always see the
11254056Sganbold# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
12254056Sganbold# latest information.
13254056Sganbold#
14254056Sganbold# An exhaustive list of options and more detailed explanations of the
15254056Sganbold# device lines is also present in the ../../conf/NOTES and NOTES files.
16254056Sganbold# If you are in doubt as to the purpose or necessity of a line, check first
17254056Sganbold# in NOTES.
18254056Sganbold#
19254056Sganbold# $FreeBSD: head/sys/arm/conf/A10 295464 2016-02-10 09:19:29Z andrew $
20254056Sganbold
21295464Sandrewident		A10
22254056Sganbold
23282576Sandrewinclude 	"std.armv6"
24295464Sandrewinclude 	"../allwinner/std.a10"
25254056Sganbold
26254056Sganboldoptions 	HZ=100
27295464Sandrewoptions 	SCHED_4BSD		# 4BSD scheduler
28294698Sandrewoptions 	PLATFORM
29254056Sganbold
30276003Sandrew# Debugging for use in -current
31263245Simpmakeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
32283547Sianoptions 	ALT_BREAK_TO_DEBUGGER
33263245Simp#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
34276003Sandrewoptions 	KDB			# Enable kernel debugger support
35276003Sandrew# For minimum debugger support (stable branch) use:
36276003Sandrew#options 	KDB_TRACE		# Print a stack trace for a panic
37276003Sandrew# For full debugger support use this instead:
38263245Simpoptions 	DDB			# Enable the kernel debugger
39263245Simpoptions 	INVARIANTS		# Enable calls of extra sanity checking
40263245Simpoptions 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
41275962Sandrewoptions 	WITNESS			# Enable checks to detect deadlocks and cycles
42263245Simpoptions 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
43254056Sganbold#options 	DIAGNOSTIC
44254056Sganbold
45276003Sandrew# NFS root from boopt/dhcp
46276003Sandrew#options 	BOOTP
47254056Sganbold#options 	BOOTP_NFSROOT
48254056Sganbold#options 	BOOTP_COMPAT
49254056Sganbold#options 	BOOTP_NFSV3
50295464Sandrew#options 	BOOTP_WIRED_TO=emac0
51254056Sganbold
52276003Sandrew# MMC/SD/SDIO Card slot support
53283253Sloosdevice		mmc			# mmc/sd bus
54283253Sloosdevice		mmcsd			# mmc/sd flash cards
55254056Sganbold
56254056Sganbold# ATA controllers
57285090Sloosdevice		ahci			# AHCI-compatible SATA controllers
58275962Sandrew#device		ata			# Legacy ATA/SATA controllers
59254056Sganbold
60254056Sganbold# Console and misc
61254056Sganbolddevice		uart
62254056Sganbolddevice		uart_ns8250
63254056Sganbolddevice		pty
64254056Sganbolddevice		snp
65254056Sganbolddevice		md
66254056Sganbolddevice		random			# Entropy device
67254056Sganbold
68254056Sganbold# I2C support
69275962Sandrew#device		iicbus
70275962Sandrew#device		iic
71254056Sganbold
72254056Sganbold# GPIO
73254056Sganbolddevice		gpio
74287316Sloosdevice		gpioled
75254056Sganbold
76270912Simpdevice		scbus			# SCSI bus (required for ATA/SCSI)
77254056Sganbolddevice		da			# Direct Access (disks)
78285090Sloosdevice		pass			# Passthrough device (direct ATA/SCSI access)
79254056Sganbold
80254056Sganbold# USB support
81261572Sianoptions 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
82254056Sganbolddevice		usb
83254056Sganboldoptions 	USB_DEBUG
84254056Sganbold#options 	USB_REQ_DEBUG
85254056Sganbold#options 	USB_VERBOSE
86275962Sandrew#device		uhci
87275962Sandrew#device		ohci
88254056Sganbolddevice		ehci
89254056Sganbold
90254056Sganbolddevice		umass
91254056Sganbold
92254056Sganbold# Ethernet
93254056Sganbolddevice		loop
94254056Sganbolddevice		ether
95254056Sganbolddevice		mii
96254056Sganbolddevice		bpf
97254056Sganbold
98295464Sandrewdevice		emac
99262711Sganbold
100254056Sganbold# USB ethernet support, requires miibus
101254056Sganbolddevice		miibus
102254056Sganbold
103254056Sganbold# Flattened Device Tree
104276003Sandrewoptions 	FDT			# Configure using FDT/DTB data
105281799Sloosmakeoptions	MODULES_EXTRA=dtb/allwinner
106