xref: /freebsd/sys/arm/conf/RPI-B (revision d93a896e)
1#
2# RPI-B -- Custom configuration for the Raspberry Pi
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		RPI-B
22
23include 	"std.armv6"
24include 	"../broadcom/bcm2835/std.rpi"
25include 	"../broadcom/bcm2835/std.bcm2835"
26
27options 	INTRNG
28
29options 	SCHED_4BSD		# 4BSD scheduler
30options 	PLATFORM
31
32# NFS root from boopt/dhcp
33#options 	BOOTP
34#options 	BOOTP_NFSROOT
35#options 	BOOTP_COMPAT
36#options 	BOOTP_NFSV3
37#options 	BOOTP_WIRED_TO=ue0
38
39#options 	ROOTDEVNAME=\"ufs:mmcsd0s2\"
40
41device		bpf
42device		loop
43device		ether
44device		uart
45device		pty
46device		snp
47device		pl011
48
49# Comment following lines for boot console on serial port
50device		vt
51device		kbdmux
52device		ukbd
53
54device		sdhci
55device		mmc
56device		mmcsd
57
58device		gpio
59device		gpioled
60
61# I2C
62device		iic
63device		iicbus
64device		bcm2835_bsc
65
66device		md
67device		random			# Entropy device
68
69# USB support
70device		usb
71device		dwcotg			# DWC OTG controller
72
73# USB storage support
74device		scbus
75device		da
76device		umass
77
78# USB ethernet support
79device		smcphy
80device		mii
81device		smsc
82
83# SPI
84device		spibus
85device		bcm2835_spi
86
87device		vchiq
88device		sound
89
90# Flattened Device Tree
91options 	FDT			# Configure using FDT/DTB data
92# Note:  DTB is normally loaded and modified by RPi boot loader, then
93# handed to kernel via U-Boot and ubldr.
94#options 	FDT_DTB_STATIC
95#makeoptions	FDT_DTS_FILE=rpi.dts
96makeoptions	MODULES_EXTRA="dtb/rpi rpi_ft5406"
97