GENERIC revision 1.78
1# 2# $NetBSD: GENERIC,v 1.78 2020/05/20 09:18:25 hkenken 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 293sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 294tlphy* at mii? phy ? # ThunderLAN PHYs 295tqphy* at mii? phy ? # TDK Semiconductor PHYs 296urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 297ukphy* at mii? phy ? # generic unknown PHYs 298 299# Mini-PCIe Wireless 300#options ATHHAL_AR5212,ATHHAL_RF2425 # AR5BHB63 301#ath* at pci? dev ? function ? # Atheros IEEE 802.11 302#athn* at pci? dev ? function ? # Atheros IEEE 802.11 303 304# UART 305com* at fdt? pass 4 # UART 306exuart* at fdt? pass 4 # SSCOM UART 307plcom* at fdt? pass 4 # ARM PL011 UART 308imxuart* at fdt? pass 4 # i.MX UART 309mesonuart* at fdt? pass 4 # Amlogic Meson UART 310zynquart* at fdt? pass 4 # Cadence UART 311 312# I2C controllers 313options I2C_MAX_ADDR=0xfff 314bsciic* at fdt? # Broadcom BCM283x Serial Control 315exyoi2c* at fdt? # Samsung Exynos I2C 316imxi2c* at fdt? # i.MX I2C 317sunxirsb* at fdt? pass 4 # Allwinner RSB 318sunxitwi* at fdt? # Allwinner TWI 319tegrai2c* at fdt? pass 4 # NVIDIA Tegra I2C 320tiiic* at fdt? pass 4 # TI OMAP I2C 321iic* at i2cbus? 322 323# I2C devices 324ac100ic* at iic? # AC100 integrated audio codec and RTC 325as3722pmic* at iic? 326as3722reg* at as3722pmic? 327axp20x* at iic? # AXP209 Power Management IC 328axp20xreg* at axp20x? 329axp22x* at iic? # AXP221 Power Management IC 330axppmic* at iic? # X-Powers AXP Power Management IC 331axpreg* at axppmic? 332max77620pmic* at iic? 333pcf8563rtc* at iic? # PCF8563 RTC 334seeprom* at iic? # AT24Cxx Serial EEPROM 335sy8106a* at iic? # Silergy SY81061 regulator 336tcakp* at iic? # TI TCA8418 Keypad Scan IC 337tcagpio* at iic? 338tdahdmi* at iic? # NXP TDA19988 HDMI encoder 339titemp* at iic? 340tps65217pmic* at iic? # TI TPS65217 Power Management IC 341tps65217reg* at tps65217pmic? 342twl* at iic? # TI TWL4030 Power Management IC 343wskbd* at tcakp? console ? 344 345# CAN bus 346options CAN # Controller Area Network protocol 347pseudo-device canloop # CAN loopback interface 348sunxican* at fdt? # A10/A20 CAN controller 349 350# SPI 351imxspi* at fdt? # i.MX SPI 352sun4ispi* at fdt? 353sun6ispi* at fdt? 354spi* at spibus? 355 356# Random number generators 357bcmrng* at fdt? # Broadcom BCM283x RNG 358mesonrng* at fdt? # Amlogic Meson RNG 359tirng* at fdt? # TI RNG 360 361# Security ID EFUSE 362sunxisid* at fdt? pass 4 # SID 363 364# Low res ADC 365sunxilradc* at fdt? 366 367# RTC 368#exyortc* at fdt? # RTC 369mesonrtc* at fdt? # Amlogic Meson RTC 370plrtc* at fdt? # ARM PrimeCell RTC 371sunxirtc* at fdt? # Allwinner RTC 372tegrartc* at fdt? # NVIDIA Tegra RTC 373 374# Thermal sensor 375sunxithermal* at fdt? # Thermal sensor controller 376 377# BCM2835 VCHIQ, etc 378vchiq0 at fdt? 379vcaudio0 at vchiq0 380 381# Audio 382a64acodec* at fdt? # Allwinner A64 audio codec (analog part) 383aaci* at fdt? # ARM PrimeCell AACI 384ausoc* at fdt? # Simple SoC audio card 385h3codec* at fdt? # Allwinner H3 audio codec (analog part) 386hdaudio* at fdt? # Intel HDA 387hdafg* at hdaudiobus? 388options HDAUDIOVERBOSE 389options HDAUDIO_ENABLE_HDMI 390options HDAUDIO_ENABLE_DISPLAYPORT 391sun8icodec* at fdt? # Audio codec (sun8i) 392sunxicodec* at fdt? # Allwinner audio codec 393sunxii2s* at fdt? # I2S/PCM 394audio* at audiobus? 395spkr* at audio? 396 397# SDMMC 398bcmsdhost* at fdt? # Broadcom BCM283x SD Host Interface 399dwcmmc* at fdt? # DesignWare SDMMC 400mesonsdio* at fdt? # Amlogic Meson SDIO controller 401mesonsdhc* at fdt? # Amlogic Meson SDHC controller 402mmcpwrseq* at fdt? # Simple MMC power sequence provider 403plmmc* at fdt? # ARM PrimeCell MCI 404sdhc* at fdt? # SD Host Controller Interface 405sunximmc* at fdt? # Allwinner SD/MMC 406sdmmc* at sdmmcbus? 407ld0 at sdmmc0 408ld1 at sdmmc1 409ld2 at sdmmc2 410ld3 at sdmmc3 411ld* at sdmmc? 412bwfm* at sdmmc? # Broadcom BCM43xxx WiFi Interface 413 414# NAND Flash 415sunxinand* at fdt? # Allwinner NAND flash controller 416omapnand* at fdt? # TI OMAP2 flash controller 417nand* at nandbus? 418flash* at nand? dynamic 1 419 420# SATA 421ahcisata* at fdt? # AHCI SATA 422ahcisata* at pci? dev ? function ? 423atabus* at ata? 424atapibus* at atapi? 425wd* at atabus? drive ? 426cd* at atapibus? drive ? 427 428# NVMe 429nvme* at pci? dev ? function ? 430ld* at nvme? nsid ? 431 432# SPI controllers 433bcmspi* at fdt? # Broadcom BCM283x SPI 434spi* at spibus? 435 436# HDMI CEC 437tegracec0 at fdt? # NVIDIA Tegra HDMI CEC 438hdmicec* at hdmicecbus? 439 440# Display 441#tegradrm* at fdt? # NVIDIA Tegra Display 442#tegrafb* at tegrafbbus? 443dwhdmi* at fdt? # Designware HDMI TX 444genfb* at fdt? # Simple Framebuffer 445mesonfb* at fdt? # Amlogic Meson Framebuffer 446omapfb* at fdt? # TI OMAP3 Framebuffer 447wsdisplay* at wsemuldisplaydev? 448sunxidebe* at fdt? pass 4 # Display Backend 449genfb* at sunxidebe? 450sunxitcon* at fdt? pass 4 # LCD LVDS/RGB controller 451sunxihdmi* at fdt? pass 4 # HDMI controller 452connector* at fdt? pass 4 453panel* at fdt? pass 4 454#sunxidep must be after display pipeline elements but before genfb@fdt 455sunxidep* at fdt? pass 5 # Display Engine Pipeline 456tilcdc* at fdt? # TI OMAP4 LCDC 457tifb* at tilcdc? 458 459options VCONS_DRAW_INTR 460options WSEMUL_VT100 461options WS_DEFAULT_FG=WSCOL_WHITE 462options WS_DEFAULT_BG=WSCOL_BLACK 463options WS_KERNEL_FG=WSCOL_GREEN 464options WS_KERNEL_BG=WSCOL_BLACK 465options WSDISPLAY_COMPAT_PCVT 466options WSDISPLAY_COMPAT_SYSCONS 467options WSDISPLAY_COMPAT_USL 468options WSDISPLAY_COMPAT_RAWKBD 469options WSDISPLAY_DEFAULTSCREENS=4 470options WSDISPLAY_MULTICONS 471options WSDISPLAY_SCROLLSUPPORT 472pseudo-device wsmux 473pseudo-device wsfont 474options FONT_BOLD8x16 475options FONT_BOLD16x32 476 477# GPU 478#nouveau* at fdt? # NVIDIA GPU 479 480# PS/2 keyboard and mouse support 481plkmi* at fdt? 482pckbd* at pckbport? 483wskbd* at pckbd? console ? 484pms* at pckbport? 485wsmouse* at pms? mux 0 486 487# Touch Screen controller 488sunxits* at fdt? # Touch Screen controller 489wsmouse* at sunxits? mux 0 490 491# Thermal throttling controller 492tegrasoctherm* at fdt? # NVIDIA Tegra SOC_THERM 493 494# USB 495exusbphy* at fdt? pass 9 # Samsung Exynos USB2 PHY 496exusbdrdphy* at fdt? pass 9 # Samsung Exynos USB3 DRD PHY 497imxusbphy* at fdt? pass 9 # i.MX USB PHY 498mesonusbphy* at fdt? pass 9 # Amlogic Meson USB2 PHY 499sun9iusbphy* at fdt? pass 9 # Allwinner A80 USB PHY 500sunxiusbphy* at fdt? pass 9 # Allwinner USB PHY 501sunxiusb3phy* at fdt? pass 9 # Allwinner USB3 PHY 502tegrausbphy* at fdt? # NVIDIA Tegra USB PHY 503usbnopphy* at fdt? pass 9 # Generic USB PHY 504imxusbc* at fdt? pass 9 # i.MX USB host 505tiotg* at fdt? # TI dual port OTG 506tiusb* at fdt? pass 9 # TI HS USB host 507tiusbtll* at fdt? pass 8 # TI HS USB host TLL 508dwctwo* at fdt? # Designware USB DRD 509ehci* at fdt? # EHCI 510ehci* at imxusbc? 511motg* at fdt? # Mentor Graphics USB OTG 512ohci* at fdt? # OHCI 513xhci* at fdt? # XHCI 514usb* at usbus? 515 516# Virtio devices 517virtio* at fdt? # Virtio MMIO device 518virtio* at pci? dev ? function ? # Virtio PCI device 519# the balloon driver cannot work on machines with non-4k pages 520#viomb* at virtio? # Virtio memory balloon device 521ld* at virtio? # Virtio disk device 522vioif* at virtio? # Virtio network device 523viornd* at virtio? # Virtio entropy device 524vioscsi* at virtio? # Virtio SCSI device 525 526# SCSI 527scsibus* at scsi? 528sd* at scsibus? target ? lun ? # SCSI disks 529st* at scsibus? target ? lun ? # SCSI tapes 530cd* at scsibus? target ? lun ? # SCSI CD-ROMs 531ch* at scsibus? target ? lun ? # SCSI changer devices 532ss* at scsibus? target ? lun ? # SCSI scanners 533ses* at scsibus? target ? lun ? # SCSI SES/SAF-TE devices 534uk* at scsibus? target ? lun ? # unknown SCSI 535 536# SPI NOR flash support 537m25p* at spi? 538spiflash* at spiflashbus? 539 540include "dev/usb/usbdevices.config" 541midi* at midibus? 542pseudo-device sequencer # MIDI sequencer 543 544cinclude "arch/evbarm/conf/GENERIC.local" 545