2016-04-15 15:20:41 +00:00
|
|
|
#
|
|
|
|
# MT7621_FDT -- Kernel configuration file for FreeBSD/MIPS MT7621 SoC
|
|
|
|
#
|
2016-04-21 07:40:03 +00:00
|
|
|
# This includes all the configurable parts of the kernel.
|
2016-04-15 15:20:41 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
#NO_UNIVERSE
|
|
|
|
|
|
|
|
#
|
|
|
|
# FDT_DTS_FILE should be modified to suit the target board type.
|
|
|
|
#
|
2016-04-21 07:40:03 +00:00
|
|
|
#makeoptions FDT_DTS_FILE=WITI.dts
|
2016-04-15 15:20:41 +00:00
|
|
|
|
|
|
|
# Start with a base configuration
|
2016-04-21 07:40:03 +00:00
|
|
|
include "../mediatek/std.mediatek"
|
2016-04-15 15:20:41 +00:00
|
|
|
|
|
|
|
ident MT7621
|
|
|
|
cpu CPU_MIPS1004K
|
|
|
|
|
2016-04-21 07:40:03 +00:00
|
|
|
# Don't build any modules by default
|
|
|
|
makeoptions MODULES_OVERRIDE=""
|
|
|
|
|
|
|
|
# Default rootfs device configuration, should be changed to suit target board
|
|
|
|
options ROOTDEVNAME=\"ufs:md0.uzip\"
|
|
|
|
|
|
|
|
# Support geom_uzip(4) compressed disk images
|
|
|
|
device geom_uzip
|
|
|
|
options GEOM_UZIP
|
|
|
|
|
|
|
|
# Support md(4) and md-based rootfs
|
|
|
|
device md
|
|
|
|
options MD_ROOT
|
|
|
|
|
|
|
|
# Interrupt controller support
|
|
|
|
device mtk_intr_gic
|
|
|
|
|
|
|
|
# UART device support is compiled in when uart_ns8250 is selected (default)
|
|
|
|
|
|
|
|
# SPI and SPI flash support
|
|
|
|
device mtk_spi_v2
|
|
|
|
device spibus
|
|
|
|
device mx25l
|
|
|
|
|
|
|
|
# GPIO and gpioled support
|
|
|
|
device mtk_gpio_v2
|
|
|
|
device gpio
|
|
|
|
device gpioled
|
|
|
|
|
|
|
|
# PCI support
|
|
|
|
device pci
|
|
|
|
|
|
|
|
# USB (ehci, ohci) support
|
|
|
|
device usb
|
|
|
|
device xhci
|
|
|
|
|
|
|
|
# USB umass(4) storage and da(4) support
|
|
|
|
device umass
|
|
|
|
device da
|
|
|
|
|
|
|
|
# CAM support, required if umass(4) is enabled above
|
|
|
|
device pass
|
|
|
|
device scbus
|
|
|
|
|
|
|
|
# Ethernet, BPF and bridge support
|
|
|
|
device rt
|
|
|
|
device bpf
|
|
|
|
device if_bridge
|
|
|
|
|
|
|
|
# Extres
|
2017-03-12 07:09:50 +00:00
|
|
|
options EXT_RESOURCES
|
2016-04-21 07:40:03 +00:00
|
|
|
device clk
|