cfbff08319
* Target module have ic plus etherswitch ip175c. * Also add etherswitch support code on rt driver. Reviewed by: mizhka Differential Revision: https://reviews.freebsd.org/D10336
78 lines
1.4 KiB
Plaintext
78 lines
1.4 KiB
Plaintext
#
|
|
# RT2880_FDT -- Kernel configuration file for FreeBSD/MIPS RT2880 SoC
|
|
#
|
|
# This includes all the configurable parts of the kernel.
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
#NO_UNIVERSE
|
|
|
|
#
|
|
# FDT_DTS_FILE should be modified to suit the target board type.
|
|
#
|
|
#makeoptions FDT_DTS_FILE=MZK-W04N-XX.dts
|
|
|
|
# Start with a base configuration
|
|
include "../mediatek/std.rt2880"
|
|
|
|
ident RT2880
|
|
cpu CPU_MIPS4KC
|
|
|
|
# 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_map
|
|
options GEOM_UZIP
|
|
|
|
# Support md(4) and md-based rootfs
|
|
device md
|
|
options MD_ROOT
|
|
|
|
# Interrupt controller support
|
|
device mtk_intr_v1
|
|
|
|
# UART device support
|
|
nodevice uart_ns8250
|
|
device uart_dev_mtk
|
|
|
|
# SPI and SPI flash support
|
|
device mtk_spi_v1
|
|
device spibus
|
|
device mx25l
|
|
|
|
# CFI support
|
|
device cfi
|
|
device cfid
|
|
|
|
# GPIO and gpioled support
|
|
device mtk_gpio_v1
|
|
device gpio
|
|
device gpioled
|
|
|
|
# USB (dwcotg) support
|
|
device usb
|
|
device mtk_usb_phy
|
|
device dwcotg
|
|
|
|
# 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
|
|
options EXT_RESOURCES
|
|
device clk
|