1#
2# MT7620N_FDT -- Kernel configuration file for FreeBSD/MIPS MT7620N SoC
3#
4# This includes all the configurable parts of the kernel.
5#
6# $FreeBSD: stable/11/sys/mips/conf/MT7620N_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=WRTNODE.dts
15
16# Start with a base configuration
17include 	"../mediatek/std.mediatek"
18
19ident 		MT7620N
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# USB (ehci, ohci) support
54device 		usb
55device 		mtk_usb_phy
56device 		ehci
57device 		ohci
58
59# USB umass(4) storage and da(4) support
60device 		umass
61device 		da
62
63# CAM support, required if umass(4) is enabled above
64device 		pass
65device 		scbus
66
67# Ethernet, BPF and bridge support
68device 		rt
69device 		bpf
70device 		if_bridge
71
72# Extres
73device 		ext_resources
74device 		clk
75