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