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