]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/BEAGLEBONE
Finish merging from head, messed up in previous attempt
[FreeBSD/FreeBSD.git] / sys / arm / conf / BEAGLEBONE
1 #
2 # BEAGLEBONE -- Custom configuration for the BeagleBone ARM development
3 # platforms, check out http://www.beagleboard.org/bone and
4 # http://www.beagleboard.org/black. This kernel config file is used for the
5 # original BeagleBone and the BeagleBone Black.
6 #
7 # For more information on this file, please read the config(5) manual page,
8 # and/or the handbook section on Kernel Configuration Files:
9 #
10 #    http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
11 #
12 # The handbook is also available locally in /usr/share/doc/handbook
13 # if you've installed the doc distribution, otherwise always see the
14 # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
15 # latest information.
16 #
17 # An exhaustive list of options and more detailed explanations of the
18 # device lines is also present in the ../../conf/NOTES and NOTES files.
19 # If you are in doubt as to the purpose or necessity of a line, check first
20 # in NOTES.
21 #
22 # $FreeBSD$
23
24 ident           BEAGLEBONE
25
26 include         "std.armv6"
27 include         "../ti/am335x/std.am335x"
28
29 makeoptions     MODULES_EXTRA="dtb/am335x am335x_dmtpps"
30
31 options         HZ=100
32 options         SCHED_4BSD              # 4BSD scheduler
33 options         PLATFORM
34
35 # Debugging for use in -current
36 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
37 options         ALT_BREAK_TO_DEBUGGER
38 #options        VERBOSE_SYSINIT         # Enable verbose sysinit messages
39 options         KDB                     # Enable kernel debugger support
40 # For minimum debugger support (stable branch) use:
41 #options        KDB_TRACE               # Print a stack trace for a panic
42 # For full debugger support use this instead:
43 options         DDB                     # Enable the kernel debugger
44 options         INVARIANTS              # Enable calls of extra sanity checking
45 options         INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
46 options         WITNESS                 # Enable checks to detect deadlocks and cycles
47 options         WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
48 #options        DIAGNOSTIC
49
50 # NFS server support
51 #options        NFSD
52
53 # NFS root from boopt/dhcp
54 #options        BOOTP
55 #options        BOOTP_NFSROOT
56 #options        BOOTP_COMPAT
57 #options        BOOTP_NFSV3
58 #options        BOOTP_WIRED_TO=cpsw0
59
60 # Boot device is 2nd slice on MMC/SD card
61 options         ROOTDEVNAME=\"ufs:mmcsd0s2\"
62
63 # MMC/SD/SDIO Card slot support
64 device          mmc                     # mmc/sd bus
65 device          mmcsd                   # mmc/sd flash cards
66 device          sdhci                   # mmc/sd host controller
67
68 # I2C support
69 device          iicbus
70 device          iic
71 device          ti_i2c
72 device          am335x_pmic             # AM335x Power Management IC (TPC65217)
73
74 device          am335x_rtc              # RTC support (power management only)
75 #define         am335x_dmtpps           # Pulse Per Second capture driver
76
77 # Console and misc
78 device          uart
79 device          uart_ns8250
80 device          pty
81 device          snp
82 device          md
83 device          random                  # Entropy device
84
85 # GPIO
86 device          gpio
87 device          gpioled
88
89 # ADC support
90 device          ti_adc
91
92 # Watchdog support
93 # If we don't enable the watchdog driver, the system could potentially
94 # reboot automatically because the boot loader might have enabled the
95 # watchdog.
96 device          ti_wdt
97
98 # TI Programmable Realtime Unit support
99 device          ti_pruss
100
101 # Mailbox support
102 device          ti_mbox
103
104 # USB support
105 device          usb
106 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
107 options         USB_DEBUG
108 #options        USB_REQ_DEBUG
109 #options        USB_VERBOSE
110 device          musb
111 device          umass
112 device          scbus                   # SCSI bus (required for ATA/SCSI)
113 device          da                      # Direct Access (disks)
114
115 # Ethernet
116 device          loop
117 device          ether
118 device          mii
119 device          smscphy
120 device          cpsw
121 device          bpf
122
123 # USB Ethernet support, requires miibus
124 device          miibus
125 device          axe                     # ASIX Electronics USB Ethernet
126
127 # Device mode support and USFS template
128 device          usb_template            # Control of the gadget
129 device          usfs
130
131 # Pinmux
132 device          fdt_pinctrl
133
134 # Flattened Device Tree
135 options         FDT                     # Configure using FDT/DTB data
136
137 # Comment following lines for boot console on serial port
138 device          vt
139 device          videomode
140 device          hdmi
141 device          ums
142 device          ukbd
143 device          kbdmux