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