xref: /freebsd/sys/arm/conf/GENERIC (revision 74ca7bf1d4c7173d5575ba168bc4b5f6d181ff5a)
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#    https://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 (https://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
24options 	SMP_ON_UP
25machine 	arm armv7
26makeoptions	CONF_CFLAGS="-march=armv7a"
27
28include 	"std.armv7"
29files		"../allwinner/files.allwinner"
30files		"../allwinner/files.allwinner_up"
31files		"../allwinner/a10/files.a10"
32files		"../allwinner/a13/files.a13"
33files		"../allwinner/a20/files.a20"
34files		"../allwinner/a31/files.a31"
35files		"../allwinner/a33/files.a33"
36files		"../allwinner/a83t/files.a83t"
37files		"../allwinner/h3/files.h3"
38files		"../broadcom/bcm2835/files.bcm2836"
39files		"../broadcom/bcm2835/files.bcm283x"
40files		"../freescale/imx/files.imx6"
41files		"../nvidia/tegra124/files.tegra124"
42files		"../qemu/files.qemu"
43files		"../ti/files.ti"
44files		"../ti/am335x/files.am335x"
45files		"../ti/omap4/files.omap4"
46files		"../xilinx/files.zynq7"
47
48options 	SOC_ALLWINNER_A10
49options 	SOC_ALLWINNER_A13
50options 	SOC_ALLWINNER_A20
51options 	SOC_ALLWINNER_A31
52options 	SOC_ALLWINNER_A31S
53options 	SOC_ALLWINNER_A33
54options 	SOC_ALLWINNER_A83T
55options 	SOC_ALLWINNER_H2PLUS
56options 	SOC_ALLWINNER_H3
57options 	SOC_BCM2836
58options		SOC_TI_AM335X
59options		SOC_OMAP4
60
61options 	SCHED_ULE		# ULE scheduler
62options 	SMP			# Enable multiple cores
63options 	PLATFORM
64options 	LINUX_BOOT_ABI
65
66# EXT_RESOURCES pseudo devices
67options 	EXT_RESOURCES
68device		clk
69device		phy
70device		hwreset
71device		regulator
72device		syscon
73
74# CPU frequency control
75device		cpufreq
76
77# Interrupt controller
78options 	INTRNG
79device		gic
80
81# PMU support (for CCNT).
82device		pmu
83
84# ARM Generic Timer
85device		generic_timer
86device		mpcore_timer
87
88# MMC/SD/SDIO Card slot support
89device		sdhci			# SD controller
90device		mmc			# mmc/sd bus
91device		mmcsd			# mmc/sd flash cards
92
93# ATA controllers
94device		ahci			# AHCI-compatible SATA controllers
95#device		ata			# Legacy ATA/SATA controllers
96
97# PCI
98options 	NEW_PCIB
99device		pci
100device		pci_host_generic
101
102# PCI NICs
103device		re			# RealTek 8139C+/8169/8169S/8110S
104
105# VirtIO
106device		virtio
107device		virtio_mmio
108device		virtio_pci
109device		virtio_blk
110device		vtnet
111
112# Console and misc
113device		uart
114device		uart_ns8250
115device		uart_snps
116device		pl011
117device		pty
118device		snp
119device		md			# Memory "disks"
120device		random			# Entropy device
121device		firmware		# firmware assist module
122device		pl310			# PL310 L2 cache controller
123device		psci
124
125# I2C support
126device		iicbus
127device		iic
128device		twsi
129device		rsb			# Allwinner Reduced Serial Bus
130device		p2wi			# Allwinner Push-Pull Two Wire
131device		axp209			# AXP209 Power Management Unit
132device		axp81x			# AXP813/818 Power Management Unit
133device		bcm2835_bsc
134device		fsliic			# Freescale i2c/iic
135device		icee			# AT24Cxxx and compatible EEPROMs
136device		sy8106a			# SY8106A Buck Regulator
137device		ti_i2c
138device		am335x_pmic		# AM335x Power Management IC (TPC65217)
139device		am335x_rtc		# RTC support (power management only)
140device		twl			# TI TWLX0X0/TPS659x0 Power Management
141device		twl_vreg		# twl voltage regulation
142device		twl_clks		# twl external clocks
143
144# i2c RTCs
145device		ds1307			# Dallas DS1307 RTC and compatible
146device		ds13rtc			# All Dallas/Maxim DS13xx RTCs
147device		ds1672			# Dallas DS1672 RTC
148device		ds3231			# Dallas DS3231 RTC + temperature
149device		nxprtc			# NXP RTCs: PCA/PFC212x PCA/PCF85xx
150device		s35390a			# Seiko s3539x RTCs
151
152# GPIO
153device		gpio
154device		gpiobacklight
155device		gpioled
156device		gpioregulator
157
158# EVDEV support
159device		evdev			# input event device support
160options		EVDEV_SUPPORT		# evdev support in legacy drivers
161device		uinput			# install /dev/uinput cdev
162device		aw_cir
163
164# SPI
165device		spibus
166device		spigen
167device		bcm2835_spi
168device		ti_spi
169
170# ADC support
171device		ti_adc
172
173# Watchdog support
174# If we don't enable the watchdog driver, the BealeBone could potentially
175# reboot automatically because the boot loader might have enabled the
176# watchdog.
177device		ti_wdt
178device		imxwdt			# Watchdog. WARNING: can't be disabled!!!
179
180device		scbus			# SCSI bus (required for ATA/SCSI)
181device		da			# Direct Access (disks)
182device		cd			# CD
183device		pass			# Passthrough device (direct ATA/SCSI access)
184
185# USB support
186options 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
187device		usb
188#device		uhci
189device		ohci
190device		ehci
191device		dwcotg			# DWC OTG controller
192device		musb
193
194device		axe			# USB-Ethernet
195device		umass			# Disks/Mass storage - Requires scbus and da
196device		uhid			# "Human Interface Devices"
197device		ukbd			# Allow keyboard like HIDs to control console
198
199# Device mode support
200device		usb_template    	# Control of the gadget
201
202# Ethernet
203device		loop
204device		ether
205device		vlan			# 802.1Q VLAN support
206device		bpf
207
208# Ethernet NICs that use the common MII bus controller code.
209# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
210device		miibus
211
212device		awg			# 10/100/1000 integrated EMAC controller
213device		cpsw			# TI Common Platform Ethernet Switch (CPSW)
214device		cgem			# Zynq-7000 gig ethernet device
215device		dwc			# 10/100/1000 integrated GMAC controller
216device		emac			# 10/100 integrated EMAC controller
217device		ffec			# Freescale Fast Ethernet Controller
218device		smsc			# SMSC LAN91C111
219
220# Sound support
221device		sound
222
223# Framebuffer support
224device		vt
225device		kbdmux
226device		ums
227device		videomode
228device		hdmi
229device		vchiq
230
231# Pinmux
232device		fdt_pinctrl
233
234# TI Programmable Realtime Unit support
235device		ti_pruss
236
237# Mailbox support
238device		ti_mbox
239
240# DMA controller
241device		fslsdma
242device		ti_sdma
243
244# Extensible Firmware Interface
245options 	EFI
246
247# Flattened Device Tree
248options 	FDT			# Configure using FDT/DTB data
249makeoptions	MODULES_EXTRA="dtb/allwinner dtb/am335x dtb/imx6 dtb/nvidia dtb/rpi dtb/zynq dtb/omap4 dtb/overlays"
250