GENERIC64 revision 1.3
11.1Sryo#
21.3Sjmcneill#	$NetBSD: GENERIC64,v 1.3 2018/04/28 20:30:50 jmcneill Exp $
31.1Sryo#
41.1Sryo#	GENERIC ARM (aarch64) kernel
51.1Sryo#
61.1Sryo
71.1Sryoinclude	"arch/evbarm/conf/std.generic64"
81.1Sryoinclude "arch/evbarm/conf/files.generic64"
91.1Sryoinclude	"arch/evbarm/conf/GENERIC.common"
101.1Sryo
111.1Sryo#
121.1Sryo# FDT files supported by this kernel - add to DTSSUBDIR and DTS as
131.1Sryo# appropriate
141.1Sryo#
151.1Sryomakeoptions 	DTSARCH="arm aarch64"
161.1Sryomakeoptions	DTSGNUARCH="arm arm64"
171.1Sryomakeoptions	DTSSUBDIR="allwinner broadcom nvidia"
181.1Sryomakeoptions	DTS="
191.1Sryo	bcm2837-rpi-3-b.dts
201.1Sryo
211.1Sryo	sun50i-a64-bananapi-m64.dts
221.1Sryo	sun50i-a64-nanopi-a64.dts
231.1Sryo	sun50i-a64-olinuxino.dts
241.1Sryo	sun50i-a64-orangepi-win.dts
251.1Sryo	sun50i-a64-pine64-plus.dts
261.1Sryo	sun50i-a64-pine64.dts
271.1Sryo	sun50i-a64-pinebook.dts
281.1Sryo	sun50i-a64-sopine-baseboard.dts
291.2Sjmcneill	sun50i-a64-teres-i.dts
301.1Sryo
311.1Sryo	sun50i-h5-nanopi-neo-plus2.dts
321.1Sryo	sun50i-h5-nanopi-neo2.dts
331.1Sryo	sun50i-h5-orangepi-pc2.dts
341.1Sryo	sun50i-h5-orangepi-prime.dts
351.2Sjmcneill	sun50i-h5-orangepi-zero-plus.dts
361.1Sryo	sun50i-h5-orangepi-zero-plus2.dts
371.1Sryo
381.1Sryo	tegra210-p2371-0000.dts
391.1Sryo	tegra210-p2371-2180.dts
401.1Sryo	tegra210-p2571.dts
411.1Sryo	tegra210-smaug.dts
421.1Sryo"
431.1Sryooptions 	CPU_CORTEXA53
441.1Sryooptions 	CPU_CORTEXA57
451.1Sryooptions 	SOC_BCM2837
461.1Sryooptions 	SOC_TEGRA210
471.1Sryooptions 	SOC_SUN50I_A64
481.1Sryooptions 	SOC_SUN50I_H5
491.1Sryo#options 	MULTIPROCESSOR
501.1Sryo
511.1Sryopseudo-device 	openfirm	# /dev/openfirm
521.1Sryo
531.1Sryooptions 	DIAGNOSTIC	# internal consistency checks
541.1Sryooptions 	DEBUG
551.1Sryo#options 	LOCKDEBUG
561.1Sryo#options 	PMAP_DEBUG	# Enable pmap_debug_level code
571.1Sryo#options 	IPKDB		# remote kernel debugging
581.1Sryooptions 	VERBOSE_INIT_ARM # verbose bootstrapping messages
591.1Sryo# EARLYCONS is required for early init messages from VERBOSE_INIT_ARM.
601.1Sryo#options 	EARLYCONS=bcm2837
611.1Sryo#options 	EARLYCONS=sunxi, CONSADDR=0x01c28000
621.1Sryo#options 	EARLYCONS=tegra, CONSADDR=0x70006000
631.1Sryo
641.1Sryomakeoptions	DEBUG="-g"	# compile full symbol table
651.1Sryomakeoptions	COPY_SYMTAB=1
661.1Sryo
671.1Sryoconfig		netbsd		root on ? type ?
681.1Sryo
691.1Sryo# Device tree support
701.1Sryoarmfdt0		at root
711.1Sryofdt*		at fdtbus?
721.1Sryo
731.1Sryo# CPUs
741.1Sryocpus*		at fdt? pass 0
751.1Sryocpu*		at cpus?
761.1Sryo
771.1Sryo# CPU frequency scaling
781.1Sryocpufreqdt*	at cpu?
791.1Sryo
801.1Sryo# Power State Coordination Interface (PSCI)
811.1Sryopsci*		at fdt?
821.1Sryo
831.1Sryofclock*		at fdt? pass 1
841.1Sryoffclock*	at fdt? pass 1
851.1Sryofregulator*	at fdt? pass 4
861.1Sryogregulator*	at fdt? pass 4
871.1Sryogpiokeys*	at fdt?
881.1Sryowskbd*		at gpiokeys? console ? mux 1
891.1Sryogpioleds*	at fdt?
901.1Sryo
911.1Sryo# Timer
921.1Sryogtmr*		at fdt? pass 1		# ARM Generic Timer
931.1Sryoarmgtmr0	at gtmr?
941.1Sryotegratimer*	at fdt?			# Timers
951.1Sryo
961.1Sryo# Watchdog
971.1Sryosunxiwdt*	at fdt?			# Allwinner watchdog
981.1Sryowatchdog*	at fdt?			# Broadcom BCM283x watchdog
991.1Sryo
1001.1Sryo# Interrupt controller
1011.1Sryobcmicu*		at fdt? pass 1		# Broadcom BCM283x ICU
1021.1Sryotegralic*	at fdt? pass 1		# NVIDIA Tegra LIC
1031.1Sryogic*		at fdt? pass 1		# ARM GIC
1041.1Sryoarmgic0		at gic?
1051.1Sryo
1061.1Sryo# Memory controller
1071.1Sryotegramc*	at fdt?	pass 4		# NVIDIA Tegra MC
1081.1Sryo
1091.1Sryo# Firmware devices
1101.1Sryobcmmbox*	at fdt?			# Broadcom VideoCore IV mailbox
1111.1Sryovcmbox*		at bcmmbox?
1121.1Sryo
1131.1Sryo# DMA controller
1141.1Sryobcmdmac*	at fdt?			# Broadcom BCM283x DMA controller
1151.1Sryosun6idma*	at fdt?			# Allwinner DMA controller (sun6i)
1161.1Sryotegraapbdma*	at fdt? pass 4		# NVIDIA Tegra APB DMA
1171.1Sryo
1181.1Sryo# FUSE controller
1191.3Sjmcneillsunxisid*	at fdt? pass 4		# Allwinner SID
1201.1Sryotegrafuse*	at fdt? pass 4		# NVIDIA Tegra FUSE
1211.1Sryo
1221.1Sryo# Power management controller
1231.1Sryotegrapmc*	at fdt? pass 4		# NVIDIA Tegra PMC
1241.1Sryo
1251.1Sryo# Clock and Reset controller
1261.1Sryobcmcprman*	at fdt? pass 1		# Broadcom BCM283x Clock Manager
1271.1Sryobcmaux*		at fdt? pass 1		# Broadcom BCM283x Aux Periph Clocks
1281.1Sryosun8ih3ccu*	at fdt? pass 2		# Allwinner H3/H5 CCU
1291.1Sryosun8ih3rccu*	at fdt? pass 2		# Allwinner H3/H5 CCU (PRCM)
1301.1Sryosun50ia64ccu*	at fdt? pass 2		# Allwinner A64 CCU
1311.1Sryosunxiresets*	at fdt? pass 1		# Allwinner misc. resets
1321.1Sryosunxigates*	at fdt? pass 1		# Allwinner misc. gates
1331.1Sryosunxigmacclk*	at fdt? pass 2		# Allwinner GMAC MII/RGMII clock mux
1341.1Sryotegra210car*	at fdt? pass 3		# NVIDIA Tegra CAR (T210)
1351.1Sryo
1361.1Sryo# GPIO controller
1371.1Sryobcmgpio*	at fdt?			# Broadcom BCM283x GPIO
1381.1Sryosunxigpio*	at fdt? pass 3		# Allwinner GPIO
1391.1Sryotegragpio*	at fdt? pass 2		# NVIDIA Tegra GPIO
1401.1Sryogpio*		at gpiobus?
1411.1Sryo
1421.1Sryo# MPIO / Pinmux
1431.1Sryotegrapinmux*	at fdt?			# NVIDIA Tegra MPIO
1441.1Sryo
1451.1Sryo# XUSB PADCTL
1461.1Sryotegra210xpad*	at fdt?			# NVIDIA Tegra XUSB PADCTL (T210)
1471.1Sryotegra210xphy*	at tegra210xpad?
1481.1Sryo
1491.1Sryo# PCIE
1501.1Sryotegrapcie0	at fdt?			# NVIDIA Tegra PCIE
1511.1Sryopci*		at tegrapcie0
1521.1Sryoppb*		at pci? dev ? function ?
1531.1Sryopci*		at ppb?
1541.1Sryo
1551.1Sryo# Ethernet
1561.1Sryoemac*		at fdt?				# Allwinner Gigabit Ethernet (EMAC)
1571.1Sryore*		at pci? dev ? function ?	# Realtek RTL8111GS
1581.1Sryo
1591.1Sryo# MII/PHY support
1601.1Sryoexphy* 		at mii? phy ?		# 3Com internal PHYs
1611.1Sryogentbi* 	at mii? phy ?		# Generic Ten-Bit 1000BASE-[CLS]X PHYs
1621.1Sryoglxtphy*	at mii? phy ?		# Level One LXT-1000 PHYs
1631.1Sryogphyter* 	at mii? phy ?		# NS83861 Gig-E PHY
1641.1Sryoicsphy*		at mii? phy ?		# Integrated Circuit Systems ICS189x
1651.1Sryoigphy*		at mii? phy ?		# Intel IGP01E1000
1661.1Sryoihphy*		at mii? phy ?		# Intel 82577 PHYs
1671.1Sryoikphy*		at mii? phy ?		# Intel 82563 PHYs
1681.1Sryoinphy*		at mii? phy ?		# Intel 82555 PHYs
1691.1Sryoiophy*		at mii? phy ?		# Intel 82553 PHYs
1701.1Sryolxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
1711.1Sryomakphy*		at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
1721.1Sryonsphy*		at mii? phy ?		# NS83840 PHYs
1731.1Sryonsphyter*	at mii? phy ? 		# NS83843 PHYs
1741.1Sryopnaphy*		at mii? phy ?		# generic HomePNA PHYs
1751.1Sryoqsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
1761.1Sryordcphy*		at mii? phy ?		# RDC R6040 10/100 PHY
1771.1Sryorgephy*		at mii? phy ?		# Realtek 8169S/8110S internal PHYs
1781.1Sryorlphy*		at mii? phy ?		# Realtek 8139/8201L PHYs
1791.1Sryosqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
1801.1Sryotlphy*		at mii? phy ?		# ThunderLAN PHYs
1811.1Sryotqphy*		at mii? phy ?		# TDK Semiconductor PHYs
1821.1Sryourlphy*		at mii? phy ?		# Realtek RTL8150L internal PHYs
1831.1Sryoukphy*		at mii? phy ?		# generic unknown PHYs
1841.1Sryo
1851.1Sryo# Mini-PCIe Wireless
1861.1Sryo#options 	ATHHAL_AR5212,ATHHAL_RF2425	# AR5BHB63
1871.1Sryo#ath*		at pci? dev ? function ?	# Atheros IEEE 802.11
1881.1Sryo#athn*		at pci? dev ? function ?	# Atheros IEEE 802.11
1891.1Sryo
1901.1Sryo# UART
1911.1Sryocom*		at fdt?			# UART
1921.1Sryoplcom*		at fdt?			# ARM PL011 UART
1931.1Sryo
1941.1Sryo# I2C controllers
1951.1Sryobsciic*		at fdt?			# Broadcom BCM283x Serial Control
1961.1Sryosunxirsb*	at fdt?			# Allwinner RSB
1971.1Sryosunxitwi*	at fdt?			# Allwinner TWI
1981.1Sryotegrai2c*	at fdt? pass 4		# NVIDIA Tegra I2C
1991.1Sryoiic*		at i2cbus?
2001.1Sryo
2011.1Sryo# I2C devices
2021.1Sryotitemp*		at iic?
2031.1Sryoseeprom*	at iic?
2041.1Sryoas3722pmic*	at iic?
2051.1Sryoas3722reg*	at as3722pmic?
2061.1Sryomax77620pmic*	at iic?
2071.1Sryotcagpio*	at iic?
2081.1Sryo
2091.1Sryo# Random number generators
2101.1Sryobcmrng*		at fdt?			# Broadcom BCM283x RNG
2111.1Sryo
2121.1Sryo# RTC
2131.1Sryosunxirtc*	at fdt?			# Allwinner RTC
2141.1Sryotegrartc*	at fdt?			# NVIDIA Tegra RTC
2151.1Sryo
2161.1Sryo# SDMMC
2171.1Sryommcpwrseq*	at fdt?			# Simple MMC power sequence provider
2181.1Sryosdhc*		at fdt?			# SD Host Controller Interface
2191.1Sryosdhost*		at fdt?			# Broadcom BCM283x SD Host Interface
2201.1Sryosunximmc*	at fdt?			# Allwinner SD/MMC
2211.1Sryosdmmc*		at sdmmcbus?
2221.1Sryold0		at sdmmc0
2231.1Sryold1		at sdmmc1
2241.1Sryold2		at sdmmc2
2251.1Sryold3		at sdmmc3
2261.1Sryold*		at sdmmc?
2271.1Sryo
2281.1Sryo# SATA
2291.1Sryoahcisata*	at fdt?			# AHCI SATA
2301.1Sryoatabus*		at ata?
2311.1Sryoatapibus*	at atapi?
2321.1Sryowd*		at atabus? drive ?
2331.1Sryocd*		at atapibus? drive ?
2341.1Sryo
2351.1Sryo# SPI controllers
2361.1Sryobcmspi*		at fdt?			# Broadcom BCM283x SPI
2371.1Sryospi*		at spibus?
2381.1Sryo
2391.1Sryo# Audio support
2401.1Sryohdaudio*	at fdt?			# Intel HDA
2411.1Sryohdafg*		at hdaudiobus?
2421.1Sryooptions 	HDAUDIOVERBOSE
2431.1Sryooptions 	HDAUDIO_32BIT_ACCESS
2441.1Sryooptions 	HDAUDIO_ENABLE_HDMI
2451.1Sryooptions 	HDAUDIO_ENABLE_DISPLAYPORT
2461.1Sryosunxicodec*	at fdt?			# Allwinner audio codec
2471.1Sryoh3codec*	at fdt?			# Allwinner H3 audio codec (analog part)
2481.1Sryoaudio*		at audiobus?
2491.1Sryo
2501.1Sryospkr*		at audio?		# PC speaker (synthesized)
2511.1Sryo
2521.1Sryo# HDMI CEC
2531.1Sryotegracec0	at fdt?			# NVIDIA Tegra HDMI CEC
2541.1Sryohdmicec*	at hdmicecbus?
2551.1Sryo
2561.1Sryo# Display
2571.1Sryo#tegradrm*	at fdt?			# NVIDIA Tegra Display
2581.1Sryo#tegrafb*	at tegrafbbus?
2591.1Sryogenfb*		at fdt?			# Simple Framebuffer
2601.1Sryowsdisplay*	at wsemuldisplaydev?
2611.1Sryooptions 	VCONS_DRAW_INTR
2621.1Sryooptions 	WSEMUL_VT100
2631.1Sryooptions 	WS_DEFAULT_FG=WSCOL_WHITE
2641.1Sryooptions 	WS_DEFAULT_BG=WSCOL_BLACK
2651.1Sryooptions 	WS_KERNEL_FG=WSCOL_GREEN
2661.1Sryooptions 	WS_KERNEL_BG=WSCOL_BLACK
2671.1Sryooptions 	WSDISPLAY_COMPAT_PCVT
2681.1Sryooptions 	WSDISPLAY_COMPAT_SYSCONS
2691.1Sryooptions 	WSDISPLAY_COMPAT_USL
2701.1Sryooptions 	WSDISPLAY_COMPAT_RAWKBD
2711.1Sryooptions 	WSDISPLAY_DEFAULTSCREENS=4
2721.1Sryopseudo-device	wsmux
2731.1Sryopseudo-device	wsfont
2741.1Sryo
2751.1Sryo# GPU
2761.1Sryo#nouveau*	at fdt?			# NVIDIA GPU
2771.1Sryo
2781.1Sryo# Thermal throttling controller
2791.3Sjmcneillsunxithermal*	at fdt?			# Allwinner thermal sensor controller
2801.1Sryotegrasoctherm*	at fdt?			# NVIDIA Tegra SOC_THERM
2811.1Sryo
2821.1Sryo# USB
2831.1Sryosunxiusbphy*	at fdt? pass 9		# Allwinner USB PHY
2841.1Sryotegrausbphy*	at fdt?			# NVIDIA Tegra USB PHY
2851.1Sryodwctwo*		at fdt?			# Designware USB DRD
2861.1Sryoehci*		at fdt?			# EHCI
2871.1Sryo#motg*		at fdt?			# Mentor Graphics USB OTG
2881.1Sryoohci*		at fdt?			# OHCI
2891.1Sryoxhci*		at fdt?			# XHCI
2901.1Sryousb*		at usbus?
2911.1Sryo
2921.1Sryoinclude "dev/usb/usbdevices.config"
2931.1Sryomidi*		at midibus?
2941.1Sryo
2951.1Sryocinclude "arch/evbarm/conf/GENERIC64.local"
296