GENERIC64 revision 1.8
1#
2#	$NetBSD: GENERIC64,v 1.8 2018/05/02 11:02:42 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?
108
109# Memory controller
110tegramc*	at fdt?	pass 4		# NVIDIA Tegra MC
111
112# Firmware devices
113bcmmbox*	at fdt?			# Broadcom VideoCore IV mailbox
114vcmbox*		at bcmmbox?
115
116# DMA controller
117bcmdmac*	at fdt?			# Broadcom BCM283x DMA controller
118sun6idma*	at fdt?			# Allwinner DMA controller (sun6i)
119tegraapbdma*	at fdt? pass 4		# NVIDIA Tegra APB DMA
120
121# FUSE controller
122sunxisid*	at fdt? pass 4		# Allwinner SID
123tegrafuse*	at fdt? pass 4		# NVIDIA Tegra FUSE
124
125# Power management controller
126tegrapmc*	at fdt? pass 4		# NVIDIA Tegra PMC
127
128# Clock and Reset controller
129bcmcprman*	at fdt? pass 1		# Broadcom BCM283x Clock Manager
130bcmaux*		at fdt? pass 1		# Broadcom BCM283x Aux Periph Clocks
131sun8ih3ccu*	at fdt? pass 2		# Allwinner H3/H5 CCU
132sun8ih3rccu*	at fdt? pass 2		# Allwinner H3/H5 CCU (PRCM)
133sun50ia64ccu*	at fdt? pass 2		# Allwinner A64 CCU
134sun50ih6ccu*	at fdt? pass 2		# Allwinner H6 CCU
135sun50ih6rccu*	at fdt? pass 2		# Allwinner H6 CCU (PRCM)
136sunxiresets*	at fdt? pass 1		# Allwinner misc. resets
137sunxigates*	at fdt? pass 1		# Allwinner misc. gates
138sunxigmacclk*	at fdt? pass 2		# Allwinner GMAC MII/RGMII clock mux
139tegra210car*	at fdt? pass 3		# NVIDIA Tegra CAR (T210)
140
141# GPIO controller
142bcmgpio*	at fdt?			# Broadcom BCM283x GPIO
143sunxigpio*	at fdt? pass 3		# Allwinner GPIO
144tegragpio*	at fdt? pass 2		# NVIDIA Tegra GPIO
145gpio*		at gpiobus?
146
147# MPIO / Pinmux
148tegrapinmux*	at fdt?			# NVIDIA Tegra MPIO
149
150# XUSB PADCTL
151tegra210xpad*	at fdt?			# NVIDIA Tegra XUSB PADCTL (T210)
152tegra210xphy*	at tegra210xpad?
153
154# PCIE
155tegrapcie0	at fdt?			# NVIDIA Tegra PCIE
156pci*		at tegrapcie0
157ppb*		at pci? dev ? function ?
158pci*		at ppb?
159
160# Ethernet
161emac*		at fdt?				# Allwinner Gigabit Ethernet (EMAC)
162re*		at pci? dev ? function ?	# Realtek RTL8111GS
163
164# MII/PHY support
165exphy* 		at mii? phy ?		# 3Com internal PHYs
166gentbi* 	at mii? phy ?		# Generic Ten-Bit 1000BASE-[CLS]X PHYs
167glxtphy*	at mii? phy ?		# Level One LXT-1000 PHYs
168gphyter* 	at mii? phy ?		# NS83861 Gig-E PHY
169icsphy*		at mii? phy ?		# Integrated Circuit Systems ICS189x
170igphy*		at mii? phy ?		# Intel IGP01E1000
171ihphy*		at mii? phy ?		# Intel 82577 PHYs
172ikphy*		at mii? phy ?		# Intel 82563 PHYs
173inphy*		at mii? phy ?		# Intel 82555 PHYs
174iophy*		at mii? phy ?		# Intel 82553 PHYs
175lxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
176makphy*		at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
177nsphy*		at mii? phy ?		# NS83840 PHYs
178nsphyter*	at mii? phy ? 		# NS83843 PHYs
179pnaphy*		at mii? phy ?		# generic HomePNA PHYs
180qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
181rdcphy*		at mii? phy ?		# RDC R6040 10/100 PHY
182rgephy*		at mii? phy ?		# Realtek 8169S/8110S internal PHYs
183rlphy*		at mii? phy ?		# Realtek 8139/8201L PHYs
184sqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
185tlphy*		at mii? phy ?		# ThunderLAN PHYs
186tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
187urlphy*		at mii? phy ?		# Realtek RTL8150L internal PHYs
188ukphy*		at mii? phy ?		# generic unknown PHYs
189
190# Mini-PCIe Wireless
191#options 	ATHHAL_AR5212,ATHHAL_RF2425	# AR5BHB63
192#ath*		at pci? dev ? function ?	# Atheros IEEE 802.11
193#athn*		at pci? dev ? function ?	# Atheros IEEE 802.11
194
195# UART
196com*		at fdt?			# UART
197plcom*		at fdt?			# ARM PL011 UART
198
199# I2C controllers
200bsciic*		at fdt?			# Broadcom BCM283x Serial Control
201sunxirsb*	at fdt?			# Allwinner RSB
202sunxitwi*	at fdt?			# Allwinner TWI
203tegrai2c*	at fdt? pass 4		# NVIDIA Tegra I2C
204iic*		at i2cbus?
205
206# I2C devices
207titemp*		at iic?
208seeprom*	at iic?
209as3722pmic*	at iic?
210as3722reg*	at as3722pmic?
211max77620pmic*	at iic?
212pcf8563rtc*	at iic?			# PCF8563 RTC
213tcagpio*	at iic?
214
215# Random number generators
216bcmrng*		at fdt?			# Broadcom BCM283x RNG
217
218# RTC
219sunxirtc*	at fdt?			# Allwinner RTC
220tegrartc*	at fdt?			# NVIDIA Tegra RTC
221
222# SDMMC
223mmcpwrseq*	at fdt?			# Simple MMC power sequence provider
224sdhc*		at fdt?			# SD Host Controller Interface
225sdhost*		at fdt?			# Broadcom BCM283x SD Host Interface
226sunximmc*	at fdt?			# Allwinner SD/MMC
227sdmmc*		at sdmmcbus?
228ld0		at sdmmc0
229ld1		at sdmmc1
230ld2		at sdmmc2
231ld3		at sdmmc3
232ld*		at sdmmc?
233
234# SATA
235ahcisata*	at fdt?			# AHCI SATA
236atabus*		at ata?
237atapibus*	at atapi?
238wd*		at atabus? drive ?
239cd*		at atapibus? drive ?
240
241# SPI controllers
242bcmspi*		at fdt?			# Broadcom BCM283x SPI
243spi*		at spibus?
244
245# Audio support
246hdaudio*	at fdt?			# Intel HDA
247hdafg*		at hdaudiobus?
248options 	HDAUDIOVERBOSE
249options 	HDAUDIO_32BIT_ACCESS
250options 	HDAUDIO_ENABLE_HDMI
251options 	HDAUDIO_ENABLE_DISPLAYPORT
252sunxicodec*	at fdt?			# Allwinner audio codec
253h3codec*	at fdt?			# Allwinner H3 audio codec (analog part)
254audio*		at audiobus?
255
256spkr*		at audio?		# PC speaker (synthesized)
257
258# HDMI CEC
259tegracec0	at fdt?			# NVIDIA Tegra HDMI CEC
260hdmicec*	at hdmicecbus?
261
262# Display
263#tegradrm*	at fdt?			# NVIDIA Tegra Display
264#tegrafb*	at tegrafbbus?
265genfb*		at fdt?			# Simple Framebuffer
266wsdisplay*	at wsemuldisplaydev?
267options 	VCONS_DRAW_INTR
268options 	WSEMUL_VT100
269options 	WS_DEFAULT_FG=WSCOL_WHITE
270options 	WS_DEFAULT_BG=WSCOL_BLACK
271options 	WS_KERNEL_FG=WSCOL_GREEN
272options 	WS_KERNEL_BG=WSCOL_BLACK
273options 	WSDISPLAY_COMPAT_PCVT
274options 	WSDISPLAY_COMPAT_SYSCONS
275options 	WSDISPLAY_COMPAT_USL
276options 	WSDISPLAY_COMPAT_RAWKBD
277options 	WSDISPLAY_DEFAULTSCREENS=4
278pseudo-device	wsmux
279pseudo-device	wsfont
280
281# GPU
282#nouveau*	at fdt?			# NVIDIA GPU
283
284# Thermal throttling controller
285sunxithermal*	at fdt?			# Allwinner thermal sensor controller
286tegrasoctherm*	at fdt?			# NVIDIA Tegra SOC_THERM
287
288# USB
289sunxiusbphy*	at fdt? pass 9		# Allwinner USB PHY
290sunxiusb3phy*	at fdt? pass 9		# Allwinner USB3 PHY
291tegrausbphy*	at fdt?			# NVIDIA Tegra USB PHY
292dwctwo*		at fdt?			# Designware USB DRD
293ehci*		at fdt?			# EHCI
294motg*		at fdt?			# Mentor Graphics USB OTG
295ohci*		at fdt?			# OHCI
296xhci*		at fdt?			# XHCI
297usb*		at usbus?
298
299include "dev/usb/usbdevices.config"
300midi*		at midibus?
301
302cinclude "arch/evbarm/conf/GENERIC64.local"
303