A10 revision 298854
1#
2# A10 -- Custom configuration for the AllWinner A10 SoC
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/A10 298854 2016-04-30 17:27:33Z andrew $
20
21ident		A10
22
23include 	"std.armv6"
24include 	"../allwinner/std.a10"
25
26options 	INTRNG
27
28options 	SOC_ALLWINNER_A10
29
30options 	HZ=100
31options 	SCHED_4BSD		# 4BSD scheduler
32options 	PLATFORM
33options 	MULTIDELAY
34
35# Debugging for use in -current
36makeoptions	DEBUG=-g		# Build kernel with gdb(1) debug symbols
37options 	ALT_BREAK_TO_DEBUGGER
38#options 	VERBOSE_SYSINIT		# Enable verbose sysinit messages
39options 	KDB			# Enable kernel debugger support
40# For minimum debugger support (stable branch) use:
41#options 	KDB_TRACE		# Print a stack trace for a panic
42# For full debugger support use this instead:
43options 	DDB			# Enable the kernel debugger
44options 	INVARIANTS		# Enable calls of extra sanity checking
45options 	INVARIANT_SUPPORT	# Extra sanity checks of internal structures, required by INVARIANTS
46options 	WITNESS			# Enable checks to detect deadlocks and cycles
47options 	WITNESS_SKIPSPIN	# Don't run witness on spinlocks for speed
48#options 	DIAGNOSTIC
49
50# NFS root from boopt/dhcp
51#options 	BOOTP
52#options 	BOOTP_NFSROOT
53#options 	BOOTP_COMPAT
54#options 	BOOTP_NFSV3
55#options 	BOOTP_WIRED_TO=emac0
56
57# EXT_RESOURCES pseudo devices
58options		EXT_RESOURCES
59device		clk
60device		phy
61device		hwreset
62device		regulator
63
64# MMC/SD/SDIO Card slot support
65device		mmc			# mmc/sd bus
66device		mmcsd			# mmc/sd flash cards
67
68# ATA controllers
69device		ahci			# AHCI-compatible SATA controllers
70#device		ata			# Legacy ATA/SATA controllers
71
72# Console and misc
73device		uart
74device		uart_snps
75device		pty
76device		snp
77device		md
78device		random			# Entropy device
79
80# I2C support
81device		iicbus
82device		iic
83device		twsi
84device		axp209			# AXP209 Power Management Unit
85
86# GPIO
87device		gpio
88device		gpioled
89
90device		scbus			# SCSI bus (required for ATA/SCSI)
91device		da			# Direct Access (disks)
92device		pass			# Passthrough device (direct ATA/SCSI access)
93
94# USB support
95options 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
96device		usb
97options 	USB_DEBUG
98#options 	USB_REQ_DEBUG
99#options 	USB_VERBOSE
100#device		uhci
101#device		ohci
102device		ehci
103
104device		umass
105
106# Ethernet
107device		loop
108device		ether
109device		mii
110device		bpf
111
112device		emac
113
114# USB ethernet support, requires miibus
115device		miibus
116
117# Pinmux
118device		fdt_pinctrl
119
120# Flattened Device Tree
121options 	FDT			# Configure using FDT/DTB data
122makeoptions	MODULES_EXTRA=dtb/allwinner
123