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