1# $NetBSD $
2#
3# GENERIC ARMv5 kernel
4#
5
6include	"arch/evbarm/conf/std.generic_v5"
7include "arch/evbarm/conf/files.generic_v5"
8include	"arch/evbarm/conf/GENERIC.common"
9
10options 	CPU_ARM9E
11
12options 	SOC_IMX23
13
14#options 	DIAGNOSTIC	# internal consistency checks
15#options 	DEBUG
16#options 	LOCKDEBUG
17#options 	UVMHIST		# kernhist for uvm/pmap subsystems
18
19# These options enable verbose messages for several subsystems.
20# Warning, these may compile large string tables into the kernel!
21# options 	USBVERBOSE	# verbose USB device autoconfig messages
22
23# Heartbeat checks
24options 	HEARTBEAT
25options 	HEARTBEAT_MAX_PERIOD_DEFAULT=15
26
27options 	MSGBUFSIZE=32768
28
29#options 	VERBOSE_INIT_ARM # verbose bootstrapping messages
30
31# EARLYCONS is required for early init messages from VERBOSE_INIT_ARM.
32#options 	EARLYCONS=imx23, CONSADDR=0x80070000
33
34# Kernel Undefined Behavior Sanitizer (kUBSan). Use UBSAN_ALWAYS_FATAL
35# if you want panics instead of warnings.
36#options 	KUBSAN			# mandatory
37#options 	UBSAN_ALWAYS_FATAL	# optional
38
39# Kernel Address Sanitizer (kASan). The quarantine is optional and can
40# help KASAN find more use-after-frees. Use KASAN_PANIC if you want panics
41# instead of warnings.
42#makeoptions 	KASAN=1		# mandatory
43#options 	KASAN		# mandatory
44#options 	POOL_QUARANTINE	# optional
45#options 	KASAN_PANIC	# optional
46
47makeoptions 	DEBUG="-g"	# compile full symbol table
48makeoptions 	COPY_SYMTAB=1
49
50config		netbsd		root on ? type ?
51
52# Device tree support
53armfdt0		at root
54simplebus*	at fdt? pass 0
55
56# CPUs
57cpus*		at fdt? pass 0
58cpu*		at fdt? pass 0
59
60# interrupt handlers
61imx23icoll* 		at fdt? pass 1	# imx23 interrupt driver
62
63# Timers
64imx23timrot* 		at fdt? pass 2		# imx23 timer
65
66# DMA controller
67imx23apbdma* 	at fdt? pass 1			# NXP i.MX23 DMA controller
68
69# Clock Controllers
70imx23clkctrl*	at fdt? pass 1			# i.MX23 clock controller
71
72# general FDT devices
73fclock* 	at fdt? pass 1
74ffclock* 	at fdt? pass 1
75fregulator* 	at fdt? pass 5
76gregulator* 	at fdt? pass 4
77gpiokeys* 	at fdt?
78wskbd* 		at gpiokeys? console ? mux 1
79gpioleds* 	at fdt?
80
81# SDMMC
82imx23mmc* 	at fdt? pass 2			# i.MX23 SD/MMC
83sdmmc* 		at sdmmcbus?
84ld0 		at sdmmc0
85ld1 		at sdmmc1
86ld2 		at sdmmc2
87ld3 		at sdmmc3
88ld* 		at sdmmc?
89
90# Performance monitors
91pseudo-device 	tprof
92
93# GPIOs
94imx23pctl* 			at fdt?	pass 1		# imx23 pin control+gpio
95gpio* 					at gpiobus?
96
97# UART
98com* 		at fdt?	pass 4		# UART
99plcom* 		at fdt?	pass 4		# ARM PL011 UART
100
101# Various
102imx23digctl* at fdt? pass 1		# i.MX23 digctl block
103imx23rtc* at fdt? pass 2			# i.MX23 rtc block
104
105# I2C - needed for the USB subsystem
106iicmux* 	at fdt? pass 5		# I2C mux virtual controllers
107iic* 		at i2cbus?
108
109# USB
110imx23usbphy*	at fdt? pass 1	# i.MX23 usb phy
111
112imxusbc* 	at fdt? pass 6 # i.MX23 usb controller
113
114ehci* 		at imxusbc?
115
116usb*		at ehci?
117uhub*		at usb?
118uhub*		at uhub? port ?
119ugen*		at uhub? port ?
120
121include "dev/usb/usbdevices.config"
122
123midi*		at midibus?
124
125# Audio
126imx23digfilt* at fdt? pass 6 # i.MX23 audio output
127audio* 		at audiobus?
128
129# MII/PHY support
130atphy* 		at mii? phy ?		# Attansic/Atheros PHYs
131exphy* 		at mii? phy ?		# 3Com internal PHYs
132gentbi* 	at mii? phy ?		# Generic Ten-Bit 1000BASE-[CLS]X PHYs
133glxtphy* 	at mii? phy ?		# Level One LXT-1000 PHYs
134gphyter* 	at mii? phy ?		# NS83861 Gig-E PHY
135icsphy* 	at mii? phy ?		# Integrated Circuit Systems ICS189x
136igphy* 		at mii? phy ?		# Intel IGP01E1000
137ihphy* 		at mii? phy ?		# Intel 82577 PHYs
138ikphy* 		at mii? phy ?		# Intel 82563 PHYs
139inphy* 		at mii? phy ?		# Intel 82555 PHYs
140iophy* 		at mii? phy ?		# Intel 82553 PHYs
141lxtphy* 	at mii? phy ?		# Level One LXT-970 PHYs
142makphy* 	at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
143micphy*		at mii? phy ?		# Micrel KSZ[89]xxx PHYs
144nsphy* 		at mii? phy ?		# NS83840 PHYs
145nsphyter* 	at mii? phy ?		# NS83843 PHYs
146pnaphy* 	at mii? phy ?		# generic HomePNA PHYs
147qsphy* 		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
148rdcphy* 	at mii? phy ?		# RDC R6040 10/100 PHY
149rgephy* 	at mii? phy ?		# Realtek 8169S/8110S internal PHYs
150rlphy* 		at mii? phy ?		# Realtek 8139/8201L PHYs
151smscphy* 	at mii? phy ?		# SMSC LAN87xx PHYs
152sqphy* 		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
153tlphy* 		at mii? phy ?		# ThunderLAN PHYs
154tqphy* 		at mii? phy ?		# TDK Semiconductor PHYs
155urlphy* 	at mii? phy ?		# Realtek RTL8150L internal PHYs
156ukphy* 		at mii? phy ?		# generic unknown PHYs
157
158# Pull in optional local configuration - always at end
159cinclude	"arch/evbarm/conf/GENERIC_V5.local"
160