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