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