]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/BEAGLEBONE
Import to 0.6.1
[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         INTRNG
32
33 options         HZ=100
34 options         SCHED_4BSD              # 4BSD scheduler
35 options         PLATFORM
36
37 # Debugging for use in -current
38 makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug symbols
39 options         ALT_BREAK_TO_DEBUGGER
40 #options        VERBOSE_SYSINIT         # Enable verbose sysinit messages
41 options         KDB                     # Enable kernel debugger support
42 # For minimum debugger support (stable branch) use:
43 #options        KDB_TRACE               # Print a stack trace for a panic
44 # For full debugger support use this instead:
45 options         DDB                     # Enable the kernel debugger
46 options         INVARIANTS              # Enable calls of extra sanity checking
47 options         INVARIANT_SUPPORT       # Extra sanity checks of internal structures, required by INVARIANTS
48 options         WITNESS                 # Enable checks to detect deadlocks and cycles
49 options         WITNESS_SKIPSPIN        # Don't run witness on spinlocks for speed
50 #options        DIAGNOSTIC
51
52 # NFS server support
53 #options        NFSD
54
55 # NFS root from boopt/dhcp
56 #options        BOOTP
57 #options        BOOTP_NFSROOT
58 #options        BOOTP_COMPAT
59 #options        BOOTP_NFSV3
60 #options        BOOTP_WIRED_TO=cpsw0
61
62 # Boot device is 2nd slice on MMC/SD card
63 options         ROOTDEVNAME=\"ufs:mmcsd0s2\"
64
65 # MMC/SD/SDIO Card slot support
66 device          mmc                     # mmc/sd bus
67 device          mmcsd                   # mmc/sd flash cards
68 device          sdhci                   # mmc/sd host controller
69
70 # I2C support
71 device          iicbus
72 device          iic
73 device          ti_i2c
74 device          am335x_pmic             # AM335x Power Management IC (TPC65217)
75
76 device          am335x_rtc              # RTC support (power management only)
77 #define         am335x_dmtpps           # Pulse Per Second capture driver
78
79 # Console and misc
80 device          uart
81 device          uart_ns8250
82 device          pty
83 device          snp
84 device          md
85 device          random                  # Entropy device
86
87 # GPIO
88 device          gpio
89 device          gpioled
90 device          gpiobacklight
91
92 # SPI
93 device          ti_spi
94 device          spibus
95
96 # ADC support
97 device          ti_adc
98
99 # Watchdog support
100 # If we don't enable the watchdog driver, the system could potentially
101 # reboot automatically because the boot loader might have enabled the
102 # watchdog.
103 device          ti_wdt
104
105 # TI Programmable Realtime Unit support
106 device          ti_pruss
107
108 # Mailbox support
109 device          ti_mbox
110
111 # PMU support (for CCNT).
112 device          pmu
113
114 # USB support
115 device          usb
116 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
117 options         USB_DEBUG
118 #options        USB_REQ_DEBUG
119 #options        USB_VERBOSE
120 device          musb
121 device          umass
122 device          scbus                   # SCSI bus (required for ATA/SCSI)
123 device          da                      # Direct Access (disks)
124
125 # Ethernet
126 device          loop
127 device          ether
128 device          mii
129 device          smscphy
130 device          cpsw
131 device          bpf
132
133 # USB Ethernet support, requires miibus
134 device          miibus
135 device          axe                     # ASIX Electronics USB Ethernet
136
137 # Device mode support and USFS template
138 device          usb_template            # Control of the gadget
139 device          usfs
140
141 # Pinmux
142 device          fdt_pinctrl
143
144 # Flattened Device Tree
145 options         FDT                     # Configure using FDT/DTB data
146
147 # Comment following lines for boot console on serial port
148 device          vt
149 device          videomode
150 device          hdmi
151 device          ums
152 device          ukbd
153 device          kbdmux