1298057Ssgalabov#
2298057Ssgalabov# MT7620N_FDT -- Kernel configuration file for FreeBSD/MIPS MT7620N SoC
3298057Ssgalabov#
4298397Ssgalabov# This includes all the configurable parts of the kernel.
5298057Ssgalabov#
6298057Ssgalabov# $FreeBSD: stable/11/sys/mips/conf/MT7620N_FDT 345344 2019-03-20 18:49:45Z kib $
7298057Ssgalabov#
8298057Ssgalabov
9298057Ssgalabov#NO_UNIVERSE
10298057Ssgalabov
11298057Ssgalabov#
12298057Ssgalabov# FDT_DTS_FILE should be modified to suit the target board type.
13298057Ssgalabov#
14298057Ssgalabov#makeoptions 	FDT_DTS_FILE=WRTNODE.dts
15298057Ssgalabov
16298057Ssgalabov# Start with a base configuration
17298397Ssgalabovinclude 	"../mediatek/std.mediatek"
18298057Ssgalabov
19298057Ssgalabovident 		MT7620N
20298057Ssgalabovcpu 		CPU_MIPS24K
21298057Ssgalabov
22298397Ssgalabov# Don't build any modules by default
23298397Ssgalabovmakeoptions 	MODULES_OVERRIDE=""
24298397Ssgalabov
25298397Ssgalabov# Default rootfs device configuration, should be changed to suit target board
26298397Ssgalabovoptions 	ROOTDEVNAME=\"ufs:md0.uzip\"
27298397Ssgalabov
28298397Ssgalabov# Support geom_uzip(4) compressed disk images
29345344Skibdevice		xz
30298397Ssgalabovoptions 	GEOM_UZIP
31298397Ssgalabov
32298397Ssgalabov# Support md(4) and md-based rootfs
33298397Ssgalabovdevice 		md
34298397Ssgalabovoptions 	MD_ROOT
35298397Ssgalabov
36298397Ssgalabov# Interrupt controller support
37298397Ssgalabovdevice 		mtk_intr_v1
38298397Ssgalabov
39298397Ssgalabov# UART device support
40298397Ssgalabovnodevice 	uart_ns8250
41298397Ssgalabovdevice 		uart_dev_mtk
42298397Ssgalabov
43298397Ssgalabov# SPI and SPI flash support
44298397Ssgalabovdevice 		mtk_spi_v1
45298397Ssgalabovdevice 		spibus
46298397Ssgalabovdevice 		mx25l
47298397Ssgalabov
48298397Ssgalabov# GPIO and gpioled support
49298397Ssgalabovdevice 		mtk_gpio_v1
50298397Ssgalabovdevice 		gpio
51298397Ssgalabovdevice 		gpioled
52298397Ssgalabov
53298397Ssgalabov# USB (ehci, ohci) support
54298397Ssgalabovdevice 		usb
55298397Ssgalabovdevice 		mtk_usb_phy
56298397Ssgalabovdevice 		ehci
57298397Ssgalabovdevice 		ohci
58298397Ssgalabov
59298397Ssgalabov# USB umass(4) storage and da(4) support
60298397Ssgalabovdevice 		umass
61298397Ssgalabovdevice 		da
62298397Ssgalabov
63298397Ssgalabov# CAM support, required if umass(4) is enabled above
64298397Ssgalabovdevice 		pass
65298397Ssgalabovdevice 		scbus
66298397Ssgalabov
67298397Ssgalabov# Ethernet, BPF and bridge support
68298397Ssgalabovdevice 		rt
69298397Ssgalabovdevice 		bpf
70298397Ssgalabovdevice 		if_bridge
71298397Ssgalabov
72298397Ssgalabov# Extres
73298397Ssgalabovdevice 		ext_resources
74298397Ssgalabovdevice 		clk
75