]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/arm/conf/GENERIC
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[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 #    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 ident           GENERIC
22
23 cpu             CPU_CORTEXA
24 cpu             CPU_MV_PJ4B
25 options         SMP_ON_UP
26 machine         arm armv7
27 makeoptions     CONF_CFLAGS="-march=armv7a"
28
29 include         "std.armv7"
30 files           "../allwinner/files.allwinner"
31 files           "../allwinner/files.allwinner_up"
32 files           "../allwinner/a10/files.a10"
33 files           "../allwinner/a13/files.a13"
34 files           "../allwinner/a20/files.a20"
35 files           "../allwinner/a31/files.a31"
36 files           "../allwinner/a33/files.a33"
37 files           "../allwinner/a83t/files.a83t"
38 files           "../allwinner/h3/files.h3"
39 files           "../broadcom/bcm2835/files.bcm2836"
40 files           "../broadcom/bcm2835/files.bcm283x"
41 files           "../freescale/imx/files.imx6"
42 files           "../mv/files.arm7"
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 files           "../xilinx/files.zynq7"
49
50 options         SOC_ALLWINNER_A10
51 options         SOC_ALLWINNER_A13
52 options         SOC_ALLWINNER_A20
53 options         SOC_ALLWINNER_A31
54 options         SOC_ALLWINNER_A31S
55 options         SOC_ALLWINNER_A33
56 options         SOC_ALLWINNER_A83T
57 options         SOC_ALLWINNER_H2PLUS
58 options         SOC_ALLWINNER_H3
59 options         SOC_BCM2836
60 options         SOC_BRCM_BCM2837
61 options         SOC_MV_ARMADA38X
62 options         SOC_MV_ARMADAXP
63 options         SOC_TI_AM335X
64 options         SOC_OMAP4
65
66 options         SCHED_ULE               # ULE scheduler
67 options         SMP                     # Enable multiple cores
68 options         PLATFORM
69 options         LINUX_BOOT_ABI
70
71 # EXT_RESOURCES pseudo devices
72 options         EXT_RESOURCES
73 device          clk
74 device          phy
75 device          hwreset
76 device          nvmem
77 device          regulator
78 device          syscon
79
80 # CPU frequency control
81 device          cpufreq
82
83 # Interrupt controller
84 device          gic
85
86 # PMU support (for CCNT).
87 device          pmu
88
89 # ARM Generic Timer
90 device          generic_timer
91 device          mpcore_timer
92
93 # MMC/SD/SDIO Card slot support
94 device          sdhci                   # SD controller
95 device          mmc                     # mmc/sd bus
96 device          mmcsd                   # mmc/sd flash cards
97
98 # ATA controllers
99 device          ahci                    # AHCI-compatible SATA controllers
100 #device         ata                     # Legacy ATA/SATA controllers
101
102 # PCI
103 options         NEW_PCIB
104 device          pci
105 device          pci_host_generic
106
107 # PCI NICs
108 device          re                      # RealTek 8139C+/8169/8169S/8110S
109
110 # VirtIO
111 device          virtio
112 device          virtio_mmio
113 device          virtio_pci
114 device          virtio_blk
115 device          vtnet
116
117 # Console and misc
118 device          uart
119 device          uart_ns8250
120 device          uart_snps
121 device          pl011
122 device          pty
123 device          snp
124 device          md                      # Memory "disks"
125 device          firmware                # firmware assist module
126 device          pl310                   # PL310 L2 cache controller
127 device          psci
128
129 # I2C support
130 device          iicbus
131 device          iic
132 device          twsi
133 device          rsb                     # Allwinner Reduced Serial Bus
134 device          p2wi                    # Allwinner Push-Pull Two Wire
135 device          axp209                  # AXP209 Power Management Unit
136 device          axp81x                  # AXP813/818 Power Management Unit
137 device          bcm2835_bsc
138 device          fsliic                  # Freescale i2c/iic
139 device          icee                    # AT24Cxxx and compatible EEPROMs
140 device          sy8106a                 # SY8106A Buck Regulator
141 device          ti_i2c
142 device          am335x_pmic             # AM335x Power Management IC (TPC65217)
143 device          am335x_rtc              # RTC support (power management only)
144 device          twl                     # TI TWLX0X0/TPS659x0 Power Management
145 device          twl_vreg                # twl voltage regulation
146 device          twl_clks                # twl external clocks
147
148 # i2c RTCs
149 device          ds1307                  # Dallas DS1307 RTC and compatible
150 device          ds13rtc                 # All Dallas/Maxim DS13xx RTCs
151 device          ds1672                  # Dallas DS1672 RTC
152 device          ds3231                  # Dallas DS3231 RTC + temperature
153 device          nxprtc                  # NXP RTCs: PCA/PFC212x PCA/PCF85xx
154 device          s35390a                 # Seiko s3539x RTCs
155
156 # GPIO
157 device          dwgpio                  # Synopsys DesignWare APB GPIO Controller
158 device          gpio
159 device          gpiobacklight
160 device          gpioled
161 device          gpioregulator
162
163 # EVDEV support
164 device          evdev                   # input event device support
165 options         EVDEV_SUPPORT           # evdev support in legacy drivers
166 device          uinput                  # install /dev/uinput cdev
167 device          aw_cir
168
169 # SPI
170 device          spibus
171 device          spigen
172 device          bcm2835_spi
173 device          mv_spi
174 device          ti_spi
175
176 # ADC support
177 device          ti_adc
178
179 # PWM
180 device          pwm
181
182 # Watchdog support
183 # If we don't enable the watchdog driver, the BealeBone could potentially
184 # reboot automatically because the boot loader might have enabled the
185 # watchdog.
186 device          ti_wdt
187 device          imxwdt                  # Watchdog. WARNING: can't be disabled!!!
188 device          aw_wdog                 # Allwinner Watchdog
189
190 device          scbus                   # SCSI bus (required for ATA/SCSI)
191 device          da                      # Direct Access (disks)
192 device          cd                      # CD
193 device          pass                    # Passthrough device (direct ATA/SCSI access)
194
195 # USB support
196 options         USB_HOST_ALIGN=64       # Align usb buffers to cache line size.
197 device          usb
198 device          uhci
199 device          ohci
200 device          ehci
201 device          xhci
202 device          dwcotg                  # DWC OTG controller
203 device          musb
204
205 device          axe                     # USB-Ethernet
206 device          umass                   # Disks/Mass storage - Requires scbus and da
207 device          uhid                    # "Human Interface Devices"
208 device          ukbd                    # Allow keyboard like HIDs to control console
209
210 # Device mode support
211 device          usb_template            # Control of the gadget
212
213 # Ethernet
214 device          loop
215 device          ether
216 device          vlan                    # 802.1Q VLAN support
217 device          bpf
218 device          mii
219 device          mdio
220 device          etherswitch
221 device          e6000sw
222
223 # Ethernet NICs that use the common MII bus controller code.
224 # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
225 device          miibus
226
227 device          awg                     # 10/100/1000 integrated EMAC controller
228 device          cpsw                    # TI Common Platform Ethernet Switch (CPSW)
229 device          cgem                    # Zynq-7000 gig ethernet device
230 device          dwc                     # 10/100/1000 integrated GMAC controller
231 device          emac                    # 10/100 integrated EMAC controller
232 device          ffec                    # Freescale Fast Ethernet Controller
233 device          neta                    # Marvell 10/100/1000 Network controller
234 device          smsc                    # SMSC LAN91C111
235
236 # Sound support
237 device          sound
238
239 # Framebuffer support
240 device          vt
241 device          kbdmux
242 device          ums
243 device          videomode
244 device          hdmi
245 device          vchiq
246
247 # Pinmux
248 device          fdt_pinctrl
249
250 # TI Programmable Realtime Unit support
251 device          ti_pruss
252
253 # Mailbox support
254 device          ti_mbox
255
256 # DMA controller
257 device          fslsdma
258 device          ti_sdma
259 device          a10_dmac
260 device          a31_dmac
261
262 # Extensible Firmware Interface
263 options         EFI
264
265 # Marvell Cryptographic Engine and Security Accelerator
266 device          cesa
267 device          crypto
268 device          cryptodev
269
270 # RTC
271 device          imx6_snvs               # IMX6 On-chip RTC
272 device          aw_rtc                  # Allwinner On-chip RTC
273
274 # EFUSE
275 device          aw_sid          # Allwinner Secure ID EFUSE
276
277 # Thermal sensors
278 device          aw_thermal      # Allwinner Thermal Sensor Controller
279
280 # Flattened Device Tree
281 options         FDT                     # Configure using FDT/DTB data
282 makeoptions     MODULES_EXTRA+="dtb/allwinner"
283 makeoptions     MODULES_EXTRA+="dtb/am335x"
284 makeoptions     MODULES_EXTRA+="dtb/imx6"
285 makeoptions     MODULES_EXTRA+="dtb/nvidia"
286 makeoptions     MODULES_EXTRA+="dtb/omap4"
287 makeoptions     MODULES_EXTRA+="dtb/rpi"
288 makeoptions     MODULES_EXTRA+="dtb/zynq"
289
290 # SOC-specific modules
291 makeoptions     MODULES_EXTRA+="allwinner"
292 makeoptions     MODULES_EXTRA+="arm_ti"
293 makeoptions     MODULES_EXTRA+="imx"
294