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: releng/11.0/sys/arm/conf/A10 302915 2016-07-15 21:30:19Z ian $
20254056Sganbold
21295464Sandrewident		A10
22254056Sganbold
23282576Sandrewinclude 	"std.armv6"
24295464Sandrewinclude 	"../allwinner/std.a10"
25254056Sganbold
26298625Smanuoptions 	INTRNG
27298625Smanu
28295711Sandrewoptions 	SOC_ALLWINNER_A10
29295711Sandrew
30254056Sganboldoptions 	HZ=100
31295464Sandrewoptions 	SCHED_4BSD		# 4BSD scheduler
32294698Sandrewoptions 	PLATFORM
33298854Sandrewoptions 	MULTIDELAY
34254056Sganbold
35276003Sandrew# NFS root from boopt/dhcp
36276003Sandrew#options 	BOOTP
37254056Sganbold#options 	BOOTP_NFSROOT
38254056Sganbold#options 	BOOTP_COMPAT
39254056Sganbold#options 	BOOTP_NFSV3
40295464Sandrew#options 	BOOTP_WIRED_TO=emac0
41254056Sganbold
42297627Sjmcneill# EXT_RESOURCES pseudo devices
43297627Sjmcneilloptions		EXT_RESOURCES
44297627Sjmcneilldevice		clk
45297627Sjmcneilldevice		phy
46297627Sjmcneilldevice		hwreset
47297627Sjmcneilldevice		regulator
48297627Sjmcneill
49276003Sandrew# MMC/SD/SDIO Card slot support
50283253Sloosdevice		mmc			# mmc/sd bus
51283253Sloosdevice		mmcsd			# mmc/sd flash cards
52254056Sganbold
53254056Sganbold# ATA controllers
54285090Sloosdevice		ahci			# AHCI-compatible SATA controllers
55275962Sandrew#device		ata			# Legacy ATA/SATA controllers
56254056Sganbold
57254056Sganbold# Console and misc
58254056Sganbolddevice		uart
59297496Sjmcneilldevice		uart_snps
60254056Sganbolddevice		pty
61254056Sganbolddevice		snp
62254056Sganbolddevice		md
63254056Sganbolddevice		random			# Entropy device
64254056Sganbold
65254056Sganbold# I2C support
66295626Sandrewdevice		iicbus
67295626Sandrewdevice		iic
68295626Sandrewdevice		twsi
69295635Sandrewdevice		axp209			# AXP209 Power Management Unit
70254056Sganbold
71254056Sganbold# GPIO
72254056Sganbolddevice		gpio
73287316Sloosdevice		gpioled
74254056Sganbold
75270912Simpdevice		scbus			# SCSI bus (required for ATA/SCSI)
76254056Sganbolddevice		da			# Direct Access (disks)
77285090Sloosdevice		pass			# Passthrough device (direct ATA/SCSI access)
78254056Sganbold
79254056Sganbold# USB support
80261572Sianoptions 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
81254056Sganbolddevice		usb
82275962Sandrew#device		uhci
83300068Smanudevice		ohci
84254056Sganbolddevice		ehci
85254056Sganbold
86254056Sganbolddevice		umass
87254056Sganbold
88254056Sganbold# Ethernet
89254056Sganbolddevice		loop
90254056Sganbolddevice		ether
91254056Sganbolddevice		mii
92254056Sganbolddevice		bpf
93254056Sganbold
94295464Sandrewdevice		emac
95262711Sganbold
96254056Sganbold# USB ethernet support, requires miibus
97254056Sganbolddevice		miibus
98254056Sganbold
99295711Sandrew# Pinmux
100295711Sandrewdevice		fdt_pinctrl
101295711Sandrew
102254056Sganbold# Flattened Device Tree
103276003Sandrewoptions 	FDT			# Configure using FDT/DTB data
104281799Sloosmakeoptions	MODULES_EXTRA=dtb/allwinner
105