0f2c633164
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
52 lines
998 B
Plaintext
52 lines
998 B
Plaintext
#
|
|
# Rockchip SoC support
|
|
#
|
|
|
|
# SoC support
|
|
options SOC_ROCKCHIP_RK3328
|
|
options SOC_ROCKCHIP_RK3399
|
|
|
|
# GPIO / PINCTRL
|
|
device dwgpio # Synopsys DesignWare APB GPIO Controller
|
|
device rk_gpio # RockChip GPIO Controller
|
|
device rk_pinctrl # RockChip Pinmux Controller
|
|
|
|
# I2C
|
|
device rk_i2c # RockChip I2C controller
|
|
device fan53555 # Fairchild Semi FAN53555/SYR82x Regulator
|
|
|
|
# Power management controllers
|
|
device rk805 # RockChip RK805 PMIC
|
|
|
|
# SPI
|
|
device rk_spi # RockChip SPI controller
|
|
|
|
# PWM
|
|
device rk_pwm
|
|
|
|
# Serial (COM) ports
|
|
device uart_snps
|
|
|
|
# Ethernet NICs
|
|
device dwc_rk # Rockchip Designware
|
|
|
|
# IO Domains
|
|
device rk_iodomain
|
|
|
|
# USB support
|
|
device rk_usb2phy # Rockchip USB2PHY
|
|
device rk_typec_phy # Rockchip TypeC PHY
|
|
device dwc3 # Synopsys DWC controller
|
|
device rk_dwc3 # Rockchip DWC3 controller
|
|
|
|
# MMC/SD/SDIO Card slot support
|
|
device sdhci
|
|
device dwmmc
|
|
device rk_dwmmc
|
|
device rk_emmcphy
|
|
|
|
options FDT
|
|
|
|
# DTBs
|
|
makeoptions MODULES_EXTRA+="dtb/rockchip"
|