GENERIC revision 1.4
11.1Sryo#
21.4Sjmcneill#	$NetBSD: GENERIC,v 1.4 2018/06/30 16:48:49 jmcneill Exp $
31.1Sryo#
41.1Sryo#	GENERIC ARM (aarch32) kernel
51.1Sryo#
61.1Sryo
71.1Sryoinclude	"arch/evbarm/conf/std.generic"
81.1Sryoinclude "arch/evbarm/conf/files.generic"
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"
161.1Sryomakeoptions	DTSGNUARCH="arm"
171.1Sryomakeoptions	DTSSUBDIR="allwinner nvidia"
181.1Sryomakeoptions	DTS="
191.1Sryo	tegra124-apalis-eval.dts
201.1Sryo	tegra124-jetson-tk1.dts
211.1Sryo	tegra124-nyan-big.dts
221.1Sryo	tegra124-nyan-blaze.dts
231.1Sryo	tegra124-venice2.dts
241.1Sryo"
251.1Sryo
261.1Sryooptions 	CPU_CORTEXA15
271.1Sryooptions 	CPU_CORTEXA57
281.1Sryooptions 	SOC_TEGRA124
291.1Sryooptions 	SOC_SUN4I_A10
301.1Sryooptions 	SOC_SUN5I_A13
311.1Sryooptions 	SOC_SUN6I_A31
321.1Sryooptions 	SOC_SUN7I_A20
331.1Sryooptions 	SOC_SUN8I_A83T
341.1Sryooptions 	SOC_SUN8I_H3
351.1Sryooptions 	SOC_SUN9I_A80
361.1Sryooptions 	MULTIPROCESSOR
371.1Sryo
381.1Sryopseudo-device 	openfirm	# /dev/openfirm
391.1Sryo
401.1Sryo#options 	DIAGNOSTIC	# internal consistency checks
411.1Sryo#options 	DEBUG
421.1Sryo#options 	LOCKDEBUG
431.1Sryo#options 	PMAP_DEBUG	# Enable pmap_debug_level code
441.1Sryo#options 	IPKDB		# remote kernel debugging
451.1Sryooptions 	VERBOSE_INIT_ARM # verbose bootstrapping messages
461.1Sryo# EARLYCONS is required for early init messages from VERBOSE_INIT_ARM.
471.1Sryo#options        EARLYCONS=sunxi, CONSADDR=0x01c28000
481.1Sryo#options        EARLYCONS=tegra, CONSADDR=0x70006000
491.1Sryo
501.1Sryomakeoptions	DEBUG="-g"	# compile full symbol table
511.1Sryomakeoptions	COPY_SYMTAB=1
521.1Sryo
531.1Sryoconfig		netbsd		root on ? type ?
541.1Sryo
551.1Sryo# Device tree support
561.1Sryoarmfdt0		at root
571.4Sjmcneillsimplebus*	at fdt? pass 0
581.1Sryo
591.1Sryo# CPUs
601.1Sryocpus*		at fdt? pass 0
611.3Sjmcneillcpu*		at fdt? pass 0
621.1Sryo
631.1Sryo# CPU frequency scaling
641.1Sryocpufreqdt*	at cpu?
651.1Sryo
661.1Sryo# Power State Coordination Interface (PSCI)
671.1Sryopsci*		at fdt?
681.1Sryo
691.1Sryofclock*		at fdt? pass 1
701.1Sryoffclock*	at fdt? pass 1
711.1Sryofregulator*	at fdt? pass 4
721.1Sryogregulator*	at fdt? pass 4
731.1Sryogpiokeys*	at fdt?
741.1Sryowskbd*		at gpiokeys? console ? mux 1
751.1Sryogpioleds*	at fdt?
761.1Sryo
771.1Sryo# Timer
781.1Sryogtmr*		at fdt? pass 1		# ARM Generic Timer
791.1Sryoarmgtmr0	at gtmr?
801.1Sryotegratimer*	at fdt?			# Timers
811.1Sryo
821.1Sryo# Watchdog
831.1Sryosunxiwdt*	at fdt?			# Allwinner watchdog
841.1Sryo
851.1Sryo# Interrupt controller
861.1Sryotegralic*	at fdt? pass 1		# NVIDIA Tegra LIC
871.1Sryogic*		at fdt? pass 1		# ARM GIC
881.1Sryoarmgic0		at gic?
891.1Sryo
901.1Sryo# Memory controller
911.1Sryotegramc*	at fdt?	pass 4		# NVIDIA Tegra MC
921.1Sryo
931.1Sryo# DMA controller
941.1Sryosun6idma*	at fdt?			# Allwinner DMA controller (sun6i)
951.1Sryotegraapbdma*	at fdt? pass 4		# NVIDIA Tegra APB DMA
961.1Sryo
971.1Sryo# FUSE controller
981.1Sryotegrafuse*	at fdt? pass 4		# NVIDIA Tegra FUSE
991.1Sryo
1001.1Sryo# Power management controller
1011.1Sryotegrapmc*	at fdt? pass 4		# NVIDIA Tegra PMC
1021.1Sryo
1031.1Sryo# Clock and Reset controller
1041.1Sryosun8ih3ccu*	at fdt? pass 2		# Allwinner H3/H5 CCU
1051.1Sryosun8ih3rccu*	at fdt? pass 2		# Allwinner H3/H5 CCU (PRCM)
1061.1Sryosun50ia64ccu*	at fdt? pass 2		# Allwinner A64 CCU
1071.1Sryosunxiresets*	at fdt? pass 1		# Allwinner misc. resets
1081.1Sryosunxigates*	at fdt? pass 1		# Allwinner misc. gates
1091.1Sryosunxigmacclk*	at fdt? pass 2		# Allwinner GMAC MII/RGMII clock mux
1101.1Sryotegra210car*	at fdt? pass 3		# NVIDIA Tegra CAR (T210)
1111.1Sryo
1121.1Sryo# GPIO controller
1131.1Sryosunxigpio*	at fdt? pass 3		# Allwinner GPIO
1141.1Sryotegragpio*	at fdt? pass 2		# NVIDIA Tegra GPIO
1151.1Sryogpio*		at gpiobus?
1161.1Sryo
1171.1Sryo# MPIO / Pinmux
1181.1Sryotegrapinmux*	at fdt?			# NVIDIA Tegra MPIO
1191.1Sryo
1201.1Sryo# XUSB PADCTL
1211.1Sryotegra210xpad*	at fdt?			# NVIDIA Tegra XUSB PADCTL (T210)
1221.1Sryotegra210xphy*	at tegra210xpad?
1231.1Sryo
1241.1Sryo# PCIE
1251.1Sryo# XXXNH not yet
1261.1Sryo#tegrapcie0	at fdt?			# NVIDIA Tegra PCIE
1271.1Sryo#pci*		at tegrapcie0
1281.1Sryo#ppb*		at pci? dev ? function ?
1291.1Sryo#pci*		at ppb?
1301.1Sryo
1311.1Sryo# Ethernet
1321.1Sryoemac*		at fdt?			# Allwinner Gigabit Ethernet (EMAC)
1331.1Sryo#re*		at pci? dev ? function ?	# Realtek RTL8111GS
1341.1Sryo
1351.1Sryo# MII/PHY support
1361.1Sryoexphy* 		at mii? phy ?		# 3Com internal PHYs
1371.1Sryogentbi* 	at mii? phy ?		# Generic Ten-Bit 1000BASE-[CLS]X PHYs
1381.1Sryoglxtphy*	at mii? phy ?		# Level One LXT-1000 PHYs
1391.1Sryogphyter* 	at mii? phy ?		# NS83861 Gig-E PHY
1401.1Sryoicsphy*		at mii? phy ?		# Integrated Circuit Systems ICS189x
1411.1Sryoigphy*		at mii? phy ?		# Intel IGP01E1000
1421.1Sryoihphy*		at mii? phy ?		# Intel 82577 PHYs
1431.1Sryoikphy*		at mii? phy ?		# Intel 82563 PHYs
1441.1Sryoinphy*		at mii? phy ?		# Intel 82555 PHYs
1451.1Sryoiophy*		at mii? phy ?		# Intel 82553 PHYs
1461.1Sryolxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
1471.1Sryomakphy*		at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
1481.1Sryonsphy*		at mii? phy ?		# NS83840 PHYs
1491.1Sryonsphyter*	at mii? phy ? 		# NS83843 PHYs
1501.1Sryopnaphy*		at mii? phy ?		# generic HomePNA PHYs
1511.1Sryoqsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
1521.1Sryordcphy*		at mii? phy ?		# RDC R6040 10/100 PHY
1531.1Sryorgephy*		at mii? phy ?		# Realtek 8169S/8110S internal PHYs
1541.1Sryorlphy*		at mii? phy ?		# Realtek 8139/8201L PHYs
1551.1Sryosqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
1561.1Sryotlphy*		at mii? phy ?		# ThunderLAN PHYs
1571.1Sryotqphy*		at mii? phy ?		# TDK Semiconductor PHYs
1581.1Sryourlphy*		at mii? phy ?		# Realtek RTL8150L internal PHYs
1591.1Sryoukphy*		at mii? phy ?		# generic unknown PHYs
1601.1Sryo
1611.1Sryo# Mini-PCIe Wireless
1621.1Sryo#options 	ATHHAL_AR5212,ATHHAL_RF2425	# AR5BHB63
1631.1Sryo#ath*		at pci? dev ? function ?	# Atheros IEEE 802.11
1641.1Sryo#athn*		at pci? dev ? function ?	# Atheros IEEE 802.11
1651.1Sryo
1661.1Sryo# UART
1671.1Sryocom*		at fdt?			# UART
1681.1Sryoplcom*		at fdt?			# ARM PL011 UART
1691.1Sryo
1701.1Sryo# I2C controllers
1711.1Sryosunxirsb*	at fdt?			# Allwinner RSB
1721.1Sryosunxitwi*	at fdt?			# Allwinner TWI
1731.1Sryotegrai2c*	at fdt? pass 4		# NVIDIA Tegra I2C
1741.1Sryoiic*		at i2cbus?
1751.1Sryo
1761.1Sryo# I2C devices
1771.1Sryotitemp*		at iic?
1781.1Sryoseeprom*	at iic?
1791.1Sryoas3722pmic*	at iic?
1801.1Sryoas3722reg*	at as3722pmic?
1811.1Sryomax77620pmic*	at iic?
1821.1Sryotcagpio*	at iic?
1831.1Sryo
1841.1Sryo# Random number generators
1851.1Sryo
1861.1Sryo# RTC
1871.1Sryosunxirtc*	at fdt?			# Allwinner RTC
1881.1Sryotegrartc*	at fdt?			# NVIDIA Tegra RTC
1891.1Sryo
1901.1Sryo# SDMMC
1911.1Sryommcpwrseq*	at fdt?			# Simple MMC power sequence provider
1921.1Sryosdhc*		at fdt?			# SD Host Controller Interface
1931.1Sryosunximmc*	at fdt?			# Allwinner SD/MMC
1941.1Sryosdmmc*		at sdmmcbus?
1951.1Sryold0		at sdmmc0
1961.1Sryold1		at sdmmc1
1971.1Sryold2		at sdmmc2
1981.1Sryold3		at sdmmc3
1991.1Sryold*		at sdmmc?
2001.1Sryo
2011.1Sryo# SATA
2021.1Sryoahcisata*	at fdt?			# AHCI SATA
2031.1Sryoatabus*		at ata?
2041.1Sryoatapibus*	at atapi?
2051.1Sryowd*		at atabus? drive ?
2061.1Sryocd*		at atapibus? drive ?
2071.1Sryo
2081.1Sryo# SPI controllers
2091.1Sryo#spi*		at spibus?
2101.1Sryo
2111.1Sryo# Audio support
2121.1Sryohdaudio*	at fdt?			# Intel HDA
2131.1Sryohdafg*		at hdaudiobus?
2141.1Sryooptions 	HDAUDIOVERBOSE
2151.1Sryooptions 	HDAUDIO_32BIT_ACCESS
2161.1Sryooptions 	HDAUDIO_ENABLE_HDMI
2171.1Sryooptions 	HDAUDIO_ENABLE_DISPLAYPORT
2181.1Sryosunxicodec*	at fdt?			# Allwinner audio codec
2191.1Sryoh3codec*	at fdt?			# Allwinner H3 audio codec (analog part)
2201.1Sryoaudio*		at audiobus?
2211.1Sryo
2221.1Sryospkr*		at audio?		# PC speaker (synthesized)
2231.1Sryo
2241.1Sryo# HDMI CEC
2251.1Sryotegracec0	at fdt?			# NVIDIA Tegra HDMI CEC
2261.1Sryohdmicec*	at hdmicecbus?
2271.1Sryo
2281.1Sryo# Display
2291.1Sryo#tegradrm*	at fdt?			# NVIDIA Tegra Display
2301.1Sryo#tegrafb*	at tegrafbbus?
2311.1Sryogenfb*		at fdt?			# Simple Framebuffer
2321.1Sryowsdisplay*	at wsemuldisplaydev?
2331.1Sryooptions 	VCONS_DRAW_INTR
2341.1Sryooptions 	WSEMUL_VT100
2351.1Sryooptions 	WS_DEFAULT_FG=WSCOL_WHITE
2361.1Sryooptions 	WS_DEFAULT_BG=WSCOL_BLACK
2371.1Sryooptions 	WS_KERNEL_FG=WSCOL_GREEN
2381.1Sryooptions 	WS_KERNEL_BG=WSCOL_BLACK
2391.1Sryooptions 	WSDISPLAY_COMPAT_PCVT
2401.1Sryooptions 	WSDISPLAY_COMPAT_SYSCONS
2411.1Sryooptions 	WSDISPLAY_COMPAT_USL
2421.1Sryooptions 	WSDISPLAY_COMPAT_RAWKBD
2431.1Sryooptions 	WSDISPLAY_DEFAULTSCREENS=4
2441.1Sryopseudo-device	wsmux
2451.1Sryopseudo-device	wsfont
2461.1Sryo
2471.1Sryo# GPU
2481.1Sryo#nouveau*	at fdt?			# NVIDIA GPU
2491.1Sryo
2501.1Sryo# Thermal throttling controller
2511.1Sryotegrasoctherm*	at fdt?			# NVIDIA Tegra SOC_THERM
2521.1Sryo
2531.1Sryo# USB
2541.1Sryosunxiusbphy*	at fdt? pass 9		# Allwinner USB PHY
2551.1Sryotegrausbphy*	at fdt?			# NVIDIA Tegra USB PHY
2561.1Sryo#dwctwo*		at fdt?			# Designware USB DRD
2571.1Sryoehci*		at fdt?			# EHCI
2581.1Sryo#motg*		at fdt?			# Mentor Graphics USB OTG
2591.1Sryoohci*		at fdt?			# OHCI
2601.1Sryoxhci*		at fdt?			# XHCI
2611.1Sryousb*		at usbus?
2621.1Sryo
2631.1Sryoinclude "dev/usb/usbdevices.config"
2641.1Sryomidi*		at midibus?
2651.1Sryo
2661.1Sryocinclude "arch/evbarm/conf/GENERIC.local"
267