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