Home | History | Annotate | Line # | Download | only in conf
GENERIC64 revision 1.81
      1 #
      2 #	$NetBSD: GENERIC64,v 1.81 2019/03/05 11:44:22 jmcneill Exp $
      3 #
      4 #	GENERIC ARM (aarch64) kernel
      5 #
      6 
      7 include	"arch/evbarm/conf/std.generic64"
      8 include "arch/evbarm/conf/files.generic64"
      9 include	"arch/evbarm/conf/GENERIC.common"
     10 
     11 #
     12 # FDT files supported by this kernel - add to DTSSUBDIR and DTS as
     13 # appropriate
     14 #
     15 makeoptions 	DTSARCH="arm aarch64"
     16 makeoptions	DTSGNUARCH="arm arm64"
     17 makeoptions	DTSSUBDIR="allwinner amlogic broadcom nvidia rockchip"
     18 makeoptions	DTS="
     19 	bcm2837-rpi-3-b.dts
     20 	bcm2837-rpi-3-b-plus.dts
     21 	bcm2837-rpi-cm3-io3.dts
     22 
     23 	meson-gxbb-nanopi-k2.dts
     24 	meson-gxbb-nexbox-a95x.dts
     25 	meson-gxbb-odroidc2.dts
     26 	meson-gxbb-p200.dts
     27 	meson-gxbb-p201.dts
     28 	meson-gxbb-vega-s95-meta.dts
     29 	meson-gxbb-vega-s95-pro.dts
     30 	meson-gxbb-vega-s95-telos.dts
     31 	meson-gxbb-wetek-hub.dts
     32 	meson-gxbb-wetek-play2.dts
     33 
     34 	rk3328-evb.dts
     35 	rk3328-roc-cc.dts
     36 	rk3328-rock64.dts
     37 
     38 	rk3399-evb.dts
     39 	rk3399-ficus.dts
     40 	rk3399-firefly.dts
     41 	rk3399-gru-bob.dts
     42 	rk3399-gru-kevin.dts
     43 	rk3399-puma-haikou.dts
     44 	rk3399-roc-pc.dts
     45 	rk3399-rock960.dts
     46 	rk3399-rockpro64.dts
     47 	rk3399-sapphire-excavator.dts
     48 	rk3399-sapphire.dts
     49 
     50 	sun50i-a64-bananapi-m64.dts
     51 	sun50i-a64-nanopi-a64.dts
     52 	sun50i-a64-olinuxino.dts
     53 	sun50i-a64-orangepi-win.dts
     54 	sun50i-a64-pine64-plus.dts
     55 	sun50i-a64-pine64.dts
     56 	sun50i-a64-pinebook.dts
     57 	sun50i-a64-sopine-baseboard.dts
     58 	sun50i-a64-teres-i.dts
     59 
     60 	sun50i-h5-bananapi-m2-plus-v1.2.dts
     61 	sun50i-h5-bananapi-m2-plus.dts
     62 	sun50i-h5-libretech-all-h3-cc.dts
     63 	sun50i-h5-nanopi-neo-plus2.dts
     64 	sun50i-h5-nanopi-neo2.dts
     65 	sun50i-h5-orangepi-pc2.dts
     66 	sun50i-h5-orangepi-prime.dts
     67 	sun50i-h5-orangepi-zero-plus.dts
     68 	sun50i-h5-orangepi-zero-plus2.dts
     69 
     70 	sun50i-h6-orangepi-one-plus.dts
     71 	sun50i-h6-pine-h64.dts
     72 
     73 	tegra210-p2371-0000.dts
     74 	tegra210-p2371-2180.dts
     75 	tegra210-p2571.dts
     76 	tegra210-smaug.dts
     77 "
     78 options 	CPU_CORTEXA53
     79 options 	CPU_CORTEXA57
     80 options 	CPU_THUNDERX
     81 options 	SOC_BCM2837
     82 options 	SOC_MESONGXBB
     83 options 	SOC_RK3328
     84 options 	SOC_RK3399
     85 options 	SOC_SUN50I_A64
     86 options 	SOC_SUN50I_H5
     87 options 	SOC_SUN50I_H6
     88 options 	SOC_TEGRA210
     89 #options 	SOC_THUNDERX
     90 options 	SOC_VIRT
     91 options 	MULTIPROCESSOR
     92 
     93 pseudo-device 	openfirm	# /dev/openfirm
     94 
     95 #options 	DIAGNOSTIC	# internal consistency checks
     96 #options 	DEBUG
     97 #options 	LOCKDEBUG
     98 #options 	PMAP_DEBUG	# Enable pmap_debug_level code
     99 options 	VERBOSE_INIT_ARM # verbose bootstrapping messages
    100 options 	INCLUDE_CONFIG_FILE
    101 # EARLYCONS is required for early init messages from VERBOSE_INIT_ARM.
    102 #options 	EARLYCONS=bcm2837
    103 #options 	EARLYCONS=meson, CONSADDR=0xc81004c0
    104 #options 	EARLYCONS=rk3328, CONSADDR=0xff130000
    105 #options 	EARLYCONS=rk3399, CONSADDR=0xff1a0000
    106 #options 	EARLYCONS=sunxi, CONSADDR=0x01c28000
    107 #options 	EARLYCONS=tegra, CONSADDR=0x70006000
    108 #options 	EARLYCONS=thunderx, CONSADDR=0x87e024000000
    109 #options 	EARLYCONS=virt
    110 
    111 # Kernel Address Sanitizer (kASan).
    112 #makeoptions 	KASAN=1		# Kernel Address Sanitizer
    113 #options 	KASAN
    114 
    115 makeoptions	DEBUG="-g"	# compile full symbol table
    116 makeoptions	COPY_SYMTAB=1
    117 
    118 config		netbsd		root on ? type ?
    119 
    120 options 	COMPAT_NETBSD32
    121 options 	EXEC_ELF32
    122 
    123 # EFI runtime support
    124 options 	EFI_RUNTIME
    125 
    126 # Device tree support
    127 armfdt0		at root
    128 simplebus*	at fdt? pass 0
    129 
    130 # ACPI support
    131 acpifdt*	at fdt? pass 1
    132 acpi*		at acpifdt?
    133 acpibut*	at acpi?
    134 acpiged*	at acpi?
    135 acpilid*	at acpi?
    136 
    137 # CPUs
    138 cpus*		at fdt? pass 0
    139 cpu*		at fdt? pass 0
    140 cpu*		at acpi?
    141 
    142 # Performance monitors
    143 armpmu*		at fdt?
    144 pseudo-device	tprof
    145 
    146 # CPU frequency scaling
    147 cpufreqdt*	at cpu?
    148 
    149 # Power State Coordination Interface (PSCI)
    150 psci*		at fdt?
    151 
    152 fclock*		at fdt? pass 1
    153 ffclock*	at fdt? pass 1
    154 fregulator*	at fdt? pass 4
    155 gregulator*	at fdt? pass 4
    156 gpiokeys*	at fdt?
    157 wskbd*		at gpiokeys? console ? mux 1
    158 gpioleds*	at fdt?
    159 
    160 # System Controller
    161 syscon*		at fdt? pass 1		# Generic System Controller
    162 sunxisramc*	at fdt? pass 1		# Allwinner System Control
    163 
    164 # Timer
    165 gtmr*		at fdt? pass 1		# ARM Generic Timer
    166 gtmr*		at acpi?
    167 armgtmr0	at gtmr?
    168 tegratimer*	at fdt?			# Timers
    169 
    170 # Watchdog
    171 sbsawdt*	at acpi?		# ARM SBSA-compliant watchdog
    172 sunxiwdt*	at fdt?			# Allwinner watchdog
    173 watchdog*	at fdt?			# Broadcom BCM283x watchdog
    174 
    175 # Interrupt controller
    176 bcmicu*		at fdt? pass 1		# Broadcom BCM283x ICU
    177 tegralic*	at fdt? pass 1		# NVIDIA Tegra LIC
    178 gic*		at fdt? pass 1		# ARM GICv2
    179 gic*		at acpi?
    180 armgic0		at gic?
    181 gicvthree*	at fdt? pass 1		# ARM GICv3
    182 gicvthree*	at acpi?
    183 sunxinmi*	at fdt? pass 2		# Allwinner NMI / R_INTC
    184 
    185 # Memory controller
    186 tegramc*	at fdt?	pass 4		# NVIDIA Tegra MC
    187 
    188 # Firmware devices
    189 bcmmbox*	at fdt?			# Broadcom VideoCore IV mailbox
    190 vcmbox*		at bcmmbox?
    191 qemufwcfg*	at fdt?			# QEMU Firmware Configuration device
    192 qemufwcfg*	at acpi?
    193 
    194 # DMA controller
    195 bcmdmac*	at fdt?			# Broadcom BCM283x DMA controller
    196 sun6idma*	at fdt?			# Allwinner DMA controller (sun6i)
    197 tegraapbdma*	at fdt? pass 4		# NVIDIA Tegra APB DMA
    198 
    199 # FUSE controller
    200 sunxisid*	at fdt? pass 4		# Allwinner SID
    201 tegrafuse*	at fdt? pass 4		# NVIDIA Tegra FUSE
    202 
    203 # Power management controller
    204 tegrapmc*	at fdt? pass 4		# NVIDIA Tegra PMC
    205 
    206 # Clock and Reset controller
    207 bcmcprman*	at fdt? pass 1		# Broadcom BCM283x Clock Manager
    208 bcmaux*		at fdt? pass 1		# Broadcom BCM283x Aux Periph Clocks
    209 gxbbaoclkc*	at fdt? pass 2		# Amlogic Meson GXBB AO clock controller
    210 gxbbclkc*	at fdt? pass 2		# Amlogic Meson GXBB EE clock controller
    211 mesonresets*	at fdt? pass 2		# Amlogic Meson misc. clock resets
    212 rkcru*		at fdt? pass 2		# Rockchip RK3328 CRU
    213 sun8ih3ccu*	at fdt? pass 2		# Allwinner H3/H5 CCU
    214 sun8ih3rccu*	at fdt? pass 2		# Allwinner H3/H5 CCU (PRCM)
    215 sun50ia64ccu*	at fdt? pass 2		# Allwinner A64 CCU
    216 sun50ia64rccu*	at fdt? pass 2		# Allwinner A64 CCU (PRCM)
    217 sun50ih6ccu*	at fdt? pass 2		# Allwinner H6 CCU
    218 sun50ih6rccu*	at fdt? pass 2		# Allwinner H6 CCU (PRCM)
    219 sunxide2ccu*	at fdt? pass 3		# Allwinner DE2 clock controller
    220 sunxiresets*	at fdt? pass 1		# Allwinner misc. resets
    221 sunxigates*	at fdt? pass 1		# Allwinner misc. gates
    222 sunxigmacclk*	at fdt? pass 2		# Allwinner GMAC MII/RGMII clock mux
    223 tegra210car*	at fdt? pass 3		# NVIDIA Tegra CAR (T210)
    224 
    225 # GPIO controller
    226 bcmgpio*	at fdt?			# Broadcom BCM283x GPIO
    227 mesonpinctrl*	at fdt? pass 2		# Amlogic Meson GPIO
    228 plgpio*		at fdt?			# ARM PrimeCell PL061 GPIO
    229 plgpio*		at acpi?
    230 sunxigpio*	at fdt? pass 3		# Allwinner GPIO
    231 tegragpio*	at fdt? pass 2		# NVIDIA Tegra GPIO
    232 rkgpio*		at rkiomux?		# Rockchip GPIO
    233 gpio*		at gpiobus?
    234 
    235 # PWM controller
    236 sunxipwm*	at fdt? pass 3		# Allwinner PWM
    237 
    238 # MPIO / Pinmux
    239 rkiomux*	at fdt?	pass 3		# Rockchip IOMUX
    240 tegrapinmux*	at fdt?			# NVIDIA Tegra MPIO
    241 
    242 # XUSB PADCTL
    243 tegra210xpad*	at fdt?			# NVIDIA Tegra XUSB PADCTL (T210)
    244 tegra210xphy*	at tegra210xpad?
    245 
    246 # PCIE
    247 pcihost*	at fdt?			# Generic PCI host controller
    248 acpipchb*	at acpi?		# ACPI PCIe host bridge
    249 tegrapcie0	at fdt?			# NVIDIA Tegra PCIE
    250 pci*		at pcibus?
    251 ppb*		at pci? dev ? function ?
    252 pci*		at ppb?
    253 
    254 # Ethernet
    255 awge*		at fdt?				# DesignWare Gigabit Ethernet
    256 emac*		at fdt?				# Allwinner Gigabit Ethernet (EMAC)
    257 ena*		at pci? dev ? function ?	# Amazon.com Elastic Network Adapter
    258 mskc*		at pci? dev ? function ?	# Marvell Yukon 2 Gigabit Ethernet
    259 msk*		at mskc?
    260 re*		at pci? dev ? function ?	# Realtek RTL8111GS
    261 
    262 # MII/PHY support
    263 exphy* 		at mii? phy ?		# 3Com internal PHYs
    264 gentbi* 	at mii? phy ?		# Generic Ten-Bit 1000BASE-[CLS]X PHYs
    265 glxtphy*	at mii? phy ?		# Level One LXT-1000 PHYs
    266 gphyter* 	at mii? phy ?		# NS83861 Gig-E PHY
    267 icsphy*		at mii? phy ?		# Integrated Circuit Systems ICS189x
    268 igphy*		at mii? phy ?		# Intel IGP01E1000
    269 ihphy*		at mii? phy ?		# Intel 82577 PHYs
    270 ikphy*		at mii? phy ?		# Intel 82563 PHYs
    271 inphy*		at mii? phy ?		# Intel 82555 PHYs
    272 iophy*		at mii? phy ?		# Intel 82553 PHYs
    273 lxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
    274 makphy*		at mii? phy ?		# Marvell Semiconductor 88E1000 PHYs
    275 nsphy*		at mii? phy ?		# NS83840 PHYs
    276 nsphyter*	at mii? phy ? 		# NS83843 PHYs
    277 pnaphy*		at mii? phy ?		# generic HomePNA PHYs
    278 qsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
    279 rdcphy*		at mii? phy ?		# RDC R6040 10/100 PHY
    280 rgephy*		at mii? phy ?		# Realtek 8169S/8110S internal PHYs
    281 rlphy*		at mii? phy ?		# Realtek 8139/8201L PHYs
    282 sqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
    283 tlphy*		at mii? phy ?		# ThunderLAN PHYs
    284 tqphy*		at mii? phy ?		# TDK Semiconductor PHYs
    285 urlphy*		at mii? phy ?		# Realtek RTL8150L internal PHYs
    286 ukphy*		at mii? phy ?		# generic unknown PHYs
    287 
    288 # Mini-PCIe Wireless
    289 #options 	ATHHAL_AR5212,ATHHAL_RF2425	# AR5BHB63
    290 #ath*		at pci? dev ? function ?	# Atheros IEEE 802.11
    291 #athn*		at pci? dev ? function ?	# Atheros IEEE 802.11
    292 
    293 # UART
    294 com*		at fdt?	pass 4			# UART
    295 com*		at acpi?
    296 mesonuart*	at fdt? pass 4			# Amlogic Meson UART
    297 plcom*		at fdt?	pass 4			# ARM PL011 UART
    298 plcom*		at acpi?
    299 puc*		at pci? dev ? function ?	# PCI "universal" comm. cards
    300 com*		at puc? port ?
    301 
    302 # I2C controllers
    303 bsciic*		at fdt?			# Broadcom BCM283x Serial Control
    304 dwiic*		at fdt?			# Designware I2C
    305 dwiic*		at acpi?
    306 rkiic*		at fdt?			# Rockchip I2C
    307 sunxirsb*	at fdt?	pass 4		# Allwinner RSB
    308 sunxitwi*	at fdt?			# Allwinner TWI
    309 tegrai2c*	at fdt? pass 4		# NVIDIA Tegra I2C
    310 iic*		at i2cbus?
    311 
    312 # I2C devices
    313 titemp*		at iic?
    314 seeprom*	at iic?
    315 spdmem*		at iic?			# memory module SPD EEPROM decoder
    316 as3722pmic*	at iic?
    317 as3722reg*	at as3722pmic?
    318 axppmic*	at iic?			# X-Powers AXP Power Management IC
    319 axpreg*		at axppmic?
    320 fan53555reg*	at iic?			# FAN53555 / SY82x regulator
    321 max77620pmic*	at iic?
    322 pcf8563rtc*	at iic?			# PCF8563 RTC
    323 rkpmic*		at iic?			# Rockchip Power Management IC
    324 rkreg*		at rkpmic?
    325 tcagpio*	at iic?
    326 
    327 # Random number generators
    328 bcmrng*		at fdt?			# Broadcom BCM283x RNG
    329 amdccp*		at fdt?			# AMD Cryptograhic Coprocessor RNG
    330 amdccp*		at acpi?
    331 
    332 # RTC
    333 plrtc*		at fdt?			# ARM PrimeCell RTC
    334 sunxirtc*	at fdt?			# Allwinner RTC
    335 tegrartc*	at fdt?			# NVIDIA Tegra RTC
    336 
    337 # SDMMC
    338 dwcmmc*		at fdt?			# Designware SD/MMC
    339 mesongxmmc*	at fdt?			# Amlogic Meson GX eMMC/SD/SDIO controller
    340 mmcpwrseq*	at fdt?			# Simple MMC power sequence provider
    341 sdhc*		at fdt?			# SD Host Controller Interface
    342 sdhost*		at fdt?			# Broadcom BCM283x SD Host Interface
    343 sunximmc*	at fdt?			# Allwinner SD/MMC
    344 sdmmc*		at sdmmcbus?
    345 ld0		at sdmmc0
    346 ld1		at sdmmc1
    347 ld2		at sdmmc2
    348 ld3		at sdmmc3
    349 ld*		at sdmmc?
    350 
    351 # SATA
    352 ahcisata*	at fdt?			# AHCI SATA
    353 ahcisata*	at acpi?
    354 atabus*		at ata?
    355 atapibus*	at atapi?
    356 wd*		at atabus? drive ?
    357 cd*		at atapibus? drive ?
    358 
    359 # NVMe
    360 nvme*		at pci? dev ? function ?
    361 ld*		at nvme? nsid ?
    362 
    363 # SPI controllers
    364 bcmspi*		at fdt?			# Broadcom BCM283x SPI
    365 spi*		at spibus?
    366 
    367 # Audio support
    368 hdaudio*	at fdt?			# Intel HDA
    369 hdafg*		at hdaudiobus?
    370 options 	HDAUDIOVERBOSE
    371 options 	HDAUDIO_32BIT_ACCESS
    372 options 	HDAUDIO_ENABLE_HDMI
    373 options 	HDAUDIO_ENABLE_DISPLAYPORT
    374 ausoc*		at fdt?			# Simple SoC audio card
    375 sunxicodec*	at fdt?			# Allwinner audio codec
    376 sun8icodec*	at fdt?			# Allwinner audio codec (sun8i/sun50i)
    377 h3codec*	at fdt?			# Allwinner H3 audio codec (analog part)
    378 a64acodec*	at fdt?			# Allwinner A64 audio codec (analog part)
    379 sunxii2s*	at fdt?			# Allwinner I2S/PCM
    380 audio*		at audiobus?
    381 
    382 spkr*		at audio?		# PC speaker (synthesized)
    383 
    384 # HDMI CEC
    385 tegracec0	at fdt?			# NVIDIA Tegra HDMI CEC
    386 hdmicec*	at hdmicecbus?
    387 
    388 # Display
    389 anxedp*		at iic?			# Analogix eDP TX
    390 dispcon*	at fdt?			# Display connector devices
    391 dwhdmi* 	at fdt?			# Designware HDMI TX
    392 sunxide2bus*	at fdt? pass 4		# Allwinner DE2 bus
    393 sunxidrm*	at fdt?	pass 5		# Allwinner Display Pipeline
    394 sunxifb*	at sunxidrm?		# Allwinner DRM framebuffer
    395 sunxihdmiphy*	at fdt? pass 9		# Allwinner HDMI TX PHY
    396 sunxilcdc*	at fdt?			# Allwinner DE2 timing controller
    397 sunximixer*	at fdt?			# Allwinner DE2 mixer
    398 #tegradrm*	at fdt?			# NVIDIA Tegra Display
    399 #tegrafb*	at tegrafbbus?
    400 genfb*		at fdt?			# Simple Framebuffer
    401 wsdisplay*	at wsemuldisplaydev?
    402 options 	VCONS_DRAW_INTR
    403 options 	WSEMUL_VT100
    404 options 	WS_DEFAULT_FG=WSCOL_WHITE
    405 options 	WS_DEFAULT_BG=WSCOL_BLACK
    406 options 	WS_KERNEL_FG=WSCOL_GREEN
    407 options 	WS_KERNEL_BG=WSCOL_BLACK
    408 options 	WSDISPLAY_COMPAT_PCVT
    409 options 	WSDISPLAY_COMPAT_SYSCONS
    410 options 	WSDISPLAY_COMPAT_USL
    411 options 	WSDISPLAY_COMPAT_RAWKBD
    412 options 	WSDISPLAY_DEFAULTSCREENS=4
    413 options 	WSDISPLAY_MULTICONS
    414 pseudo-device	wsmux
    415 pseudo-device	wsfont
    416 
    417 # GPU
    418 #nouveau*	at fdt?			# NVIDIA GPU
    419 
    420 # Backlight
    421 pwmbacklight*	at fdt?			# PWM Backlight controls
    422 
    423 # Thermal throttling controller
    424 sunxithermal*	at fdt?			# Allwinner thermal sensor controller
    425 tegrasoctherm*	at fdt?			# NVIDIA Tegra SOC_THERM
    426 
    427 # USB
    428 mesonusbphy*	at fdt? pass 9		# Amlogic Meson USB2 PHY
    429 rkusb*		at fdt? pass 9		# Rockchip USB PHY
    430 rkusbphy*	at rkusb?
    431 sunxiusbphy*	at fdt? pass 9		# Allwinner USB PHY
    432 sunxiusb3phy*	at fdt? pass 9		# Allwinner USB3 PHY
    433 tegrausbphy*	at fdt?			# NVIDIA Tegra USB PHY
    434 dwctwo*		at fdt?			# Designware USB DRD
    435 ehci*		at fdt?			# EHCI
    436 ehci*		at pci?			# EHCI
    437 ehci*		at acpi?		# EHCI
    438 motg*		at fdt?			# Mentor Graphics USB OTG
    439 ohci*		at fdt?			# OHCI
    440 ohci*		at pci?			# OHCI
    441 xhci*		at fdt?			# XHCI
    442 xhci*		at pci?			# XHCI
    443 xhci*		at acpi?		# XHCI
    444 usb*		at usbus?
    445 
    446 include "dev/usb/usbdevices.config"
    447 midi*		at midibus?
    448 
    449 # Virtio devices
    450 virtio*		at fdt?			# Virtio MMIO device
    451 virtio*		at acpi?
    452 virtio*		at pci? dev ? function ?
    453 #viomb*		at virtio?		# Virtio memory balloon device
    454 ld*		at virtio?		# Virtio disk device
    455 vioif*		at virtio?		# Virtio network device
    456 viornd*		at virtio?		# Virtio entropy device
    457 vioscsi*	at virtio?		# Virtio SCSI device
    458 
    459 # SCSI bus support
    460 scsibus*	at scsi?
    461 sd*		at scsibus? target ? lun ?	# SCSI disk drives
    462 
    463 cinclude "arch/evbarm/conf/GENERIC64.local"
    464