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