2 # GENERIC -- Generic(ish) kernel config.
4 # For more information on this file, please read the config(5) manual page,
5 # and/or the handbook section on Kernel Configuration Files:
7 # https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config
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
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
26 makeoptions CONF_CFLAGS="-march=armv7a"
29 files "../allwinner/files.allwinner"
30 files "../allwinner/files.allwinner_up"
31 files "../allwinner/a10/files.a10"
32 files "../allwinner/a13/files.a13"
33 files "../allwinner/a20/files.a20"
34 files "../allwinner/a31/files.a31"
35 files "../allwinner/a33/files.a33"
36 files "../allwinner/a83t/files.a83t"
37 files "../allwinner/h3/files.h3"
38 files "../broadcom/bcm2835/files.bcm2836"
39 files "../broadcom/bcm2835/files.bcm283x"
40 files "../freescale/imx/files.imx6"
41 files "../mv/files.arm7"
42 files "../nvidia/tegra124/files.tegra124"
43 files "../qemu/files.qemu"
44 files "../rockchip/files.rk32xx"
45 files "../xilinx/files.zynq7"
47 options SOC_ALLWINNER_A10
48 options SOC_ALLWINNER_A13
49 options SOC_ALLWINNER_A20
50 options SOC_ALLWINNER_A31
51 options SOC_ALLWINNER_A31S
52 options SOC_ALLWINNER_A33
53 options SOC_ALLWINNER_A83T
54 options SOC_ALLWINNER_H2PLUS
55 options SOC_ALLWINNER_H3
57 options SOC_BRCM_BCM2837
58 options SOC_MV_ARMADA38X
59 options SOC_MV_ARMADAXP
61 options SCHED_ULE # ULE scheduler
62 options SMP # Enable multiple cores
64 options LINUX_BOOT_ABI
74 # CPU frequency control
77 # Interrupt controller
81 # PMU support (for CCNT).
88 # MMC/SD/SDIO Card slot support
90 device sdhci # SD controller
91 device mmc # mmc/sd bus
92 device mmcsd # mmc/sd flash cards
95 device ahci # AHCI-compatible SATA controllers
96 #device ata # Legacy ATA/SATA controllers
100 device pci_host_generic
103 device re # RealTek 8139C+/8169/8169S/8110S
119 device md # Memory "disks"
120 device firmware # firmware assist module
121 device pl310 # PL310 L2 cache controller
128 device rsb # Allwinner Reduced Serial Bus
129 device p2wi # Allwinner Push-Pull Two Wire
130 device axp209 # AXP209 Power Management Unit
131 device axp81x # AXP813/818 Power Management Unit
133 device fsliic # Freescale i2c/iic
134 device icee # AT24Cxxx and compatible EEPROMs
135 device sy8106a # SY8106A Buck Regulator
138 device ds1307 # Dallas DS1307 RTC and compatible
139 device ds13rtc # All Dallas/Maxim DS13xx RTCs
140 device ds1672 # Dallas DS1672 RTC
141 device ds3231 # Dallas DS3231 RTC + temperature
142 device nxprtc # NXP RTCs: PCA/PFC212x PCA/PCF85xx
143 device s35390a # Seiko s3539x RTCs
146 device dwgpio # Synopsys DesignWare APB GPIO Controller
153 device evdev # input event device support
154 options EVDEV_SUPPORT # evdev support in legacy drivers
155 device uinput # install /dev/uinput cdev
163 device zy7_qspi # Xilinx Zynq QSPI controller
169 device imxwdt # Watchdog. WARNING: can't be disabled!!!
170 device aw_wdog # Allwinner Watchdog
172 device scbus # SCSI bus (required for ATA/SCSI)
173 device da # Direct Access (disks)
175 device pass # Passthrough device (direct ATA/SCSI access)
178 options USB_HOST_ALIGN=64 # Align usb buffers to cache line size.
184 device dwcotg # DWC OTG controller
187 device axe # USB-Ethernet
188 device umass # Disks/Mass storage - Requires scbus and da
189 device usbhid # USB HID Transport
190 device uhid # "Human Interface Devices"
191 device hkbd # Allow keyboard like HIDs to control console
192 device ukbd # Allow keyboard like HIDs to control console
194 # Device mode support
195 device usb_template # Control of the gadget
200 device vlan # 802.1Q VLAN support
207 # Ethernet NICs that use the common MII bus controller code.
208 # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
211 device awg # 10/100/1000 integrated EMAC controller
212 device cgem # Cadence GEM Gigabit Ethernet device
213 device dwc # 10/100/1000 integrated GMAC controller
214 device emac # 10/100 integrated EMAC controller
215 device ffec # Freescale Fast Ethernet Controller
216 device neta # Marvell 10/100/1000 Network controller
217 device smsc # SMSC LAN91C111
222 # Framebuffer support
230 # IMX6 HDMI Controller
243 # Extensible Firmware Interface
246 # Marvell Cryptographic Engine and Security Accelerator
252 device imx6_snvs # IMX6 On-chip RTC
253 device aw_rtc # Allwinner On-chip RTC
256 device aw_sid # Allwinner Secure ID EFUSE
259 device aw_thermal # Allwinner Thermal Sensor Controller
262 device hid # Generic HID support
263 device hidbus # Generic HID Bus
265 # Flattened Device Tree
266 options FDT # Configure using FDT/DTB data
267 makeoptions MODULES_EXTRA+="dtb/allwinner"
268 makeoptions MODULES_EXTRA+="dtb/imx6"
269 makeoptions MODULES_EXTRA+="dtb/nvidia"
270 makeoptions MODULES_EXTRA+="dtb/rockchip"
271 makeoptions MODULES_EXTRA+="dtb/rpi"
272 makeoptions MODULES_EXTRA+="dtb/zynq"
274 # SOC-specific modules
275 makeoptions MODULES_EXTRA+="allwinner"
276 makeoptions MODULES_EXTRA+="imx"