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