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