GENERIC revision 1.77
1# 2# $NetBSD: GENERIC,v 1.77 2020/05/18 21:19:35 jmcneill Exp $ 3# 4# GENERIC ARM (aarch32) kernel 5# 6 7include "arch/evbarm/conf/std.generic" 8include "arch/evbarm/conf/files.generic" 9include "arch/evbarm/conf/GENERIC.common" 10 11options CPU_CORTEXA5 12options CPU_CORTEXA7 13options CPU_CORTEXA8 14options CPU_CORTEXA9 15options CPU_CORTEXA15 16options CPU_CORTEXA17 17options CPU_CORTEXA53 18 19options SOC_AM33XX 20options SOC_BCM2836 21options SOC_EXYNOS5422 22options SOC_MESON8B 23options SOC_OMAP3 24options SOC_SUN4I_A10 25options SOC_SUN5I_A13 26options SOC_SUN6I_A31 27options SOC_SUN7I_A20 28options SOC_SUN8I_A83T 29options SOC_SUN8I_H3 30options SOC_SUN9I_A80 31options SOC_TEGRA124 32options SOC_VIRT 33options SOC_ZYNQ7000 34 35options MULTIPROCESSOR 36 37pseudo-device openfirm # /dev/openfirm 38 39#options DIAGNOSTIC # internal consistency checks 40#options DEBUG 41#options LOCKDEBUG 42#options UVMHIST # kernhist for uvm/pmap subsystems 43 44options MSGBUFSIZE=32768 45 46#options VERBOSE_INIT_ARM # verbose bootstrapping messages 47 48# EARLYCONS is required for early init messages from VERBOSE_INIT_ARM. 49 50#options EARLYCONS=am33xx, CONSADDR=0x44e09000 51#options EARLYCONS=omap3, CONSADDR=0x49020000 52 53# ODROID-C1 54#options EARLYCONS=meson, CONSADDR=0xc81004c0 55 56# ODROID-U3 57#options EARLYCONS=exynos, CONSADDR=0x13810000 58 59# ODROID-XU lite 60#options EARLYCONS=exynos, CONSADDR=0x12c20000 61 62# RaspberryPIs 63#options EARLYCONS=bcm2835, CONSADDR=0x20201000 64#options EARLYCONS=bcm2836, CONSADDR=0x3f201000 65#options EARLYCONS=bcm2837, CONSADDR=0x3f215040 66 67#options EARLYCONS=cycv, CONSADDR=0xffc02000 68#options EARLYCONS=rk3328, CONSADDR=0xff130000 69#options EARLYCONS=sunxi, CONSADDR=0x01c28000 70 71# TEGRA TK1 72#options EARLYCONS=tegra, CONSADDR=0x70006300 73 74#options EARLYCONS=vexpress, CONSADDR=0x1c090000 75#options EARLYCONS=virt, CONSADDR=0x09000000 76 77#options EARLYCONS=zynq, CONSADDR=0xe0001000 78 79makeoptions DEBUG="-g" # compile full symbol table 80makeoptions COPY_SYMTAB=1 81 82config netbsd root on ? type ? 83 84# Device tree support 85armfdt0 at root 86simplebus* at fdt? pass 0 87 88# CPUs 89cpus* at fdt? pass 0 90cpu* at fdt? pass 0 91 92# CPU frequency scaling 93tegra124cpu* at cpu? 94cpufreqdt* at cpu? 95 96# Power State Coordination Interface (PSCI) 97psci* at fdt? 98 99# Clock and reset controllers 100am3prcm* at fdt? pass 1 # TI AM335x PRCM 101cycvclkmgr* at fdt? pass 1 # Cyclone V clock manager 102cycvrstmgr* at fdt? pass 0 # Cyclone V reset manager 103exy5410clk* at fdt? pass 3 # Exynos5410 clock controller 104exy5422clk* at fdt? pass 3 # Exynos5422 clock controller 105meson8bclkc* at fdt? pass 2 # Amlogic Meson8b clock controller 106mesonresets* at fdt? pass 2 # Amlogic Meson misc. clock resets 107omap3cm* at fdt? pass 1 # TI OMAP3 CM 108omap3prm* at fdt? pass 1 # TI OMAP3 PRM 109sun4ia10ccu* at fdt? pass 2 # Allwinner A10/A20 CCU 110sun5ia13ccu* at fdt? pass 2 # Allwinner A13 CCU 111sun6ia31ccu* at fdt? pass 2 # Allwinner A31 CCU 112sun8ia83tccu* at fdt? pass 2 # Allwinner A83T CCU 113sun8ih3ccu* at fdt? pass 2 # Allwinner H3 CCU 114sun8ih3rccu* at fdt? pass 2 # Allwinner H3 CCU (PRCM) 115sun9ia80ccu* at fdt? pass 2 # Allwinner A80 CCU 116sunxiresets* at fdt? pass 1 # Allwinner Misc. clock resets 117sunxigates* at fdt? pass 1 # Allwinner Misc. clock gates 118sunxigmacclk* at fdt? pass 2 # Allwinner GMAC MII/RGMII clock mux 119sun8iapbclk* at fdt? pass 2 # Allwinner A23 APB0 120sun9icpusclk* at fdt? pass 2 # Allwinner A80 CPUS 121sun9immcclk* at fdt? pass 2 # Allwinner A80 SD/MMC-COMM 122sun9iusbclk* at fdt? pass 2 # Allwinner A80 USB HCI 123tegra124car* at fdt? pass 3 # NVIDIA Tegra CAR (T124) 124tegra210car* at fdt? pass 3 # NVIDIA Tegra CAR (T210) 125tidivclk* at fdt? pass 1 # TI divider clock 126tidpllclk* at fdt? pass 2 # TI DPLL clock 127timuxclk* at fdt? pass 1 # TI mux clock 128 129fclock* at fdt? pass 1 130ffclock* at fdt? pass 1 131fregulator* at fdt? pass 5 132gregulator* at fdt? pass 4 133gpiokeys* at fdt? 134wskbd* at gpiokeys? console ? mux 1 135gpioleds* at fdt? 136 137# ARM Motherboard Express uATX system registers 138vxsysreg* at fdt? 139 140# SRAM controller 141sunxisramc* at fdt? pass 4 # SRAM controller 142 143# System Controller 144syscon* at fdt? pass 1 # Generic System Controller 145tisysc* at fdt? pass 2 # TI sysc interconnect 146#zynqslcr* at fdt? pass 1 # Zynq 7000 system Controller 147 148# Timer 149a9ptmr* at fdt? pass 2 # ARM Cortex A5/A9 Private Timer 150arma9ptmr* at a9ptmr? 151a9tmr* at fdt? pass 2 # ARM Cortex A5/A9 Timer 152arma9tmr* at a9tmr? 153gtmr* at fdt? pass 1 # ARM Generic Timer 154armgtmr0 at gtmr? 155mct* at fdt? pass 2 # Exynos Multi Core Timer (MCT) 156armgtmr* at mct? 157omaptimer* at fdt? # TI OMAP Timer 158meson6timer* at fdt? # Amlogic Timer 159sunxitimer* at fdt? # Allwinner async timer 160sunxihstimer* at fdt? # Allwinner High-Speed timer 161tegratimer* at fdt? # Timers 162 163# Watchdog 164bcmpmwdog* at fdt? # Broadcom BCM283x watchdog 165dwcwdt* at fdt? # DesignWare watchdog 166mesonwdt* at fdt? # Amlogic Meson watchdog 167sunxiwdt* at fdt? # Allwinner watchdog 168tiwdt* at fdt? # TI OMAP watchdog 169 170# Interrupt controller 171gic* at fdt? pass 1 # ARM GIC 172armgic0 at gic? 173bcmicu* at fdt? pass 1 # Broadcom BCM283x ICU 174exyointr* at fdt? pass 1 # Samsung Exynos ICU 175omapintc* at fdt? pass 2 # TI OMAP INTC 176tegralic* at fdt? pass 1 # NVIDIA Tegra LIC 177sunxiintc* at fdt? pass 1 # Allwinner INTC 178sunxinmi* at fdt? pass 2 # Allwinner NMI / R_INTC 179 180# Level 2 Cache Controller 181l2cc* at fdt? pass 2 # ARM Cortex A9 L2 Cache Controller 182arml2cc* at l2cc? 183 184# Memory controller 185tegramc* at fdt? pass 4 # NVIDIA Tegra MC 186tigpmc* at fdt? pass 4 # TI OMAP2 GPMC 187 188# Firmware devices 189bcmmbox* at fdt? # Broadcom VideoCore IV mailbox 190qemufwcfg* at fdt? # QEMU Firmware Configuration device 191vcmbox* at bcmmbox? 192 193# DMA controller 194bcmdmac* at fdt? # Broadcom BCM283x DMA controller 195sun4idma* at fdt? pass 4 # Allwinner DMA controller (sun4i) 196sun6idma* at fdt? pass 4 # Allwinner DMA controller (sun6i) 197tegraapbdma* at fdt? pass 4 # NVIDIA Tegra APB DMA 198tiedma* at fdt? pass 4 # TI EDMA3 (TPCC) 199titptc* at fdt? pass 3 # TI EDMA3 (TPTC) 200 201# FUSE controller 202tegrafuse* at fdt? pass 4 # NVIDIA Tegra FUSE 203 204# Power management controller 205tegrapmc* at fdt? pass 4 # NVIDIA Tegra PMC 206 207# Performance monitors 208armpmu* at fdt? 209pseudo-device tprof 210 211# Clock and Reset controller 212bcmcprman* at fdt? pass 1 # Broadcom BCM283x Clock Manager 213bcmaux* at fdt? pass 1 # Broadcom BCM283x Aux Periph Clocks 214 215# GPIO controller 216bcmgpio* at fdt? # Broadcom BCM283x GPIO 217exyopctl* at fdt? pass 2 # Samsung Exynos GPIO 218mesonpinctrl* at fdt? pass 2 # Amlogic Meson GPIO 219plgpio* at fdt? # ARM PrimeCell GPIO 220sunxigpio* at fdt? pass 3 # Allwinner GPIO 221tegragpio* at fdt? pass 2 # NVIDIA Tegra GPIO 222tigpio* at fdt? pass 2 # TI GPIO 223gpio* at gpiobus? 224 225# MPIO / Pinmux 226pinctrl* at fdt? pass 2 # Generic pinctrl driver 227tegrapinmux* at fdt? # NVIDIA Tegra MPIO 228 229# PWM controller 230expwm* at fdt? pass 4 # PWM 231sunxipwm* at fdt? pass 3 # Allwinner PWM 232 233# Backlight 234pwmbacklight* at fdt? # PWM Backlight controls 235 236# Fan 237pwmfan* at fdt? # PWM Fan controls 238 239# XUSB PADCTL 240tegra124xpad* at fdt? # NVIDIA Tegra XUSB PADCTL (T124) 241tegra210xpad* at fdt? # NVIDIA Tegra XUSB PADCTL (T210) 242tegra210xphy* at tegra210xpad? 243 244# PCIE 245pcihost* at fdt? # Generic PCI host controller 246tegrapcie0 at fdt? # NVIDIA Tegra PCIE 247pci* at pcibus? 248ppb* at pci? dev ? function ? 249pci* at ppb? 250 251# Ethernet 252awge* at fdt? # Allwinner Gigabit Ethernet (GMAC) 253cemac* at fdt? # Cadence EMAC/GEM ethernet controller 254cpsw* at fdt? # TI CPSW 3-port Ethernet Switch 255emac* at fdt? # Allwinner Fast/Gigabit Ethernet (EMAC) 256smsh* at fdt? # SMSC LAN9118 257 258# PCI Ethernet 259re* at pci? dev ? function ? # Realtek RTL8111GS 260 261# MII/PHY support 262exphy* at mii? phy ? # 3Com internal PHYs 263gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs 264glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 265gphyter* at mii? phy ? # NS83861 Gig-E PHY 266icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 267igphy* at mii? phy ? # Intel IGP01E1000 268ihphy* at mii? phy ? # Intel 82577 PHYs 269ikphy* at mii? phy ? # Intel 82563 PHYs 270inphy* at mii? phy ? # Intel 82555 PHYs 271iophy* at mii? phy ? # Intel 82553 PHYs 272lxtphy* at mii? phy ? # Level One LXT-970 PHYs 273makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 274nsphy* at mii? phy ? # NS83840 PHYs 275nsphyter* at mii? phy ? # NS83843 PHYs 276pnaphy* at mii? phy ? # generic HomePNA PHYs 277qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 278rdcphy* at mii? phy ? # RDC R6040 10/100 PHY 279rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs 280rlphy* at mii? phy ? # Realtek 8139/8201L PHYs 281sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 282tlphy* at mii? phy ? # ThunderLAN PHYs 283tqphy* at mii? phy ? # TDK Semiconductor PHYs 284urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 285ukphy* at mii? phy ? # generic unknown PHYs 286 287# Mini-PCIe Wireless 288#options ATHHAL_AR5212,ATHHAL_RF2425 # AR5BHB63 289#ath* at pci? dev ? function ? # Atheros IEEE 802.11 290#athn* at pci? dev ? function ? # Atheros IEEE 802.11 291 292# UART 293com* at fdt? pass 4 # UART 294exuart* at fdt? pass 4 # SSCOM UART 295plcom* at fdt? pass 4 # ARM PL011 UART 296mesonuart* at fdt? pass 4 # Amlogic Meson UART 297zynquart* at fdt? pass 4 # Cadence UART 298 299# I2C controllers 300options I2C_MAX_ADDR=0xfff 301bsciic* at fdt? # Broadcom BCM283x Serial Control 302exyoi2c* at fdt? # Samsung Exynos I2C 303sunxirsb* at fdt? pass 4 # Allwinner RSB 304sunxitwi* at fdt? # Allwinner TWI 305tegrai2c* at fdt? pass 4 # NVIDIA Tegra I2C 306tiiic* at fdt? pass 4 # TI OMAP I2C 307iic* at i2cbus? 308 309# I2C devices 310ac100ic* at iic? # AC100 integrated audio codec and RTC 311as3722pmic* at iic? 312as3722reg* at as3722pmic? 313axp20x* at iic? # AXP209 Power Management IC 314axp20xreg* at axp20x? 315axp22x* at iic? # AXP221 Power Management IC 316axppmic* at iic? # X-Powers AXP Power Management IC 317axpreg* at axppmic? 318max77620pmic* at iic? 319pcf8563rtc* at iic? # PCF8563 RTC 320seeprom* at iic? # AT24Cxx Serial EEPROM 321sy8106a* at iic? # Silergy SY81061 regulator 322tcakp* at iic? # TI TCA8418 Keypad Scan IC 323tcagpio* at iic? 324tdahdmi* at iic? # NXP TDA19988 HDMI encoder 325titemp* at iic? 326tps65217pmic* at iic? # TI TPS65217 Power Management IC 327tps65217reg* at tps65217pmic? 328twl* at iic? # TI TWL4030 Power Management IC 329wskbd* at tcakp? console ? 330 331# CAN bus 332options CAN # Controller Area Network protocol 333pseudo-device canloop # CAN loopback interface 334sunxican* at fdt? # A10/A20 CAN controller 335 336# SPI 337sun4ispi* at fdt? 338sun6ispi* at fdt? 339spi* at spibus? 340 341# Random number generators 342bcmrng* at fdt? # Broadcom BCM283x RNG 343mesonrng* at fdt? # Amlogic Meson RNG 344tirng* at fdt? # TI RNG 345 346# Security ID EFUSE 347sunxisid* at fdt? pass 4 # SID 348 349# Low res ADC 350sunxilradc* at fdt? 351 352# RTC 353#exyortc* at fdt? # RTC 354mesonrtc* at fdt? # Amlogic Meson RTC 355plrtc* at fdt? # ARM PrimeCell RTC 356sunxirtc* at fdt? # Allwinner RTC 357tegrartc* at fdt? # NVIDIA Tegra RTC 358 359# Thermal sensor 360sunxithermal* at fdt? # Thermal sensor controller 361 362# BCM2835 VCHIQ, etc 363vchiq0 at fdt? 364vcaudio0 at vchiq0 365 366# Audio 367a64acodec* at fdt? # Allwinner A64 audio codec (analog part) 368aaci* at fdt? # ARM PrimeCell AACI 369ausoc* at fdt? # Simple SoC audio card 370h3codec* at fdt? # Allwinner H3 audio codec (analog part) 371hdaudio* at fdt? # Intel HDA 372hdafg* at hdaudiobus? 373options HDAUDIOVERBOSE 374options HDAUDIO_ENABLE_HDMI 375options HDAUDIO_ENABLE_DISPLAYPORT 376sun8icodec* at fdt? # Audio codec (sun8i) 377sunxicodec* at fdt? # Allwinner audio codec 378sunxii2s* at fdt? # I2S/PCM 379audio* at audiobus? 380spkr* at audio? 381 382# SDMMC 383bcmsdhost* at fdt? # Broadcom BCM283x SD Host Interface 384dwcmmc* at fdt? # DesignWare SDMMC 385mesonsdio* at fdt? # Amlogic Meson SDIO controller 386mesonsdhc* at fdt? # Amlogic Meson SDHC controller 387mmcpwrseq* at fdt? # Simple MMC power sequence provider 388plmmc* at fdt? # ARM PrimeCell MCI 389sdhc* at fdt? # SD Host Controller Interface 390sunximmc* at fdt? # Allwinner SD/MMC 391sdmmc* at sdmmcbus? 392ld0 at sdmmc0 393ld1 at sdmmc1 394ld2 at sdmmc2 395ld3 at sdmmc3 396ld* at sdmmc? 397bwfm* at sdmmc? # Broadcom BCM43xxx WiFi Interface 398 399# NAND Flash 400sunxinand* at fdt? # Allwinner NAND flash controller 401omapnand* at fdt? # TI OMAP2 flash controller 402nand* at nandbus? 403flash* at nand? dynamic 1 404 405# SATA 406ahcisata* at fdt? # AHCI SATA 407ahcisata* at pci? dev ? function ? 408atabus* at ata? 409atapibus* at atapi? 410wd* at atabus? drive ? 411cd* at atapibus? drive ? 412 413# NVMe 414nvme* at pci? dev ? function ? 415ld* at nvme? nsid ? 416 417# SPI controllers 418bcmspi* at fdt? # Broadcom BCM283x SPI 419spi* at spibus? 420 421# HDMI CEC 422tegracec0 at fdt? # NVIDIA Tegra HDMI CEC 423hdmicec* at hdmicecbus? 424 425# Display 426#tegradrm* at fdt? # NVIDIA Tegra Display 427#tegrafb* at tegrafbbus? 428genfb* at fdt? # Simple Framebuffer 429mesonfb* at fdt? # Amlogic Meson Framebuffer 430omapfb* at fdt? # TI OMAP3 Framebuffer 431wsdisplay* at wsemuldisplaydev? 432sunxidebe* at fdt? pass 4 # Display Backend 433genfb* at sunxidebe? 434sunxitcon* at fdt? pass 4 # LCD LVDS/RGB controller 435sunxihdmi* at fdt? pass 4 # HDMI controller 436connector* at fdt? pass 4 437panel* at fdt? pass 4 438#sunxidep must be after display pipeline elements but before genfb@fdt 439sunxidep* at fdt? pass 5 # Display Engine Pipeline 440tilcdc* at fdt? # TI OMAP4 LCDC 441tifb* at tilcdc? 442 443options VCONS_DRAW_INTR 444options WSEMUL_VT100 445options WS_DEFAULT_FG=WSCOL_WHITE 446options WS_DEFAULT_BG=WSCOL_BLACK 447options WS_KERNEL_FG=WSCOL_GREEN 448options WS_KERNEL_BG=WSCOL_BLACK 449options WSDISPLAY_COMPAT_PCVT 450options WSDISPLAY_COMPAT_SYSCONS 451options WSDISPLAY_COMPAT_USL 452options WSDISPLAY_COMPAT_RAWKBD 453options WSDISPLAY_DEFAULTSCREENS=4 454options WSDISPLAY_MULTICONS 455options WSDISPLAY_SCROLLSUPPORT 456pseudo-device wsmux 457pseudo-device wsfont 458options FONT_BOLD8x16 459options FONT_BOLD16x32 460 461# GPU 462#nouveau* at fdt? # NVIDIA GPU 463 464# PS/2 keyboard and mouse support 465plkmi* at fdt? 466pckbd* at pckbport? 467wskbd* at pckbd? console ? 468pms* at pckbport? 469wsmouse* at pms? mux 0 470 471# Touch Screen controller 472sunxits* at fdt? # Touch Screen controller 473wsmouse* at sunxits? mux 0 474 475# Thermal throttling controller 476tegrasoctherm* at fdt? # NVIDIA Tegra SOC_THERM 477 478# USB 479exusbphy* at fdt? pass 9 # Samsung Exynos USB2 PHY 480exusbdrdphy* at fdt? pass 9 # Samsung Exynos USB3 DRD PHY 481mesonusbphy* at fdt? pass 9 # Amlogic Meson USB2 PHY 482sun9iusbphy* at fdt? pass 9 # Allwinner A80 USB PHY 483sunxiusbphy* at fdt? pass 9 # Allwinner USB PHY 484sunxiusb3phy* at fdt? pass 9 # Allwinner USB3 PHY 485tegrausbphy* at fdt? # NVIDIA Tegra USB PHY 486usbnopphy* at fdt? pass 9 # Generic USB PHY 487tiotg* at fdt? # TI dual port OTG 488tiusb* at fdt? pass 9 # TI HS USB host 489tiusbtll* at fdt? pass 8 # TI HS USB host TLL 490dwctwo* at fdt? # Designware USB DRD 491ehci* at fdt? # EHCI 492motg* at fdt? # Mentor Graphics USB OTG 493ohci* at fdt? # OHCI 494xhci* at fdt? # XHCI 495usb* at usbus? 496 497# Virtio devices 498virtio* at fdt? # Virtio MMIO device 499virtio* at pci? dev ? function ? # Virtio PCI device 500# the balloon driver cannot work on machines with non-4k pages 501#viomb* at virtio? # Virtio memory balloon device 502ld* at virtio? # Virtio disk device 503vioif* at virtio? # Virtio network device 504viornd* at virtio? # Virtio entropy device 505vioscsi* at virtio? # Virtio SCSI device 506 507# SCSI 508scsibus* at scsi? 509sd* at scsibus? target ? lun ? # SCSI disks 510st* at scsibus? target ? lun ? # SCSI tapes 511cd* at scsibus? target ? lun ? # SCSI CD-ROMs 512ch* at scsibus? target ? lun ? # SCSI changer devices 513ss* at scsibus? target ? lun ? # SCSI scanners 514ses* at scsibus? target ? lun ? # SCSI SES/SAF-TE devices 515uk* at scsibus? target ? lun ? # unknown SCSI 516 517# SPI NOR flash support 518m25p* at spi? 519spiflash* at spiflashbus? 520 521include "dev/usb/usbdevices.config" 522midi* at midibus? 523pseudo-device sequencer # MIDI sequencer 524 525cinclude "arch/evbarm/conf/GENERIC.local" 526