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