xref: /f-stack/freebsd/arm/conf/RPI-B (revision 22ce4aff)
1a9643ea8Slogwang#
2a9643ea8Slogwang# RPI-B -- Custom configuration for the Raspberry Pi
3a9643ea8Slogwang#
4a9643ea8Slogwang# For more information on this file, please read the config(5) manual page,
5a9643ea8Slogwang# and/or the handbook section on Kernel Configuration Files:
6a9643ea8Slogwang#
7*22ce4affSfengbojiang#    https://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
8a9643ea8Slogwang#
9a9643ea8Slogwang# The handbook is also available locally in /usr/share/doc/handbook
10a9643ea8Slogwang# if you've installed the doc distribution, otherwise always see the
11*22ce4affSfengbojiang# FreeBSD World Wide Web server (https://www.FreeBSD.org/) for the
12a9643ea8Slogwang# latest information.
13a9643ea8Slogwang#
14a9643ea8Slogwang# An exhaustive list of options and more detailed explanations of the
15a9643ea8Slogwang# device lines is also present in the ../../conf/NOTES and NOTES files.
16a9643ea8Slogwang# If you are in doubt as to the purpose or necessity of a line, check first
17a9643ea8Slogwang# in NOTES.
18a9643ea8Slogwang#
19a9643ea8Slogwang# $FreeBSD$
20a9643ea8Slogwang
21a9643ea8Slogwangident		RPI-B
22a9643ea8Slogwang
23a9643ea8Slogwanginclude 	"std.armv6"
24a9643ea8Slogwanginclude 	"../broadcom/bcm2835/std.rpi"
25a9643ea8Slogwanginclude 	"../broadcom/bcm2835/std.bcm2835"
26a9643ea8Slogwang
27a9643ea8Slogwangoptions 	SCHED_4BSD		# 4BSD scheduler
28a9643ea8Slogwangoptions 	PLATFORM
29a9643ea8Slogwang
30a9643ea8Slogwang# NFS root from boopt/dhcp
31a9643ea8Slogwang#options 	BOOTP
32a9643ea8Slogwang#options 	BOOTP_NFSROOT
33a9643ea8Slogwang#options 	BOOTP_COMPAT
34a9643ea8Slogwang#options 	BOOTP_NFSV3
35a9643ea8Slogwang#options 	BOOTP_WIRED_TO=ue0
36a9643ea8Slogwang
37a9643ea8Slogwang#options 	ROOTDEVNAME=\"ufs:mmcsd0s2\"
38a9643ea8Slogwang
39a9643ea8Slogwangdevice		bpf
40a9643ea8Slogwangdevice		loop
41a9643ea8Slogwangdevice		ether
42a9643ea8Slogwangdevice		uart
43a9643ea8Slogwangdevice		pty
44a9643ea8Slogwangdevice		snp
45a9643ea8Slogwangdevice		pl011
46a9643ea8Slogwang
47*22ce4affSfengbojiang# Device mode support
48*22ce4affSfengbojiangdevice		usb_template    	# Control of the gadget
49*22ce4affSfengbojiang
50a9643ea8Slogwang# Comment following lines for boot console on serial port
51a9643ea8Slogwangdevice		vt
52a9643ea8Slogwangdevice		kbdmux
53a9643ea8Slogwangdevice		ukbd
54a9643ea8Slogwang
55a9643ea8Slogwangdevice		sdhci
56a9643ea8Slogwangdevice		mmc
57a9643ea8Slogwangdevice		mmcsd
58a9643ea8Slogwang
59a9643ea8Slogwangdevice		gpio
60a9643ea8Slogwangdevice		gpioled
61a9643ea8Slogwang
62a9643ea8Slogwang# I2C
63a9643ea8Slogwangdevice		iic
64a9643ea8Slogwangdevice		iicbus
65a9643ea8Slogwangdevice		bcm2835_bsc
66a9643ea8Slogwang
67a9643ea8Slogwangdevice		md
68a9643ea8Slogwang
69a9643ea8Slogwang# USB support
70a9643ea8Slogwangdevice		usb
71a9643ea8Slogwangdevice		dwcotg			# DWC OTG controller
72a9643ea8Slogwang
73a9643ea8Slogwang# USB storage support
74a9643ea8Slogwangdevice		scbus
75a9643ea8Slogwangdevice		da
76a9643ea8Slogwangdevice		umass
77a9643ea8Slogwang
78a9643ea8Slogwang# USB ethernet support
79*22ce4affSfengbojiangdevice		smscphy
80a9643ea8Slogwangdevice		mii
81a9643ea8Slogwangdevice		smsc
82a9643ea8Slogwang
83a9643ea8Slogwang# SPI
84a9643ea8Slogwangdevice		spibus
85a9643ea8Slogwangdevice		bcm2835_spi
86a9643ea8Slogwang
87a9643ea8Slogwangdevice		vchiq
88a9643ea8Slogwangdevice		sound
89a9643ea8Slogwang
90*22ce4affSfengbojiangdevice		fdt_pinctrl
91*22ce4affSfengbojiang
92*22ce4affSfengbojiang# HID support
93*22ce4affSfengbojiangdevice		hid			# Generic HID support
94*22ce4affSfengbojiang
95a9643ea8Slogwang# Flattened Device Tree
96a9643ea8Slogwangoptions 	FDT			# Configure using FDT/DTB data
97a9643ea8Slogwang# Note:  DTB is normally loaded and modified by RPi boot loader, then
98a9643ea8Slogwang# handed to kernel via U-Boot and ubldr.
99a9643ea8Slogwang#options 	FDT_DTB_STATIC
100a9643ea8Slogwang#makeoptions	FDT_DTS_FILE=rpi.dts
101*22ce4affSfengbojiangmakeoptions	MODULES_EXTRA="dtb/rpi rpi_ft5406"
102