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