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