]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/GENERIC
Merge ^/head r321383 through r322397.
[FreeBSD/FreeBSD.git] / sys / arm / conf / GENERIC
1 #
2 # GENERICV6 -- Generic(ish) kernel config.
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
21 ident           GENERIC
22
23 cpu             CPU_CORTEXA
24 options         SMP_ON_UP
25 machine         arm armv6
26 makeoptions     CONF_CFLAGS="-march=armv7a"
27
28 makeoptions     KERNVIRTADDR=0xc0000000
29 options         KERNVIRTADDR=0xc0000000
30
31 include         "std.armv6"
32 files           "../allwinner/files.allwinner"
33 files           "../allwinner/files.allwinner_up"
34 files           "../allwinner/a10/files.a10"
35 files           "../allwinner/a13/files.a13"
36 files           "../allwinner/a20/files.a20"
37 files           "../allwinner/a31/files.a31"
38 files           "../allwinner/a33/files.a33"
39 files           "../allwinner/a83t/files.a83t"
40 files           "../allwinner/h3/files.h3"
41 files           "../broadcom/bcm2835/files.bcm2836"
42 files           "../broadcom/bcm2835/files.bcm283x"
43 files           "../nvidia/tegra124/files.tegra124"
44 files           "../qemu/files.qemu"
45 files           "../ti/files.ti"
46 files           "../ti/am335x/files.am335x"
47 files           "../ti/omap4/files.omap4"
48
49 options         SOC_ALLWINNER_A10
50 options         SOC_ALLWINNER_A13
51 options         SOC_ALLWINNER_A20
52 options         SOC_ALLWINNER_A31
53 options         SOC_ALLWINNER_A31S
54 options         SOC_ALLWINNER_A33
55 options         SOC_ALLWINNER_A83T
56 options         SOC_ALLWINNER_H2PLUS
57 options         SOC_ALLWINNER_H3
58 options         SOC_BCM2836
59 options         SOC_TI_AM335X
60 options         SOC_OMAP4
61
62 options         SCHED_ULE               # ULE scheduler
63 options         SMP                     # Enable multiple cores
64 options         PLATFORM
65 options         LINUX_BOOT_ABI
66
67 # EXT_RESOURCES pseudo devices
68 options         EXT_RESOURCES
69 device          clk
70 device          phy
71 device          hwreset
72 device          regulator
73
74 # CPU frequency control
75 device          cpufreq
76
77 # Interrupt controller
78 options         INTRNG
79 device          gic
80
81 # PMU support (for CCNT).
82 device          pmu
83
84 # ARM Generic Timer
85 device          generic_timer
86 device          mpcore_timer
87
88 # MMC/SD/SDIO Card slot support
89 device          sdhci                   # SD controller
90 device          mmc                     # mmc/sd bus
91 device          mmcsd                   # mmc/sd flash cards
92
93 # ATA controllers
94 device          ahci                    # AHCI-compatible SATA controllers
95 #device         ata                     # Legacy ATA/SATA controllers
96
97 # PCI
98 options         NEW_PCIB
99 device          pci
100
101 # PCI NICs
102 device          re                      # RealTek 8139C+/8169/8169S/8110S
103
104 # VirtIO
105 device          virtio
106 device          virtio_mmio
107 device          virtio_blk
108 device          vtnet
109
110 # Console and misc
111 device          uart
112 device          uart_ns8250
113 device          uart_snps
114 device          pl011
115 device          pty
116 device          snp
117 device          md                      # Memory "disks"
118 device          random                  # Entropy device
119 device          pl310                   # PL310 L2 cache controller
120 device          psci
121
122 # I2C support
123 device          iicbus
124 device          iic
125 device          twsi
126 device          rsb                     # Allwinner Reduced Serial Bus
127 device          p2wi                    # Allwinner Push-Pull Two Wire
128 device          axp209                  # AXP209 Power Management Unit
129 device          axp81x                  # AXP813/818 Power Management Unit
130 device          bcm2835_bsc
131 device          icee                    # AT24Cxxx and compatible EEPROMs
132 device          sy8106a                 # SY8106A Buck Regulator
133 device          ti_i2c
134 device          am335x_pmic             # AM335x Power Management IC (TPC65217)
135 device          am335x_rtc              # RTC support (power management only)
136 device          twl                     # TI TWLX0X0/TPS659x0 Power Management
137 device          twl_vreg                # twl voltage regulation
138 device          twl_clks                # twl external clocks
139
140 # i2c RTCs
141 device          ds1307                  # Dallas DS1307 RTC and compatible
142 device          ds1672                  # Dallas DS1672 RTC
143 device          ds3231                  # Dallas DS3231 RTC + temperature
144 device          nxprtc                  # NXP RTCs: PCA/PFC212x PCA/PCF85xx
145
146 # GPIO
147 device          gpio
148 device          gpiobacklight
149 device          gpioled
150 device          gpioregulator
151
152 # EVDEV support
153 device          evdev                   # input event device support
154 options         EVDEV_SUPPORT           # evdev support in legacy drivers
155 device          uinput                  # install /dev/uinput cdev
156 device          aw_cir
157
158 # SPI
159 device          spibus
160 device          spigen
161 device          bcm2835_spi
162 device          ti_spi
163
164 # ADC support
165 device          ti_adc
166
167 # Watchdog support
168 # If we don't enable the watchdog driver, the BealeBone could potentially
169 # reboot automatically because the boot loader might have enabled the
170 # watchdog.
171 device          ti_wdt
172
173 device          scbus                   # SCSI bus (required for ATA/SCSI)
174 device          da                      # Direct Access (disks)
175 device          cd                      # CD
176 device          pass                    # Passthrough device (direct ATA/SCSI access)
177
178 # USB support
179 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
180 device          usb
181 #device         uhci
182 device          ohci
183 device          ehci
184 device          dwcotg                  # DWC OTG controller
185 device          musb
186
187 device          umass                   # Disks/Mass storage - Requires scbus and da
188 device          uhid                    # "Human Interface Devices"
189 device          ukbd                    # Allow keyboard like HIDs to control console
190
191 # Device mode support
192 device          usb_template            # Control of the gadget
193
194 # Ethernet
195 device          loop
196 device          ether
197 device          vlan                    # 802.1Q VLAN support
198 device          bpf
199
200 # Ethernet NICs that use the common MII bus controller code.
201 # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
202 device          miibus
203
204 device          awg                     # 10/100/1000 integrated EMAC controller
205 device          cpsw                    # TI Common Platform Ethernet Switch (CPSW)
206 device          dwc                     # 10/100/1000 integrated GMAC controller
207 device          emac                    # 10/100 integrated EMAC controller
208 device          smsc                    # SMSC LAN91C111
209
210 # Sound support
211 device          sound
212
213 # Framebuffer support
214 device          vt
215 device          kbdmux
216 device          ums
217 device          videomode
218 device          hdmi
219 device          vchiq
220
221 # Pinmux
222 device          fdt_pinctrl
223
224 # TI Programmable Realtime Unit support
225 device          ti_pruss
226
227 # Mailbox support
228 device          ti_mbox
229
230 # DMA controller
231 device          ti_sdma
232
233 # Extensible Firmware Interface
234 options         EFI
235
236 # Flattened Device Tree
237 options         FDT                     # Configure using FDT/DTB data
238 makeoptions     MODULES_EXTRA="dtb/allwinner dtb/am335x dtb/nvidia dtb/rpi dtb/omap4"