xref: /freebsd/sys/arm/conf/GENERIC (revision feabce61dcd6e6b2be679e6919a0bda5ab27b19a)
1#
2# GENERICV6 -- Generic(ish) kernel config.
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$
20
21ident		GENERIC
22
23cpu		CPU_CORTEXA_MP
24cpu		CPU_CORTEXA8
25machine 	arm armv6
26makeoptions	CONF_CFLAGS="-march=armv7a"
27
28makeoptions	KERNVIRTADDR=0xc0000000
29options 	KERNVIRTADDR=0xc0000000
30
31include 	"std.armv6"
32files		"../allwinner/files.allwinner"
33files		"../allwinner/files.allwinner_up"
34files		"../allwinner/a10/files.a10"
35files		"../allwinner/a13/files.a13"
36files		"../allwinner/a20/files.a20"
37files		"../allwinner/a31/files.a31"
38files		"../allwinner/a83t/files.a83t"
39files		"../allwinner/h3/files.h3"
40files		"../broadcom/bcm2835/files.bcm2836"
41files		"../broadcom/bcm2835/files.bcm283x"
42files		"../nvidia/tegra124/files.tegra124"
43files		"../qemu/files.qemu"
44files		"../ti/files.ti"
45files		"../ti/am335x/files.am335x"
46
47options 	SOC_ALLWINNER_A10
48options 	SOC_ALLWINNER_A13
49options 	SOC_ALLWINNER_A20
50options 	SOC_ALLWINNER_A31
51options 	SOC_ALLWINNER_A31S
52options 	SOC_ALLWINNER_A83T
53options 	SOC_ALLWINNER_H3
54options 	SOC_BCM2836
55options		SOC_TI_AM335X
56
57options 	SCHED_ULE		# ULE scheduler
58options 	SMP			# Enable multiple cores
59options 	PLATFORM
60options 	PLATFORM_SMP
61options 	MULTIDELAY
62options 	LINUX_BOOT_ABI
63
64# EXT_RESOURCES pseudo devices
65options 	EXT_RESOURCES
66device		clk
67device		phy
68device		hwreset
69device		regulator
70
71# CPU frequency control
72device		cpufreq
73
74# Interrupt controller
75options 	INTRNG
76device		gic
77
78# PMU support (for CCNT).
79device		pmu
80
81# ARM Generic Timer
82device		generic_timer
83
84# MMC/SD/SDIO Card slot support
85device		sdhci			# SD controller
86device		mmc			# mmc/sd bus
87device		mmcsd			# mmc/sd flash cards
88
89# ATA controllers
90device		ahci			# AHCI-compatible SATA controllers
91#device		ata			# Legacy ATA/SATA controllers
92
93# PCI
94options 	NEW_PCIB
95device		pci
96
97# PCI NICs
98device		re			# RealTek 8139C+/8169/8169S/8110S
99
100# VirtIO
101device		virtio
102device		virtio_mmio
103device		virtio_blk
104device		vtnet
105
106# Console and misc
107device		uart
108device		uart_ns8250
109device		uart_snps
110device		pl011
111device		pty
112device		snp
113device		md			# Memory "disks"
114device		random			# Entropy device
115device		psci
116
117# I2C support
118device		iicbus
119device		iic
120device		twsi
121device		rsb			# Allwinner Reduced Serial Bus
122device		p2wi			# Allwinner Push-Pull Two Wire
123device		axp209			# AXP209 Power Management Unit
124device		axp81x			# AXP813/818 Power Management Unit
125device		bcm2835_bsc
126device		icee
127device		sy8106a			# SY8106A Buck Regulator
128device		ti_i2c
129device		am335x_pmic		# AM335x Power Management IC (TPC65217)
130device		am335x_rtc		# RTC support (power management only)
131#define 	am335x_dmtpps		# Pulse Per Second capture driver
132
133# GPIO
134device		gpio
135device		gpiobacklight
136device		gpioled
137device		gpioregulator
138
139# EVDEV support
140device		evdev			# input event device support
141options		EVDEV_SUPPORT		# evdev support in legacy drivers
142device		uinput			# install /dev/uinput cdev
143device		aw_cir
144
145# SPI
146device		spibus
147device		bcm2835_spi
148device		ti_spi
149
150# ADC support
151device		ti_adc
152
153# Watchdog support
154# If we don't enable the watchdog driver, the BealeBone could potentially
155# reboot automatically because the boot loader might have enabled the
156# watchdog.
157device		ti_wdt
158
159device		scbus			# SCSI bus (required for ATA/SCSI)
160device		da			# Direct Access (disks)
161device		cd			# CD
162device		pass			# Passthrough device (direct ATA/SCSI access)
163
164# USB support
165options 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
166device		usb
167#device		uhci
168device		ohci
169device		ehci
170device		dwcotg			# DWC OTG controller
171device		musb
172
173device		umass			# Disks/Mass storage - Requires scbus and da
174device		uhid			# "Human Interface Devices"
175device		ukbd			# Allow keyboard like HIDs to control console
176
177# Device mode support and USFS template
178device		usb_template    	# Control of the gadget
179device		usfs
180
181# Ethernet
182device		loop
183device		ether
184device		vlan			# 802.1Q VLAN support
185device		mii
186device		bpf
187
188device		emac			# 10/100 integrated EMAC controller
189device		dwc			# 10/100/1000 integrated GMAC controller
190device		awg			# 10/100/1000 integrated EMAC controller
191
192# USB ethernet support, requires miibus
193device		smcphy
194device		smsc
195device		miibus
196
197# Sound support
198device		sound
199
200# Framebuffer support
201device		vt
202device		kbdmux
203device		ums
204device		videomode
205device		hdmi
206device		vchiq
207
208# Pinmux
209device		fdt_pinctrl
210
211# TI Programmable Realtime Unit support
212device		ti_pruss
213
214# Mailbox support
215device		ti_mbox
216
217# Extensible Firmware Interface
218options 	EFI
219
220# Flattened Device Tree
221options 	FDT			# Configure using FDT/DTB data
222makeoptions	MODULES_EXTRA="dtb/allwinner dtb/nvidia dtb/rpi"
223