xref: /freebsd/sys/arm/conf/GENERIC (revision 273c26a3c3bea87a241d6879abd4f991db180bf0)
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
24machine 	arm armv6
25makeoptions	CONF_CFLAGS="-march=armv7a"
26
27makeoptions	KERNVIRTADDR=0xc0000000
28options 	KERNVIRTADDR=0xc0000000
29
30include 	"std.armv6"
31files		"../allwinner/files.allwinner"
32files		"../allwinner/a20/files.a20"
33files		"../allwinner/a31/files.a31"
34files		"../allwinner/a83t/files.a83t"
35files		"../allwinner/h3/files.h3"
36files		"../broadcom/bcm2835/files.bcm2836"
37files		"../broadcom/bcm2835/files.bcm283x"
38files		"../nvidia/tegra124/files.tegra124"
39files		"../qemu/files.qemu"
40
41options 	SOC_ALLWINNER_A20
42options 	SOC_ALLWINNER_A31
43options 	SOC_ALLWINNER_A31S
44options 	SOC_ALLWINNER_A83T
45options 	SOC_ALLWINNER_H3
46options 	SOC_BCM2836
47
48options 	SCHED_ULE		# ULE scheduler
49options 	SMP			# Enable multiple cores
50options 	PLATFORM
51options 	PLATFORM_SMP
52options 	MULTIDELAY
53options 	LINUX_BOOT_ABI
54
55# EXT_RESOURCES pseudo devices
56options 	EXT_RESOURCES
57device		clk
58device		phy
59device		hwreset
60device		regulator
61
62# Interrupt controller
63options 	INTRNG
64device		gic
65
66# ARM Generic Timer
67device		generic_timer
68
69# MMC/SD/SDIO Card slot support
70device		sdhci			# SD controller
71device		mmc			# mmc/sd bus
72device		mmcsd			# mmc/sd flash cards
73
74# ATA controllers
75device		ahci			# AHCI-compatible SATA controllers
76#device		ata			# Legacy ATA/SATA controllers
77
78# PCI
79options 	NEW_PCIB
80device		pci
81
82# PCI NICs
83device		re			# RealTek 8139C+/8169/8169S/8110S
84
85# VirtIO
86device		virtio
87device		virtio_mmio
88device		virtio_blk
89device		vtnet
90
91# Console and misc
92device		uart
93device		uart_ns8250
94device		uart_snps
95device		pl011
96device		pty
97device		snp
98device		md			# Memory "disks"
99device		random			# Entropy device
100device		psci
101
102# I2C support
103device		iicbus
104device		iic
105device		twsi
106device		rsb
107device		axp209			# AXP209 Power Management Unit
108device		axp81x			# AXP813/818 Power Management Unit
109device		bcm2835_bsc
110device		icee
111
112# GPIO
113device		gpio
114device		gpioled
115
116# SPI
117device		spibus
118device		bcm2835_spi
119
120device		scbus			# SCSI bus (required for ATA/SCSI)
121device		da			# Direct Access (disks)
122device		cd			# CD
123device		pass			# Passthrough device (direct ATA/SCSI access)
124
125# USB support
126options 	USB_HOST_ALIGN=64	# Align usb buffers to cache line size.
127device		usb
128#device		uhci
129device		ohci
130device		ehci
131device		dwcotg			# DWC OTG controller
132
133device		umass			# Disks/Mass storage - Requires scbus and da
134device		uhid			# "Human Interface Devices"
135device		ukbd			# Allow keyboard like HIDs to control console
136
137# Ethernet
138device		loop
139device		ether
140device		vlan			# 802.1Q VLAN support
141device		mii
142device		bpf
143
144#device		emac			# 10/100 integrated EMAC controller
145device		dwc			# 10/100/1000 integrated GMAC controller
146device		awg			# 10/100/1000 integrated EMAC controller
147
148# USB ethernet support, requires miibus
149device		smcphy
150device		smsc
151device		miibus
152
153# Sound support
154device		sound
155
156# Framebuffer support
157device		vt
158device		kbdmux
159device		ums
160device		videomode
161device		hdmi
162device		vchiq
163
164# Pinmux
165device		fdt_pinctrl
166
167# Extensible Firmware Interface
168options 	EFI
169
170# Flattened Device Tree
171options 	FDT			# Configure using FDT/DTB data
172makeoptions	MODULES_EXTRA="dtb/allwinner dtb/rpi"
173