ALLWINNER revision 302915
1#
2# ALLWINNER -- Custom configuration for the Allwinner A20, A31, A31S, A83T,
3# and H3 ARM SoCs.
4#
5# For more information on this file, please read the config(5) manual page,
6# and/or the handbook section on Kernel Configuration Files:
7#
8#    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
9#
10# The handbook is also available locally in /usr/share/doc/handbook
11# if you've installed the doc distribution, otherwise always see the
12# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
13# latest information.
14#
15# An exhaustive list of options and more detailed explanations of the
16# device lines is also present in the ../../conf/NOTES and NOTES files.
17# If you are in doubt as to the purpose or necessity of a line, check first
18# in NOTES.
19#
20# $FreeBSD: stable/11/sys/arm/conf/ALLWINNER 302915 2016-07-15 21:30:19Z ian $
21
22ident		ALLWINNER
23
24include 	"std.armv6"
25include 	"../allwinner/std.allwinner"
26
27options 	INTRNG
28
29options 	SOC_ALLWINNER_A20
30options 	SOC_ALLWINNER_A31
31options 	SOC_ALLWINNER_A31S
32options 	SOC_ALLWINNER_A83T
33options 	SOC_ALLWINNER_H3
34
35options 	HZ=100
36options 	SCHED_ULE		# ULE scheduler
37options 	SMP			# Enable multiple cores
38options 	PLATFORM
39options 	PLATFORM_SMP
40options 	MULTIDELAY
41
42# NFS root from boopt/dhcp
43#options 	BOOTP
44#options 	BOOTP_NFSROOT
45#options 	BOOTP_COMPAT
46#options 	BOOTP_NFSV3
47#options 	BOOTP_WIRED_TO=dwc0
48
49# EXT_RESOURCES pseudo devices
50options 	EXT_RESOURCES
51device		clk
52device		phy
53device		hwreset
54device		regulator
55
56# Interrupt controller
57device		gic
58
59# ARM Generic Timer
60device		generic_timer
61
62# MMC/SD/SDIO Card slot support
63device		mmc			# mmc/sd bus
64device		mmcsd			# mmc/sd flash cards
65
66# ATA controllers
67device		ahci			# AHCI-compatible SATA controllers
68#device		ata			# Legacy ATA/SATA controllers
69
70# Console and misc
71device		uart
72device		uart_snps
73device		pty
74device		snp
75device		md
76device		random			# Entropy device
77
78# I2C support
79device		iicbus
80device		iic
81device		twsi
82device		rsb
83device		axp209			# AXP209 Power Management Unit
84device		axp81x			# AXP813/818 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
97#device		uhci
98device		ohci
99device		ehci
100
101device		umass
102
103# Ethernet
104device		loop
105device		ether
106device		mii
107device		bpf
108
109#device		emac			# 10/100 integrated EMAC controller
110device		dwc			# 10/100/1000 integrated GMAC controller
111device		awg			# 10/100/1000 integrated EMAC controller
112
113# USB ethernet support, requires miibus
114device		miibus
115
116# Sound support
117device		sound
118
119# Framebuffer support
120device		vt
121device		kbdmux
122device		ums
123device		ukbd
124device		videomode
125device		hdmi
126
127# Pinmux
128device		fdt_pinctrl
129
130# Flattened Device Tree
131options 	FDT			# Configure using FDT/DTB data
132makeoptions	MODULES_EXTRA=dtb/allwinner
133