1# Kernel configuration for Atmel AT91SAM9G20EK Rev B. development card
2# Many after-market boards follow its conventions.
3#
4# For more information on this file, please read the handbook section on
5# 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: releng/11.0/sys/arm/conf/SAM9G20EK 302915 2016-07-15 21:30:19Z ian $
20
21ident		SAM9G20EK
22
23include 	"std.arm"
24include 	"../at91/std.sam9g20ek"
25
26#options		FDT
27#options 	FDT_DTB_STATIC
28#makeoptions	FDT_DTS_FILE=at91sam9g20ek.dts
29
30options 	EARLY_PRINTF
31options 	SOCDEV_PA=0xfc000000
32options 	SOCDEV_VA=0xdc000000
33
34#To statically compile in device wiring instead of /boot/device.hints
35hints		"SAM9G20EK.hints"
36makeoptions	MODULES_OVERRIDE=""
37
38options 	SCHED_4BSD		# 4BSD scheduler
39options 	INET			# InterNETworking
40#options 	INET6			# IPv6 communications protocols
41options 	TMPFS			# Efficient memory filesystem
42options 	FFS			# Berkeley Fast Filesystem
43#options 	SOFTUPDATES		# Enable FFS soft updates support
44#options 	UFS_ACL			# Support for access control lists
45#options 	UFS_DIRHASH		# Improve performance on big directories
46#options 	MD_ROOT			# MD is a potential root device
47#options 	MD_ROOT_SIZE=4096	# 4MB ram disk
48options 	NANDFS			# NAND file system
49options 	NFSCL			# Network Filesystem Client
50options 	NFSD			# Network Filesystem Server
51options 	NFSLOCKD		# Network Lock Manager
52#options 	NFS_ROOT		# NFS usable as /, requires NFSCL
53#options 	MSDOSFS			# MSDOS Filesystem
54#options 	CD9660			# ISO 9660 Filesystem
55#options 	PROCFS			# Process filesystem (requires PSEUDOFS)
56#options 	PSEUDOFS		# Pseudo-filesystem framework
57options 	GEOM_PART_BSD		# BSD partition scheme
58options 	GEOM_PART_MBR		# MBR partition scheme
59#options 	SCSI_DELAY=5000		# Delay (in ms) before probing SCSI
60#options 	KTRACE			# ktrace(1) support
61options 	SYSVSHM			# SYSV-style shared memory
62options 	SYSVMSG			# SYSV-style message queues
63options 	SYSVSEM			# SYSV-style semaphores
64options 	_KPOSIX_PRIORITY_SCHEDULING # Posix P1003_1B real-time extensions
65
66# NFS root from boopt/dhcp
67#options 	BOOTP
68#options 	BOOTP_NFSROOT
69#options 	BOOTP_COMPAT
70#options 	BOOTP_NFSV3
71#options 	BOOTP_WIRED_TO=ate0
72
73# s3 because s1 is reserved for the DOS parittions sometimes needed to
74# boot off SD cards on the G20 and newer chips. s2 is reserved for
75# nanobsd's config partition. s3 and s4 are for the ping-pong upgrade
76# path.
77options 	ROOTDEVNAME=\"ufs:/dev/mmcsd0s3a\"
78
79# kernel/memory size reduction
80options 	MUTEX_NOINLINE
81options 	NO_FFS_SNAPSHOT
82options 	NO_SWAPPING
83options 	NO_SYSCTL_DESCR
84options 	RWLOCK_NOINLINE
85
86# The `bpf' device enables the Berkeley Packet Filter.
87# Be aware of the administrative consequences of enabling this!
88# Note that 'bpf' is required for DHCP.
89device		bpf			# Berkeley packet filter
90
91# Ethernet
92device		mii			# Minimal MII support
93#device		ate			# Atmel AT91 Ethernet driver
94#options 	AT91_ATE_USE_RMII
95device		macb			# Atmel AT91 Ethernet driver
96options 	AT91_MACB_USE_RMII
97
98# I2C
99device		at91_twi		# Atmel AT91 Two-wire Interface
100device		iic			# I2C generic I/O device driver
101device		iicbus			# I2C bus system
102device		icee
103
104# MMC/SD
105device		at91_mci		# Atmel AT91 Multimedia Card Interface
106options 	AT91_MCI_HAS_4WIRE
107options 	AT91_MCI_SLOT_B
108device		mmc			# MMC/SD bus
109device		mmcsd			# MMC/SD memory card
110
111# DataFlash
112# NOTE: SPI DataFlash and mci/mmc/mmcsd have hardware
113# 	confilict on this card. Use one or the other.
114#       see board_sam9g20ek.c
115#device		at91_spi		# Atmel AT91 Serial Peripheral Interface
116#device		spibus			# SPI bus
117#device		at45d			# at45db642 and maybe others
118
119# Pseudo devices.
120device		loop			# Network loopback
121device		random			# Entropy device
122device		ether			# Ethernet support
123device		md			# Memory "disks"
124
125# SCSI peripherals
126device		scbus			# SCSI bus (required for ATA/SCSI)
127device		da			# Direct Access (disks)
128device		cd			# CD
129device		pass			# Passthrough device (direct ATA/SCSI access)
130
131# Serial (COM) ports
132device		uart			# Multi-uart driver
133
134# USB support
135device		ohci			# OHCI USB interface
136device		usb			# USB Bus (required)
137device		umass			# Disks/Mass storage - Requires scbus and da
138device		uhid			# "Human Interface Devices"
139#device		ulpt			# Printer
140#device		udbp			# USB Double Bulk Pipe devices
141
142# USB Ethernet, requires miibus
143#device		miibus
144#device		aue			# ADMtek USB Ethernet
145#device		axe			# ASIX Electronics USB Ethernet
146#device		cdce			# Generic USB over Ethernet
147#device		cue			# CATC USB Ethernet
148#device		kue			# Kawasaki LSI USB Ethernet
149#device		rue			# RealTek RTL8150 USB Ethernet
150#device		udav			# Davicom DM9601E USB
151
152# USB Wireless
153#device		rum			# Ralink Technology RT2501USB wireless NICs
154#device		uath			# Atheros AR5523 wireless NICs
155#device		ural			# Ralink Technology RT2500USB wireless NICs
156#device		zyd			# ZyDAS zd1211/zd1211b wireless NICs
157
158# Wireless NIC cards
159#device		wlan			# 802.11 support
160#device		wlan_wep		# 802.11 WEP support
161#device		wlan_ccmp		# 802.11 CCMP support
162#device		wlan_tkip		# 802.11 TKIP support
163#device		wlan_amrr		# AMRR transmit rate control algorithm
164
165# watchdog
166device		at91_wdt		# Atmel AT91 Watchdog Timer
167
168# NAND Flash - Reference design has Samsung 256MB but others possible
169device		nand			# NAND interface on CS3
170