1#
2# MT7620A_FDT -- Kernel configuration file for FreeBSD/MIPS MT7620A SoC
3#
4# This includes all the configurable parts of the kernel.
5#
6# $FreeBSD: stable/11/sys/mips/conf/MT7620A_FDT 345344 2019-03-20 18:49:45Z kib $
7#
8
9#NO_UNIVERSE
10
11#
12# FDT_DTS_FILE should be modified to suit the target board type.
13#
14#makeoptions 	FDT_DTS_FILE=MT7620a.dts
15
16# Start with a base configuration
17include 	"../mediatek/std.mediatek"
18
19ident 		MT7620A
20cpu 		CPU_MIPS24K
21
22# Don't build any modules by default
23makeoptions 	MODULES_OVERRIDE=""
24
25# Default rootfs device configuration, should be changed to suit target board
26options 	ROOTDEVNAME=\"ufs:md0.uzip\"
27
28# Support geom_uzip(4) compressed disk images
29device		xz
30options 	GEOM_UZIP
31
32# Support md(4) and md-based rootfs
33device 		md
34options 	MD_ROOT
35
36# Interrupt controller support
37device 		mtk_intr_v1
38
39# UART device support
40nodevice 	uart_ns8250
41device 		uart_dev_mtk
42
43# SPI and SPI flash support
44device 		mtk_spi_v1
45device 		spibus
46device 		mx25l
47
48# GPIO and gpioled support
49device 		mtk_gpio_v1
50device 		gpio
51device 		gpioled
52
53# PCI support
54device 		pci
55
56# USB (ehci, ohci) support
57device 		usb
58device 		mtk_usb_phy
59device 		ehci
60device 		ohci
61
62# USB umass(4) storage and da(4) support
63device 		umass
64device 		da
65
66# CAM support, required if umass(4) is enabled above
67device 		pass
68device 		scbus
69
70# Ethernet, BPF and bridge support
71device 		rt
72device 		bpf
73device 		if_bridge
74
75# Extres
76device 		ext_resources
77device 		clk
78