opnsense-src/sys/arm64/conf/std.marvell
Emmanuel Vadot 0f2c633164 arm64: Add per SoC family kernel config
There is multiple reason for this :
- This makes it easier to see which driver is needed for each SoC
- This makes it easier to create a custom config for one SoC
- This really reduce boot time (which some people might want)

Some explaination about the files :
- std.arm64 contains all standard kernel option
- std.dev contains all the standard kernel devices
- std.<soc> contains all drivers needed to boot on this SoC family
- <SOC> includes std.arm64, std.dev and std.<soc>
- GENERIC includes std.arm64, std.dev and all std.<soc>

Sponsored by:	Diablotin Systems
MFC After:	2 months
Reviewed by:	mmel, cognet, imp
Differential Revision:	      https://reviews.freebsd.org/D30474
2021-07-18 16:11:08 +02:00

58 lines
1.3 KiB
Text

#
# Marvell SoC support
#
# SoC support
options SOC_MARVELL_8K
# GPIO / PINCTRL
device a37x0_gpio # Marvell Armada 37x0 GPIO controller
device mv_gpio # Marvell GPIO controller
device mvebu_pinctrl # Marvell Pinmux Controller
# I2C
device a37x0_iic # Armada 37x0 I2C controller
device twsi # Allwinner/Marvell I2C controller
# Interrupt controllers
device mv_cp110_icu # Marvell CP110 ICU
device mv_ap806_gicp # Marvell AP806 GICP
device mv_ap806_sei # Marvell AP806 SEI
# Real-time clock support
device mv_rtc # Marvell Real-time Clock
# Crypto accelerators
device safexcel # Inside Secure EIP-97
# Thermal sensors
device mv_thermal # Marvell Thermal Sensor Controller
# SPI
device a37x0_spi # Marvell Armada 37x0 SPI Controller
# Serial (COM) ports
device uart_mvebu # Armada 3700 UART driver
device uart_ns8250 # ns8250-type UART driver
device uart_snps
# Ethernet NICs
device neta # Marvell Armada 370/38x/XP/3700 NIC
# Etherswitch devices
device etherswitch # Enable etherswitch support
device miiproxy # Required for etherswitch
device e6000sw # Marvell mv88e6085 based switches
# USB support
device ehci_mv # Marvell EHCI USB interface
# MMC/SD/SDIO Card slot support
device sdhci
device sdhci_xenon # Marvell Xenon SD/MMC controller
options FDT
device acpi
# DTBs
makeoptions MODULES_EXTRA+="dtb/mv"