1298057Ssgalabov#
2298057Ssgalabov# MT7620A_FDT -- Kernel configuration file for FreeBSD/MIPS MT7620A SoC
3298057Ssgalabov#
4298397Ssgalabov# This includes all the configurable parts of the kernel.
5298057Ssgalabov#
6298057Ssgalabov# $FreeBSD: stable/11/sys/mips/conf/MT7620A_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=MT7620a.dts
15298057Ssgalabov
16298057Ssgalabov# Start with a base configuration
17298397Ssgalabovinclude 	"../mediatek/std.mediatek"
18298057Ssgalabov
19298057Ssgalabovident 		MT7620A
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# PCI support
54298397Ssgalabovdevice 		pci
55298397Ssgalabov
56298397Ssgalabov# USB (ehci, ohci) support
57298397Ssgalabovdevice 		usb
58298397Ssgalabovdevice 		mtk_usb_phy
59298397Ssgalabovdevice 		ehci
60298397Ssgalabovdevice 		ohci
61298397Ssgalabov
62298397Ssgalabov# USB umass(4) storage and da(4) support
63298397Ssgalabovdevice 		umass
64298397Ssgalabovdevice 		da
65298397Ssgalabov
66298397Ssgalabov# CAM support, required if umass(4) is enabled above
67298397Ssgalabovdevice 		pass
68298397Ssgalabovdevice 		scbus
69298397Ssgalabov
70298397Ssgalabov# Ethernet, BPF and bridge support
71298397Ssgalabovdevice 		rt
72298397Ssgalabovdevice 		bpf
73298397Ssgalabovdevice 		if_bridge
74298397Ssgalabov
75298397Ssgalabov# Extres
76298397Ssgalabovdevice 		ext_resources
77298397Ssgalabovdevice 		clk
78