GENERIC64 revision 1.24
11.1Sryo#
21.24Sskrll#	$NetBSD: GENERIC64,v 1.24 2018/07/01 15:33:29 skrll 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.17Sjmcneillmakeoptions	DTSSUBDIR="allwinner broadcom nvidia rockchip"
181.1Sryomakeoptions	DTS="
191.1Sryo	bcm2837-rpi-3-b.dts
201.24Sskrll	bcm2837-rpi-3-b-plus.dts
211.1Sryo
221.17Sjmcneill	rk3328-evb.dts
231.17Sjmcneill	rk3328-roc-cc.dts
241.17Sjmcneill	rk3328-rock64.dts
251.17Sjmcneill
261.1Sryo	sun50i-a64-bananapi-m64.dts
271.1Sryo	sun50i-a64-nanopi-a64.dts
281.1Sryo	sun50i-a64-olinuxino.dts
291.1Sryo	sun50i-a64-orangepi-win.dts
301.1Sryo	sun50i-a64-pine64-plus.dts
311.1Sryo	sun50i-a64-pine64.dts
321.1Sryo	sun50i-a64-pinebook.dts
331.1Sryo	sun50i-a64-sopine-baseboard.dts
341.2Sjmcneill	sun50i-a64-teres-i.dts
351.1Sryo
361.19Sjmcneill	sun50i-h5-libretech-all-h3-cc.dts
371.1Sryo	sun50i-h5-nanopi-neo-plus2.dts
381.1Sryo	sun50i-h5-nanopi-neo2.dts
391.1Sryo	sun50i-h5-orangepi-pc2.dts
401.1Sryo	sun50i-h5-orangepi-prime.dts
411.2Sjmcneill	sun50i-h5-orangepi-zero-plus.dts
421.1Sryo	sun50i-h5-orangepi-zero-plus2.dts
431.1Sryo
441.5Sjmcneill	sun50i-h6-pine-h64.dts
451.5Sjmcneill
461.1Sryo	tegra210-p2371-0000.dts
471.1Sryo	tegra210-p2371-2180.dts
481.1Sryo	tegra210-p2571.dts
491.1Sryo	tegra210-smaug.dts
501.1Sryo"
511.1Sryooptions 	CPU_CORTEXA53
521.1Sryooptions 	CPU_CORTEXA57
531.1Sryooptions 	SOC_BCM2837
541.17Sjmcneilloptions 	SOC_RK3328
551.1Sryooptions 	SOC_TEGRA210
561.1Sryooptions 	SOC_SUN50I_A64
571.1Sryooptions 	SOC_SUN50I_H5
581.5Sjmcneilloptions 	SOC_SUN50I_H6
591.16Sjmcneilloptions 	SOC_VIRT
601.1Sryo#options 	MULTIPROCESSOR
611.1Sryo
621.1Sryopseudo-device 	openfirm	# /dev/openfirm
631.1Sryo
641.1Sryooptions 	DIAGNOSTIC	# internal consistency checks
651.1Sryooptions 	DEBUG
661.1Sryo#options 	LOCKDEBUG
671.1Sryo#options 	PMAP_DEBUG	# Enable pmap_debug_level code
681.1Sryo#options 	IPKDB		# remote kernel debugging
691.1Sryooptions 	VERBOSE_INIT_ARM # verbose bootstrapping messages
701.1Sryo# EARLYCONS is required for early init messages from VERBOSE_INIT_ARM.
711.1Sryo#options 	EARLYCONS=bcm2837
721.18Sjmcneill#options 	EARLYCONS=rk3328, CONSADDR=0xff130000
731.1Sryo#options 	EARLYCONS=sunxi, CONSADDR=0x01c28000
741.1Sryo#options 	EARLYCONS=tegra, CONSADDR=0x70006000
751.16Sjmcneill#options 	EARLYCONS=virt
761.1Sryo
771.1Sryomakeoptions	DEBUG="-g"	# compile full symbol table
781.1Sryomakeoptions	COPY_SYMTAB=1
791.1Sryo
801.1Sryoconfig		netbsd		root on ? type ?
811.1Sryo
821.1Sryo# Device tree support
831.1Sryoarmfdt0		at root
841.23Sjmcneillsimplebus*	at fdt? pass 0
851.1Sryo
861.1Sryo# CPUs
871.1Sryocpus*		at fdt? pass 0
881.22Sjmcneillcpu*		at fdt? pass 0
891.1Sryo
901.1Sryo# CPU frequency scaling
911.1Sryocpufreqdt*	at cpu?
921.1Sryo
931.1Sryo# Power State Coordination Interface (PSCI)
941.1Sryopsci*		at fdt?
951.1Sryo
961.1Sryofclock*		at fdt? pass 1
971.1Sryoffclock*	at fdt? pass 1
981.1Sryofregulator*	at fdt? pass 4
991.1Sryogregulator*	at fdt? pass 4
1001.1Sryogpiokeys*	at fdt?
1011.1Sryowskbd*		at gpiokeys? console ? mux 1
1021.1Sryogpioleds*	at fdt?
1031.1Sryo
1041.20Sjmcneill# System Controller
1051.20Sjmcneillsyscon*		at fdt? pass 1		# Generic System Controller
1061.20Sjmcneill
1071.1Sryo# Timer
1081.1Sryogtmr*		at fdt? pass 1		# ARM Generic Timer
1091.1Sryoarmgtmr0	at gtmr?
1101.1Sryotegratimer*	at fdt?			# Timers
1111.1Sryo
1121.1Sryo# Watchdog
1131.1Sryosunxiwdt*	at fdt?			# Allwinner watchdog
1141.1Sryowatchdog*	at fdt?			# Broadcom BCM283x watchdog
1151.1Sryo
1161.1Sryo# Interrupt controller
1171.1Sryobcmicu*		at fdt? pass 1		# Broadcom BCM283x ICU
1181.1Sryotegralic*	at fdt? pass 1		# NVIDIA Tegra LIC
1191.1Sryogic*		at fdt? pass 1		# ARM GIC
1201.1Sryoarmgic0		at gic?
1211.9Sjmcneillsunxinmi*	at fdt? pass 2		# Allwinner NMI / R_INTC
1221.1Sryo
1231.1Sryo# Memory controller
1241.1Sryotegramc*	at fdt?	pass 4		# NVIDIA Tegra MC
1251.1Sryo
1261.1Sryo# Firmware devices
1271.1Sryobcmmbox*	at fdt?			# Broadcom VideoCore IV mailbox
1281.1Sryovcmbox*		at bcmmbox?
1291.1Sryo
1301.1Sryo# DMA controller
1311.1Sryobcmdmac*	at fdt?			# Broadcom BCM283x DMA controller
1321.1Sryosun6idma*	at fdt?			# Allwinner DMA controller (sun6i)
1331.1Sryotegraapbdma*	at fdt? pass 4		# NVIDIA Tegra APB DMA
1341.1Sryo
1351.1Sryo# FUSE controller
1361.3Sjmcneillsunxisid*	at fdt? pass 4		# Allwinner SID
1371.1Sryotegrafuse*	at fdt? pass 4		# NVIDIA Tegra FUSE
1381.1Sryo
1391.1Sryo# Power management controller
1401.1Sryotegrapmc*	at fdt? pass 4		# NVIDIA Tegra PMC
1411.1Sryo
1421.1Sryo# Clock and Reset controller
1431.1Sryobcmcprman*	at fdt? pass 1		# Broadcom BCM283x Clock Manager
1441.1Sryobcmaux*		at fdt? pass 1		# Broadcom BCM283x Aux Periph Clocks
1451.17Sjmcneillrkcru*		at fdt? pass 2		# Rockchip RK3328 CRU
1461.1Sryosun8ih3ccu*	at fdt? pass 2		# Allwinner H3/H5 CCU
1471.1Sryosun8ih3rccu*	at fdt? pass 2		# Allwinner H3/H5 CCU (PRCM)
1481.1Sryosun50ia64ccu*	at fdt? pass 2		# Allwinner A64 CCU
1491.12Sjmcneillsun50ia64rccu*	at fdt? pass 2		# Allwinner A64 CCU (PRCM)
1501.5Sjmcneillsun50ih6ccu*	at fdt? pass 2		# Allwinner H6 CCU
1511.8Sjmcneillsun50ih6rccu*	at fdt? pass 2		# Allwinner H6 CCU (PRCM)
1521.1Sryosunxiresets*	at fdt? pass 1		# Allwinner misc. resets
1531.1Sryosunxigates*	at fdt? pass 1		# Allwinner misc. gates
1541.1Sryosunxigmacclk*	at fdt? pass 2		# Allwinner GMAC MII/RGMII clock mux
1551.1Sryotegra210car*	at fdt? pass 3		# NVIDIA Tegra CAR (T210)
1561.1Sryo
1571.1Sryo# GPIO controller
1581.1Sryobcmgpio*	at fdt?			# Broadcom BCM283x GPIO
1591.1Sryosunxigpio*	at fdt? pass 3		# Allwinner GPIO
1601.1Sryotegragpio*	at fdt? pass 2		# NVIDIA Tegra GPIO
1611.17Sjmcneillrkgpio*		at rkiomux?		# Rockchip GPIO
1621.1Sryogpio*		at gpiobus?
1631.1Sryo
1641.13Sjmcneill# PWM controller
1651.13Sjmcneillsunxipwm*	at fdt? pass 3		# Allwinner PWM
1661.13Sjmcneill
1671.1Sryo# MPIO / Pinmux
1681.17Sjmcneillrkiomux*	at fdt?	pass 2		# Rockchip IOMUX
1691.1Sryotegrapinmux*	at fdt?			# NVIDIA Tegra MPIO
1701.1Sryo
1711.1Sryo# XUSB PADCTL
1721.1Sryotegra210xpad*	at fdt?			# NVIDIA Tegra XUSB PADCTL (T210)
1731.1Sryotegra210xphy*	at tegra210xpad?
1741.1Sryo
1751.1Sryo# PCIE
1761.1Sryotegrapcie0	at fdt?			# NVIDIA Tegra PCIE
1771.1Sryopci*		at tegrapcie0
1781.1Sryoppb*		at pci? dev ? function ?
1791.1Sryopci*		at ppb?
1801.1Sryo
1811.1Sryo# Ethernet
1821.17Sjmcneillawge*		at fdt?				# DesignWare Gigabit Ethernet
1831.1Sryoemac*		at fdt?				# Allwinner Gigabit Ethernet (EMAC)
1841.1Sryore*		at pci? dev ? function ?	# Realtek RTL8111GS
1851.1Sryo
1861.1Sryo# MII/PHY support
1871.1Sryoexphy* 		at mii? phy ?		# 3Com internal PHYs
1881.1Sryogentbi* 	at mii? phy ?		# Generic Ten-Bit 1000BASE-[CLS]X PHYs
1891.1Sryoglxtphy*	at mii? phy ?		# Level One LXT-1000 PHYs
1901.1Sryogphyter* 	at mii? phy ?		# NS83861 Gig-E PHY
1911.1Sryoicsphy*		at mii? phy ?		# Integrated Circuit Systems ICS189x
1921.1Sryoigphy*		at mii? phy ?		# Intel IGP01E1000
1931.1Sryoihphy*		at mii? phy ?		# Intel 82577 PHYs
1941.1Sryoikphy*		at mii? phy ?		# Intel 82563 PHYs
1951.1Sryoinphy*		at mii? phy ?		# Intel 82555 PHYs
1961.1Sryoiophy*		at mii? phy ?		# Intel 82553 PHYs
1971.1Sryolxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
1981.1Sryomakphy*		at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
1991.1Sryonsphy*		at mii? phy ?		# NS83840 PHYs
2001.1Sryonsphyter*	at mii? phy ? 		# NS83843 PHYs
2011.1Sryopnaphy*		at mii? phy ?		# generic HomePNA PHYs
2021.1Sryoqsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
2031.1Sryordcphy*		at mii? phy ?		# RDC R6040 10/100 PHY
2041.1Sryorgephy*		at mii? phy ?		# Realtek 8169S/8110S internal PHYs
2051.1Sryorlphy*		at mii? phy ?		# Realtek 8139/8201L PHYs
2061.1Sryosqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
2071.1Sryotlphy*		at mii? phy ?		# ThunderLAN PHYs
2081.1Sryotqphy*		at mii? phy ?		# TDK Semiconductor PHYs
2091.1Sryourlphy*		at mii? phy ?		# Realtek RTL8150L internal PHYs
2101.1Sryoukphy*		at mii? phy ?		# generic unknown PHYs
2111.1Sryo
2121.1Sryo# Mini-PCIe Wireless
2131.1Sryo#options 	ATHHAL_AR5212,ATHHAL_RF2425	# AR5BHB63
2141.1Sryo#ath*		at pci? dev ? function ?	# Atheros IEEE 802.11
2151.1Sryo#athn*		at pci? dev ? function ?	# Atheros IEEE 802.11
2161.1Sryo
2171.1Sryo# UART
2181.1Sryocom*		at fdt?			# UART
2191.1Sryoplcom*		at fdt?			# ARM PL011 UART
2201.1Sryo
2211.1Sryo# I2C controllers
2221.1Sryobsciic*		at fdt?			# Broadcom BCM283x Serial Control
2231.1Sryosunxirsb*	at fdt?			# Allwinner RSB
2241.1Sryosunxitwi*	at fdt?			# Allwinner TWI
2251.1Sryotegrai2c*	at fdt? pass 4		# NVIDIA Tegra I2C
2261.1Sryoiic*		at i2cbus?
2271.1Sryo
2281.1Sryo# I2C devices
2291.1Sryotitemp*		at iic?
2301.1Sryoseeprom*	at iic?
2311.1Sryoas3722pmic*	at iic?
2321.1Sryoas3722reg*	at as3722pmic?
2331.11Sjmcneillaxppmic*	at iic?			# X-Powers AXP Power Management IC
2341.14Sjmcneillaxpreg*		at axppmic?
2351.1Sryomax77620pmic*	at iic?
2361.7Sjmcneillpcf8563rtc*	at iic?			# PCF8563 RTC
2371.1Sryotcagpio*	at iic?
2381.1Sryo
2391.1Sryo# Random number generators
2401.1Sryobcmrng*		at fdt?			# Broadcom BCM283x RNG
2411.1Sryo
2421.1Sryo# RTC
2431.1Sryosunxirtc*	at fdt?			# Allwinner RTC
2441.1Sryotegrartc*	at fdt?			# NVIDIA Tegra RTC
2451.1Sryo
2461.1Sryo# SDMMC
2471.17Sjmcneilldwcmmc*		at fdt?			# Designware SD/MMC
2481.1Sryommcpwrseq*	at fdt?			# Simple MMC power sequence provider
2491.1Sryosdhc*		at fdt?			# SD Host Controller Interface
2501.1Sryosdhost*		at fdt?			# Broadcom BCM283x SD Host Interface
2511.1Sryosunximmc*	at fdt?			# Allwinner SD/MMC
2521.1Sryosdmmc*		at sdmmcbus?
2531.1Sryold0		at sdmmc0
2541.1Sryold1		at sdmmc1
2551.1Sryold2		at sdmmc2
2561.1Sryold3		at sdmmc3
2571.1Sryold*		at sdmmc?
2581.1Sryo
2591.1Sryo# SATA
2601.1Sryoahcisata*	at fdt?			# AHCI SATA
2611.1Sryoatabus*		at ata?
2621.1Sryoatapibus*	at atapi?
2631.1Sryowd*		at atabus? drive ?
2641.1Sryocd*		at atapibus? drive ?
2651.1Sryo
2661.1Sryo# SPI controllers
2671.1Sryobcmspi*		at fdt?			# Broadcom BCM283x SPI
2681.1Sryospi*		at spibus?
2691.1Sryo
2701.1Sryo# Audio support
2711.1Sryohdaudio*	at fdt?			# Intel HDA
2721.1Sryohdafg*		at hdaudiobus?
2731.1Sryooptions 	HDAUDIOVERBOSE
2741.1Sryooptions 	HDAUDIO_32BIT_ACCESS
2751.1Sryooptions 	HDAUDIO_ENABLE_HDMI
2761.1Sryooptions 	HDAUDIO_ENABLE_DISPLAYPORT
2771.15Sjmcneillausoc*		at fdt?			# Simple SoC audio card
2781.1Sryosunxicodec*	at fdt?			# Allwinner audio codec
2791.15Sjmcneillsun8icodec*	at fdt?			# Allwinner audio codec (sun8i/sun50i)
2801.1Sryoh3codec*	at fdt?			# Allwinner H3 audio codec (analog part)
2811.15Sjmcneilla64acodec*	at fdt?			# Allwinner A64 audio codec (analog part)
2821.15Sjmcneillsunxii2s*	at fdt?			# Allwinner I2S/PCM
2831.1Sryoaudio*		at audiobus?
2841.1Sryo
2851.1Sryospkr*		at audio?		# PC speaker (synthesized)
2861.1Sryo
2871.1Sryo# HDMI CEC
2881.1Sryotegracec0	at fdt?			# NVIDIA Tegra HDMI CEC
2891.1Sryohdmicec*	at hdmicecbus?
2901.1Sryo
2911.1Sryo# Display
2921.1Sryo#tegradrm*	at fdt?			# NVIDIA Tegra Display
2931.1Sryo#tegrafb*	at tegrafbbus?
2941.1Sryogenfb*		at fdt?			# Simple Framebuffer
2951.1Sryowsdisplay*	at wsemuldisplaydev?
2961.1Sryooptions 	VCONS_DRAW_INTR
2971.1Sryooptions 	WSEMUL_VT100
2981.1Sryooptions 	WS_DEFAULT_FG=WSCOL_WHITE
2991.1Sryooptions 	WS_DEFAULT_BG=WSCOL_BLACK
3001.1Sryooptions 	WS_KERNEL_FG=WSCOL_GREEN
3011.1Sryooptions 	WS_KERNEL_BG=WSCOL_BLACK
3021.1Sryooptions 	WSDISPLAY_COMPAT_PCVT
3031.1Sryooptions 	WSDISPLAY_COMPAT_SYSCONS
3041.1Sryooptions 	WSDISPLAY_COMPAT_USL
3051.1Sryooptions 	WSDISPLAY_COMPAT_RAWKBD
3061.1Sryooptions 	WSDISPLAY_DEFAULTSCREENS=4
3071.1Sryopseudo-device	wsmux
3081.1Sryopseudo-device	wsfont
3091.1Sryo
3101.1Sryo# GPU
3111.1Sryo#nouveau*	at fdt?			# NVIDIA GPU
3121.1Sryo
3131.13Sjmcneill# Backlight
3141.13Sjmcneillpwmbacklight*	at fdt?			# PWM Backlight controls
3151.13Sjmcneill
3161.1Sryo# Thermal throttling controller
3171.3Sjmcneillsunxithermal*	at fdt?			# Allwinner thermal sensor controller
3181.1Sryotegrasoctherm*	at fdt?			# NVIDIA Tegra SOC_THERM
3191.1Sryo
3201.1Sryo# USB
3211.17Sjmcneillrkusb*		at fdt? pass 9		# Rockchip USB PHY
3221.17Sjmcneillrkusbphy*	at rkusb?
3231.1Sryosunxiusbphy*	at fdt? pass 9		# Allwinner USB PHY
3241.6Sjmcneillsunxiusb3phy*	at fdt? pass 9		# Allwinner USB3 PHY
3251.1Sryotegrausbphy*	at fdt?			# NVIDIA Tegra USB PHY
3261.1Sryodwctwo*		at fdt?			# Designware USB DRD
3271.1Sryoehci*		at fdt?			# EHCI
3281.4Sjmcneillmotg*		at fdt?			# Mentor Graphics USB OTG
3291.1Sryoohci*		at fdt?			# OHCI
3301.1Sryoxhci*		at fdt?			# XHCI
3311.1Sryousb*		at usbus?
3321.1Sryo
3331.1Sryoinclude "dev/usb/usbdevices.config"
3341.1Sryomidi*		at midibus?
3351.1Sryo
3361.1Sryocinclude "arch/evbarm/conf/GENERIC64.local"
337