GENERIC64 revision 1.12
1#
2#	$NetBSD: GENERIC64,v 1.12 2018/05/05 09:55:38 jmcneill Exp $
3#
4#	GENERIC ARM (aarch64) kernel
5#
6
7include	"arch/evbarm/conf/std.generic64"
8include "arch/evbarm/conf/files.generic64"
9include	"arch/evbarm/conf/GENERIC.common"
10
11#
12# FDT files supported by this kernel - add to DTSSUBDIR and DTS as
13# appropriate
14#
15makeoptions 	DTSARCH="arm aarch64"
16makeoptions	DTSGNUARCH="arm arm64"
17makeoptions	DTSSUBDIR="allwinner broadcom nvidia"
18makeoptions	DTS="
19	bcm2837-rpi-3-b.dts
20
21	sun50i-a64-bananapi-m64.dts
22	sun50i-a64-nanopi-a64.dts
23	sun50i-a64-olinuxino.dts
24	sun50i-a64-orangepi-win.dts
25	sun50i-a64-pine64-plus.dts
26	sun50i-a64-pine64.dts
27	sun50i-a64-pinebook.dts
28	sun50i-a64-sopine-baseboard.dts
29	sun50i-a64-teres-i.dts
30
31	sun50i-h5-nanopi-neo-plus2.dts
32	sun50i-h5-nanopi-neo2.dts
33	sun50i-h5-orangepi-pc2.dts
34	sun50i-h5-orangepi-prime.dts
35	sun50i-h5-orangepi-zero-plus.dts
36	sun50i-h5-orangepi-zero-plus2.dts
37
38	sun50i-h6-pine-h64.dts
39
40	tegra210-p2371-0000.dts
41	tegra210-p2371-2180.dts
42	tegra210-p2571.dts
43	tegra210-smaug.dts
44"
45options 	CPU_CORTEXA53
46options 	CPU_CORTEXA57
47options 	SOC_BCM2837
48options 	SOC_TEGRA210
49options 	SOC_SUN50I_A64
50options 	SOC_SUN50I_H5
51options 	SOC_SUN50I_H6
52#options 	MULTIPROCESSOR
53
54pseudo-device 	openfirm	# /dev/openfirm
55
56options 	DIAGNOSTIC	# internal consistency checks
57options 	DEBUG
58#options 	LOCKDEBUG
59#options 	PMAP_DEBUG	# Enable pmap_debug_level code
60#options 	IPKDB		# remote kernel debugging
61options 	VERBOSE_INIT_ARM # verbose bootstrapping messages
62# EARLYCONS is required for early init messages from VERBOSE_INIT_ARM.
63#options 	EARLYCONS=bcm2837
64#options 	EARLYCONS=sunxi, CONSADDR=0x01c28000
65#options 	EARLYCONS=tegra, CONSADDR=0x70006000
66
67makeoptions	DEBUG="-g"	# compile full symbol table
68makeoptions	COPY_SYMTAB=1
69
70config		netbsd		root on ? type ?
71
72# Device tree support
73armfdt0		at root
74fdt*		at fdtbus?
75
76# CPUs
77cpus*		at fdt? pass 0
78cpu*		at cpus?
79
80# CPU frequency scaling
81cpufreqdt*	at cpu?
82
83# Power State Coordination Interface (PSCI)
84psci*		at fdt?
85
86fclock*		at fdt? pass 1
87ffclock*	at fdt? pass 1
88fregulator*	at fdt? pass 4
89gregulator*	at fdt? pass 4
90gpiokeys*	at fdt?
91wskbd*		at gpiokeys? console ? mux 1
92gpioleds*	at fdt?
93
94# Timer
95gtmr*		at fdt? pass 1		# ARM Generic Timer
96armgtmr0	at gtmr?
97tegratimer*	at fdt?			# Timers
98
99# Watchdog
100sunxiwdt*	at fdt?			# Allwinner watchdog
101watchdog*	at fdt?			# Broadcom BCM283x watchdog
102
103# Interrupt controller
104bcmicu*		at fdt? pass 1		# Broadcom BCM283x ICU
105tegralic*	at fdt? pass 1		# NVIDIA Tegra LIC
106gic*		at fdt? pass 1		# ARM GIC
107armgic0		at gic?
108sunxinmi*	at fdt? pass 2		# Allwinner NMI / R_INTC
109
110# Memory controller
111tegramc*	at fdt?	pass 4		# NVIDIA Tegra MC
112
113# Firmware devices
114bcmmbox*	at fdt?			# Broadcom VideoCore IV mailbox
115vcmbox*		at bcmmbox?
116
117# DMA controller
118bcmdmac*	at fdt?			# Broadcom BCM283x DMA controller
119sun6idma*	at fdt?			# Allwinner DMA controller (sun6i)
120tegraapbdma*	at fdt? pass 4		# NVIDIA Tegra APB DMA
121
122# FUSE controller
123sunxisid*	at fdt? pass 4		# Allwinner SID
124tegrafuse*	at fdt? pass 4		# NVIDIA Tegra FUSE
125
126# Power management controller
127tegrapmc*	at fdt? pass 4		# NVIDIA Tegra PMC
128
129# Clock and Reset controller
130bcmcprman*	at fdt? pass 1		# Broadcom BCM283x Clock Manager
131bcmaux*		at fdt? pass 1		# Broadcom BCM283x Aux Periph Clocks
132sun8ih3ccu*	at fdt? pass 2		# Allwinner H3/H5 CCU
133sun8ih3rccu*	at fdt? pass 2		# Allwinner H3/H5 CCU (PRCM)
134sun50ia64ccu*	at fdt? pass 2		# Allwinner A64 CCU
135sun50ia64rccu*	at fdt? pass 2		# Allwinner A64 CCU (PRCM)
136sun50ih6ccu*	at fdt? pass 2		# Allwinner H6 CCU
137sun50ih6rccu*	at fdt? pass 2		# Allwinner H6 CCU (PRCM)
138sunxiresets*	at fdt? pass 1		# Allwinner misc. resets
139sunxigates*	at fdt? pass 1		# Allwinner misc. gates
140sunxigmacclk*	at fdt? pass 2		# Allwinner GMAC MII/RGMII clock mux
141tegra210car*	at fdt? pass 3		# NVIDIA Tegra CAR (T210)
142
143# GPIO controller
144bcmgpio*	at fdt?			# Broadcom BCM283x GPIO
145sunxigpio*	at fdt? pass 3		# Allwinner GPIO
146tegragpio*	at fdt? pass 2		# NVIDIA Tegra GPIO
147gpio*		at gpiobus?
148
149# MPIO / Pinmux
150tegrapinmux*	at fdt?			# NVIDIA Tegra MPIO
151
152# XUSB PADCTL
153tegra210xpad*	at fdt?			# NVIDIA Tegra XUSB PADCTL (T210)
154tegra210xphy*	at tegra210xpad?
155
156# PCIE
157tegrapcie0	at fdt?			# NVIDIA Tegra PCIE
158pci*		at tegrapcie0
159ppb*		at pci? dev ? function ?
160pci*		at ppb?
161
162# Ethernet
163emac*		at fdt?				# Allwinner Gigabit Ethernet (EMAC)
164re*		at pci? dev ? function ?	# Realtek RTL8111GS
165
166# MII/PHY support
167exphy* 		at mii? phy ?		# 3Com internal PHYs
168gentbi* 	at mii? phy ?		# Generic Ten-Bit 1000BASE-[CLS]X PHYs
169glxtphy*	at mii? phy ?		# Level One LXT-1000 PHYs
170gphyter* 	at mii? phy ?		# NS83861 Gig-E PHY
171icsphy*		at mii? phy ?		# Integrated Circuit Systems ICS189x
172igphy*		at mii? phy ?		# Intel IGP01E1000
173ihphy*		at mii? phy ?		# Intel 82577 PHYs
174ikphy*		at mii? phy ?		# Intel 82563 PHYs
175inphy*		at mii? phy ?		# Intel 82555 PHYs
176iophy*		at mii? phy ?		# Intel 82553 PHYs
177lxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
178makphy*		at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
179nsphy*		at mii? phy ?		# NS83840 PHYs
180nsphyter*	at mii? phy ? 		# NS83843 PHYs
181pnaphy*		at mii? phy ?		# generic HomePNA PHYs
182qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
183rdcphy*		at mii? phy ?		# RDC R6040 10/100 PHY
184rgephy*		at mii? phy ?		# Realtek 8169S/8110S internal PHYs
185rlphy*		at mii? phy ?		# Realtek 8139/8201L PHYs
186sqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
187tlphy*		at mii? phy ?		# ThunderLAN PHYs
188tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
189urlphy*		at mii? phy ?		# Realtek RTL8150L internal PHYs
190ukphy*		at mii? phy ?		# generic unknown PHYs
191
192# Mini-PCIe Wireless
193#options 	ATHHAL_AR5212,ATHHAL_RF2425	# AR5BHB63
194#ath*		at pci? dev ? function ?	# Atheros IEEE 802.11
195#athn*		at pci? dev ? function ?	# Atheros IEEE 802.11
196
197# UART
198com*		at fdt?			# UART
199plcom*		at fdt?			# ARM PL011 UART
200
201# I2C controllers
202bsciic*		at fdt?			# Broadcom BCM283x Serial Control
203sunxirsb*	at fdt?			# Allwinner RSB
204sunxitwi*	at fdt?			# Allwinner TWI
205tegrai2c*	at fdt? pass 4		# NVIDIA Tegra I2C
206iic*		at i2cbus?
207
208# I2C devices
209titemp*		at iic?
210seeprom*	at iic?
211as3722pmic*	at iic?
212as3722reg*	at as3722pmic?
213axppmic*	at iic?			# X-Powers AXP Power Management IC
214axpreg*	at 	axppmic?
215max77620pmic*	at iic?
216pcf8563rtc*	at iic?			# PCF8563 RTC
217tcagpio*	at iic?
218
219# Random number generators
220bcmrng*		at fdt?			# Broadcom BCM283x RNG
221
222# RTC
223sunxirtc*	at fdt?			# Allwinner RTC
224tegrartc*	at fdt?			# NVIDIA Tegra RTC
225
226# SDMMC
227mmcpwrseq*	at fdt?			# Simple MMC power sequence provider
228sdhc*		at fdt?			# SD Host Controller Interface
229sdhost*		at fdt?			# Broadcom BCM283x SD Host Interface
230sunximmc*	at fdt?			# Allwinner SD/MMC
231sdmmc*		at sdmmcbus?
232ld0		at sdmmc0
233ld1		at sdmmc1
234ld2		at sdmmc2
235ld3		at sdmmc3
236ld*		at sdmmc?
237
238# SATA
239ahcisata*	at fdt?			# AHCI SATA
240atabus*		at ata?
241atapibus*	at atapi?
242wd*		at atabus? drive ?
243cd*		at atapibus? drive ?
244
245# SPI controllers
246bcmspi*		at fdt?			# Broadcom BCM283x SPI
247spi*		at spibus?
248
249# Audio support
250hdaudio*	at fdt?			# Intel HDA
251hdafg*		at hdaudiobus?
252options 	HDAUDIOVERBOSE
253options 	HDAUDIO_32BIT_ACCESS
254options 	HDAUDIO_ENABLE_HDMI
255options 	HDAUDIO_ENABLE_DISPLAYPORT
256sunxicodec*	at fdt?			# Allwinner audio codec
257h3codec*	at fdt?			# Allwinner H3 audio codec (analog part)
258audio*		at audiobus?
259
260spkr*		at audio?		# PC speaker (synthesized)
261
262# HDMI CEC
263tegracec0	at fdt?			# NVIDIA Tegra HDMI CEC
264hdmicec*	at hdmicecbus?
265
266# Display
267#tegradrm*	at fdt?			# NVIDIA Tegra Display
268#tegrafb*	at tegrafbbus?
269genfb*		at fdt?			# Simple Framebuffer
270wsdisplay*	at wsemuldisplaydev?
271options 	VCONS_DRAW_INTR
272options 	WSEMUL_VT100
273options 	WS_DEFAULT_FG=WSCOL_WHITE
274options 	WS_DEFAULT_BG=WSCOL_BLACK
275options 	WS_KERNEL_FG=WSCOL_GREEN
276options 	WS_KERNEL_BG=WSCOL_BLACK
277options 	WSDISPLAY_COMPAT_PCVT
278options 	WSDISPLAY_COMPAT_SYSCONS
279options 	WSDISPLAY_COMPAT_USL
280options 	WSDISPLAY_COMPAT_RAWKBD
281options 	WSDISPLAY_DEFAULTSCREENS=4
282pseudo-device	wsmux
283pseudo-device	wsfont
284
285# GPU
286#nouveau*	at fdt?			# NVIDIA GPU
287
288# Thermal throttling controller
289sunxithermal*	at fdt?			# Allwinner thermal sensor controller
290tegrasoctherm*	at fdt?			# NVIDIA Tegra SOC_THERM
291
292# USB
293sunxiusbphy*	at fdt? pass 9		# Allwinner USB PHY
294sunxiusb3phy*	at fdt? pass 9		# Allwinner USB3 PHY
295tegrausbphy*	at fdt?			# NVIDIA Tegra USB PHY
296dwctwo*		at fdt?			# Designware USB DRD
297ehci*		at fdt?			# EHCI
298motg*		at fdt?			# Mentor Graphics USB OTG
299ohci*		at fdt?			# OHCI
300xhci*		at fdt?			# XHCI
301usb*		at usbus?
302
303include "dev/usb/usbdevices.config"
304midi*		at midibus?
305
306cinclude "arch/evbarm/conf/GENERIC64.local"
307