1298057Ssgalabov# 2298397Ssgalabov# RT3883_FDT -- Kernel configuration file for FreeBSD/MIPS RT3662 and RT3883 3298397Ssgalabov# SoCs 4298057Ssgalabov# 5298397Ssgalabov# This includes all the configurable parts of the kernel. 6298057Ssgalabov# 7298057Ssgalabov# $FreeBSD: stable/11/sys/mips/conf/RT3883_FDT 345344 2019-03-20 18:49:45Z kib $ 8298057Ssgalabov# 9298057Ssgalabov 10298057Ssgalabov#NO_UNIVERSE 11298057Ssgalabov 12298057Ssgalabov# 13298057Ssgalabov# FDT_DTS_FILE should be modified to suit the target board type. 14298057Ssgalabov# 15298057Ssgalabov#makeoptions FDT_DTS_FILE=DIR-645.dts 16298057Ssgalabov 17298057Ssgalabov# Start with a base configuration 18298397Ssgalabovinclude "../mediatek/std.mediatek" 19298057Ssgalabov 20298057Ssgalabovident RT3883 21298057Ssgalabovcpu CPU_MIPS74K 22298057Ssgalabov 23298397Ssgalabov# Don't build any modules by default 24298397Ssgalabovmakeoptions MODULES_OVERRIDE="" 25298397Ssgalabov 26298397Ssgalabov# Default rootfs device configuration, should be changed to suit target board 27298397Ssgalabovoptions ROOTDEVNAME=\"ufs:md0.uzip\" 28298397Ssgalabov 29298397Ssgalabov# Support geom_uzip(4) compressed disk images 30345344Skibdevice xz 31298397Ssgalabovoptions GEOM_UZIP 32298397Ssgalabov 33298397Ssgalabov# Support md(4) and md-based rootfs 34298397Ssgalabovdevice md 35298397Ssgalabovoptions MD_ROOT 36298397Ssgalabov 37298397Ssgalabov# Interrupt controller support 38298397Ssgalabovdevice mtk_intr_v1 39298397Ssgalabov 40298397Ssgalabov# UART device support 41298397Ssgalabovnodevice uart_ns8250 42298397Ssgalabovdevice uart_dev_mtk 43298397Ssgalabov 44298397Ssgalabov# SPI and SPI flash support 45298397Ssgalabovdevice mtk_spi_v1 46298397Ssgalabovdevice spibus 47298397Ssgalabovdevice mx25l 48298397Ssgalabov 49298397Ssgalabov# CFI support 50298397Ssgalabov#device cfi 51298397Ssgalabov#device cfid 52298397Ssgalabov 53298397Ssgalabov# GPIO and gpioled support 54298397Ssgalabovdevice mtk_gpio_v1 55298397Ssgalabovdevice gpio 56298397Ssgalabovdevice gpioled 57298397Ssgalabov 58298397Ssgalabov# USB (dwcotg) support 59298397Ssgalabovdevice usb 60298397Ssgalabovdevice mtk_usb_phy 61298397Ssgalabovdevice dwcotg 62298397Ssgalabov 63298397Ssgalabov# USB umass(4) storage and da(4) support 64298397Ssgalabovdevice umass 65298397Ssgalabovdevice da 66298397Ssgalabov 67298397Ssgalabov# CAM support, required if umass(4) is enabled above 68298397Ssgalabovdevice pass 69298397Ssgalabovdevice scbus 70298397Ssgalabov 71298397Ssgalabov# Ethernet, BPF and bridge support 72298397Ssgalabovdevice rt 73298397Ssgalabovdevice bpf 74298397Ssgalabovdevice if_bridge 75298397Ssgalabov 76298397Ssgalabov# Extres 77298397Ssgalabovdevice ext_resources 78298397Ssgalabovdevice clk 79300659Ssgalabov 80300659Ssgalabov# For now there's no etherswitch support for RT3662/RT3883 81300659Ssgalabovnodevice etherswitch 82300659Ssgalabovnodevice mtkswitch 83