GENERIC revision 1.12
1# 2# $NetBSD: GENERIC,v 1.12 2018/10/31 08:10:01 skrll 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 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 broadcom nvidia rockchip" 18makeoptions DTS=" 19 bcm2836-rpi-2-b.dts 20 bcm2837-rpi-3-b.dts 21 bcm2837-rpi-3-b-plus.dts 22 23 exynos4412-odroidu3.dts 24 exynos4412-odroidx.dts 25 exynos4412-odroidx2.dts 26 exynos5410-odroidxu.dts 27 exynos5410-smdk5410.dts 28 exynos5422-odroidxu3-lite.dts 29 exynos5422-odroidxu3.dts 30 exynos5422-odroidxu4.dts 31 32 sun4i-a10-a1000.dts 33 sun4i-a10-ba10-tvbox.dts 34 sun4i-a10-chuwi-v7-cw0825.dts 35 sun4i-a10-cubieboard.dts 36 sun4i-a10-dserve-dsrv9703c.dts 37 sun4i-a10-gemei-g9.dts 38 sun4i-a10-hackberry.dts 39 sun4i-a10-hyundai-a7hd.dts 40 sun4i-a10-inet1.dts 41 sun4i-a10-inet97fv2.dts 42 sun4i-a10-inet9f-rev03.dts 43 sun4i-a10-itead-iteaduino-plus.dts 44 sun4i-a10-jesurun-q5.dts 45 sun4i-a10-marsboard.dts 46 sun4i-a10-mini-xplus.dts 47 sun4i-a10-mk802.dts 48 sun4i-a10-mk802ii.dts 49 sun4i-a10-olinuxino-lime.dts 50 sun4i-a10-pcduino.dts 51 sun4i-a10-pcduino2.dts 52 sun4i-a10-pov-protab2-ips9.dts 53 54 sun5i-a13-difrnce-dit4350.dts 55 sun5i-a13-empire-electronix-d709.dts 56 sun5i-a13-empire-electronix-m712.dts 57 sun5i-a13-hsg-h702.dts 58 sun5i-a13-inet-98v-rev2.dts 59 sun5i-a13-licheepi-one.dts 60 sun5i-a13-olinuxino-micro.dts 61 sun5i-a13-olinuxino.dts 62 sun5i-a13-q8-tablet.dts 63 sun5i-a13-utoo-p66.dts 64 65 sun5i-gr8-evb.dts 66 sun5i-gr8-chip-pro.dts 67 68 sun5i-r8-chip.dts 69 sun5i-r8-pocketchip.dts 70 71 sun6i-a31-app4-evb1.dts 72 sun6i-a31-colombus.dts 73 sun6i-a31-hummingbird.dts 74 sun6i-a31-i7.dts 75 sun6i-a31-m9.dts 76 sun6i-a31-mele-a1000g-quad.dts 77 78 sun7i-a20-bananapi-m1-plus.dts 79 sun7i-a20-bananapi.dts 80 sun7i-a20-bananapro.dts 81 sun7i-a20-cubieboard2.dts 82 sun7i-a20-cubietruck.dts 83 sun7i-a20-hummingbird.dts 84 sun7i-a20-i12-tvbox.dts 85 sun7i-a20-icnova-swac.dts 86 sun7i-a20-itead-ibox.dts 87 sun7i-a20-lamobo-r1.dts 88 sun7i-a20-m3.dts 89 sun7i-a20-mk808c.dts 90 sun7i-a20-olimex-som-evb-emmc.dts 91 sun7i-a20-olimex-som-evb.dts 92 sun7i-a20-olimex-som204-evb-emmc.dts 93 sun7i-a20-olimex-som204-evb.dts 94 sun7i-a20-olinuxino-lime.dts 95 sun7i-a20-olinuxino-lime2-emmc.dts 96 sun7i-a20-olinuxino-lime2.dts 97 sun7i-a20-olinuxino-micro-emmc.dts 98 sun7i-a20-olinuxino-micro.dts 99 sun7i-a20-orangepi-mini.dts 100 sun7i-a20-orangepi.dts 101 sun7i-a20-pcduino3-nano.dts 102 sun7i-a20-pcduino3.dts 103 sun7i-a20-wexler-tab7200.dts 104 sun7i-a20-wits-pro-a20-dkt.dts 105 106 sun8i-a83t-allwinner-h8homlet-v2.dts 107 sun8i-a83t-bananapi-m3.dts 108 sun8i-a83t-cubietruck-plus.dts 109 sun8i-a83t-tbs-a711.dts 110 111 sun8i-h2-plus-bananapi-m2-zero.dts 112 sun8i-h2-plus-libretech-all-h3-cc.dts 113 sun8i-h2-plus-orangepi-r1.dts 114 sun8i-h2-plus-orangepi-zero.dts 115 116 sun8i-h3-bananapi-m2-plus.dts 117 sun8i-h3-beelink-x2.dts 118 sun8i-h3-libretech-all-h3-cc.dts 119 sun8i-h3-nanopi-m1.dts 120 sun8i-h3-nanopi-m1-plus.dts 121 sun8i-h3-nanopi-neo.dts 122 sun8i-h3-nanopi-neo-air.dts 123 sun8i-h3-orangepi-2.dts 124 sun8i-h3-orangepi-lite.dts 125 sun8i-h3-orangepi-one.dts 126 sun8i-h3-orangepi-pc-plus.dts 127 sun8i-h3-orangepi-pc.dts 128 sun8i-h3-orangepi-plus.dts 129 sun8i-h3-orangepi-plus2e.dts 130 131 sun9i-a80-cubieboard4.dts 132 sun9i-a80-optimus.dts 133 134 sun50i-a64-bananapi-m64.dts 135 sun50i-a64-nanopi-a64.dts 136 sun50i-a64-olinuxino.dts 137 sun50i-a64-orangepi-win.dts 138 sun50i-a64-pine64-plus.dts 139 sun50i-a64-pine64.dts 140 sun50i-a64-pinebook.dts 141 sun50i-a64-sopine-baseboard.dts 142 sun50i-a64-teres-i.dts 143 144 sun50i-h5-libretech-all-h3-cc.dts 145 sun50i-h5-nanopi-neo-plus2.dts 146 sun50i-h5-nanopi-neo2.dts 147 sun50i-h5-orangepi-pc2.dts 148 sun50i-h5-orangepi-prime.dts 149 sun50i-h5-orangepi-zero-plus.dts 150 sun50i-h5-orangepi-zero-plus2.dts 151 152 tegra124-apalis-eval.dts 153 tegra124-jetson-tk1.dts 154 tegra124-nyan-big.dts 155 tegra124-nyan-blaze.dts 156 tegra124-venice2.dts 157 158 vexpress-v2p-ca15-tc1.dts 159" 160 161options CPU_CORTEXA7 162options CPU_CORTEXA8 163options CPU_CORTEXA9 164options CPU_CORTEXA15 165 166options CPU_CORTEXA53 167 168# Can't add SOC_BCM2835 until interrupt and register issues sorted out 169#options SOC_BCM2835 170options SOC_BCM2836 171 172options SOC_EXYNOS4412 173options SOC_EXYNOS5422 174 175options SOC_SUN4I_A10 176options SOC_SUN5I_A13 177options SOC_SUN6I_A31 178options SOC_SUN7I_A20 179options SOC_SUN8I_A83T 180options SOC_SUN8I_H3 181options SOC_SUN9I_A80 182options SOC_SUN50I_A64 183options SOC_SUN50I_H5 184options SOC_SUN50I_H6 185 186options SOC_TEGRA124 187 188options MULTIPROCESSOR 189 190pseudo-device openfirm # /dev/openfirm 191 192#options DIAGNOSTIC # internal consistency checks 193#options DEBUG 194#options LOCKDEBUG 195#options PMAP_DEBUG # Enable pmap_debug_level code 196 197#options VERBOSE_INIT_ARM # verbose bootstrapping messages 198 199# EARLYCONS is required for early init messages from VERBOSE_INIT_ARM. 200 201# ODROID-U3 202#options EARLYCONS=exynos, CONSADDR=0x13810000 203 204# ODROID-XU lite 205#options EARLYCONS=exynos, CONSADDR=0x12c20000 206 207#options EARLYCONS=bcm2837, CONSADDR=0x3f215040 208#options EARLYCONS=rk3328, CONSADDR=0xff130000 209#options EARLYCONS=sunxi, CONSADDR=0x01c28000 210 211# TEGRA TK1 212#options EARLYCONS=tegra, CONSADDR=0x70006300 213 214# 215#options EARLYCONS=vexpress, CONSADDR=0x1c090000 216#options EARLYCONS=virt 217 218makeoptions DEBUG="-g" # compile full symbol table 219makeoptions COPY_SYMTAB=1 220 221config netbsd root on ? type ? 222 223# Device tree support 224armfdt0 at root 225simplebus* at fdt? pass 0 226 227# CPUs 228cpus* at fdt? pass 0 229cpu* at fdt? pass 0 230 231# CPU frequency scaling 232tegra124cpu* at cpu? 233cpufreqdt* at cpu? 234 235# Power State Coordination Interface (PSCI) 236psci* at fdt? 237 238# Clock and reset controllers 239exy5410clk* at fdt? pass 3 # Exynos5410 clock controller 240exy5422clk* at fdt? pass 3 # Exynos5422 clock controller 241sun4ia10ccu* at fdt? pass 2 # Allwinner A10/A20 CCU 242sun5ia13ccu* at fdt? pass 2 # Allwinner A13 CCU 243sun6ia31ccu* at fdt? pass 2 # Allwinner A31 CCU 244sun8ia83tccu* at fdt? pass 2 # Allwinner A83T CCU 245sun8ih3ccu* at fdt? pass 2 # Allwinner H3 CCU 246sun8ih3rccu* at fdt? pass 2 # Allwinner H3 CCU (PRCM) 247sun9ia80ccu* at fdt? pass 2 # Allwinner A80 CCU 248sun50ia64ccu* at fdt? pass 2 # Allwinner A64 CCU 249sun50ia64rccu* at fdt? pass 2 # Allwinner A64 CCU (PRCM) 250sun50ih6ccu* at fdt? pass 2 # Allwinner H6 CCU 251sun50ih6rccu* at fdt? pass 2 # Allwinner H6 CCU (PRCM) 252sunxiresets* at fdt? pass 1 # Allwinner Misc. clock resets 253sunxigates* at fdt? pass 1 # Allwinner Misc. clock gates 254sunxigmacclk* at fdt? pass 2 # Allwinner GMAC MII/RGMII clock mux 255sun9immcclk* at fdt? pass 2 # Allwinner A80 SD/MMC-COMM 256tegra124car* at fdt? pass 3 # NVIDIA Tegra CAR (T124) 257tegra210car* at fdt? pass 3 # NVIDIA Tegra CAR (T210) 258 259fclock* at fdt? pass 1 260ffclock* at fdt? pass 1 261fregulator* at fdt? pass 5 262gregulator* at fdt? pass 4 263gpiokeys* at fdt? 264wskbd* at gpiokeys? console ? mux 1 265gpioleds* at fdt? 266 267# ARM Motherboard Express uATX system registers 268vxsysreg* at fdt? 269 270# SRAM controller 271sunxisramc* at fdt? pass 4 # SRAM controller 272 273# System Controller 274syscon* at fdt? pass 1 # Generic System Controller 275 276# Timer 277gtmr* at fdt? pass 1 # ARM Generic Timer 278armgtmr0 at gtmr? 279mct* at fdt? pass 2 # Exynos Multi Core Timer (MCT) 280armgtmr* at mct? 281sunxitimer* at fdt? # Allwinner async timer 282tegratimer* at fdt? # Timers 283 284# Watchdog 285sunxiwdt* at fdt? # Allwinner watchdog 286watchdog* at fdt? # Broadcom BCM283x watchdog 287 288# Interrupt controller 289gic* at fdt? pass 1 # ARM GIC 290armgic0 at gic? 291bcmicu* at fdt? pass 1 # Broadcom BCM283x ICU 292exyointr* at fdt? pass 1 # Samsung Exynos ICU 293tegralic* at fdt? pass 1 # NVIDIA Tegra LIC 294sunxiintc* at fdt? pass 1 # Allwinner INTC 295sunxinmi* at fdt? pass 2 # Allwinner NMI / R_INTC 296 297# Memory controller 298tegramc* at fdt? pass 4 # NVIDIA Tegra MC 299 300# Firmware devices 301bcmmbox* at fdt? # Broadcom VideoCore IV mailbox 302vcmbox* at bcmmbox? 303 304# DMA controller 305bcmdmac* at fdt? # Broadcom BCM283x DMA controller 306sun4idma* at fdt? # Allwinner DMA controller (sun4i) 307sun6idma* at fdt? # Allwinner DMA controller (sun6i) 308tegraapbdma* at fdt? pass 4 # NVIDIA Tegra APB DMA 309 310# FUSE controller 311tegrafuse* at fdt? pass 4 # NVIDIA Tegra FUSE 312 313# Power management controller 314tegrapmc* at fdt? pass 4 # NVIDIA Tegra PMC 315 316# Performance monitors 317armpmu* at fdt? 318pseudo-device tprof 319 320# Power state coordination interface 321psci* at fdt? 322 323# Clock and Reset controller 324bcmcprman* at fdt? pass 1 # Broadcom BCM283x Clock Manager 325bcmaux* at fdt? pass 1 # Broadcom BCM283x Aux Periph Clocks 326 327# GPIO controller 328bcmgpio* at fdt? # Broadcom BCM283x GPIO 329exyopctl* at fdt? pass 2 # Samsung Exynos GPIO 330sunxigpio* at fdt? pass 3 # Allwinner GPIO 331tegragpio* at fdt? pass 2 # NVIDIA Tegra GPIO 332gpio* at gpiobus? 333 334# MPIO / Pinmux 335tegrapinmux* at fdt? # NVIDIA Tegra MPIO 336 337# PWM controller 338expwm* at fdt? pass 4 # PWM 339sunxipwm* at fdt? pass 3 # Allwinner PWM 340 341# Backlight 342pwmbacklight* at fdt? # PWM Backlight controls 343 344# Fan 345pwmfan* at fdt? # PWM Fan controls 346 347# XUSB PADCTL 348tegra124xpad* at fdt? # NVIDIA Tegra XUSB PADCTL (T124) 349tegra210xpad* at fdt? # NVIDIA Tegra XUSB PADCTL (T210) 350tegra210xphy* at tegra210xpad? 351 352# PCIE 353tegrapcie0 at fdt? # NVIDIA Tegra PCIE 354pci* at tegrapcie0 355ppb* at pci? dev ? function ? 356pci* at ppb? 357 358# Ethernet 359awge* at fdt? # Allwinner Gigabit Ethernet (GMAC) 360emac* at fdt? # Allwinner Fast/Gigabit Ethernet (EMAC) 361smsh* at fdt? # SMSC LAN9118 362 363# PCI Ethernet 364re* at pci? dev ? function ? # Realtek RTL8111GS 365 366# MII/PHY support 367exphy* at mii? phy ? # 3Com internal PHYs 368gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs 369glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 370gphyter* at mii? phy ? # NS83861 Gig-E PHY 371icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 372igphy* at mii? phy ? # Intel IGP01E1000 373ihphy* at mii? phy ? # Intel 82577 PHYs 374ikphy* at mii? phy ? # Intel 82563 PHYs 375inphy* at mii? phy ? # Intel 82555 PHYs 376iophy* at mii? phy ? # Intel 82553 PHYs 377lxtphy* at mii? phy ? # Level One LXT-970 PHYs 378makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 379nsphy* at mii? phy ? # NS83840 PHYs 380nsphyter* at mii? phy ? # NS83843 PHYs 381pnaphy* at mii? phy ? # generic HomePNA PHYs 382qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 383rdcphy* at mii? phy ? # RDC R6040 10/100 PHY 384rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs 385rlphy* at mii? phy ? # Realtek 8139/8201L PHYs 386sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 387tlphy* at mii? phy ? # ThunderLAN PHYs 388tqphy* at mii? phy ? # TDK Semiconductor PHYs 389urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 390ukphy* at mii? phy ? # generic unknown PHYs 391 392# Mini-PCIe Wireless 393#options ATHHAL_AR5212,ATHHAL_RF2425 # AR5BHB63 394#ath* at pci? dev ? function ? # Atheros IEEE 802.11 395#athn* at pci? dev ? function ? # Atheros IEEE 802.11 396 397# UART 398com* at fdt? # UART 399plcom* at fdt? # ARM PL011 UART 400exuart* at fdt? # SSCOM UART 401 402# I2C controllers 403bsciic* at fdt? # Broadcom BCM283x Serial Control 404exyoi2c* at fdt? # Samsung Exynos I2C 405sunxirsb* at fdt? # Allwinner RSB 406sunxitwi* at fdt? # Allwinner TWI 407tegrai2c* at fdt? pass 4 # NVIDIA Tegra I2C 408iic* at i2cbus? 409 410# I2C devices 411as3722pmic* at iic? 412as3722reg* at as3722pmic? 413axp20x* at iic? # AXP209 Power Management IC 414axp20xreg* at axp20x? 415axp22x* at iic? # AXP221 Power Management IC 416axppmic* at iic? # X-Powers AXP Power Management IC 417axpreg* at axppmic? 418max77620pmic* at iic? 419pcf8563rtc* at iic? # PCF8563 RTC 420seeprom* at iic? # AT24Cxx Serial EEPROM 421sy8106a* at iic? # Silergy SY81061 regulator 422tcakp* at iic? # TI TCA8418 Keypad Scan IC 423tcagpio* at iic? 424titemp* at iic? 425wskbd* at tcakp? console ? 426 427# CAN bus 428options CAN # Controller Area Network protocol 429pseudo-device canloop # CAN loopback interface 430sunxican* at fdt? # A10/A20 CAN controller 431 432# SPI 433sun6ispi* at fdt? 434spi* at spibus? 435 436# Random number generators 437bcmrng* at fdt? # Broadcom BCM283x RNG 438 439# Security ID EFUSE 440sunxisid* at fdt? pass 4 # SID 441 442# Low res ADC 443sunxilradc* at fdt? 444 445# RTC 446#exyortc* at fdt? # RTC 447plrtc* at fdt? # ARM PrimeCell RTC 448sunxirtc* at fdt? # Allwinner RTC 449tegrartc* at fdt? # NVIDIA Tegra RTC 450 451# Thermal sensor 452sunxithermal* at fdt? # Thermal sensor controller 453 454# BCM2835 VCHIQ, etc 455vchiq0 at fdt? 456vcaudio0 at vchiq0 457 458# Audio 459a64acodec* at fdt? # Allwinner A64 audio codec (analog part) 460aaci* at fdt? # ARM PrimeCell AACI 461ausoc* at fdt? # Simple SoC audio card 462h3codec* at fdt? # Allwinner H3 audio codec (analog part) 463hdaudio* at fdt? # Intel HDA 464hdafg* at hdaudiobus? 465options HDAUDIOVERBOSE 466options HDAUDIO_32BIT_ACCESS 467options HDAUDIO_ENABLE_HDMI 468options HDAUDIO_ENABLE_DISPLAYPORT 469sun8icodec* at fdt? # Audio codec (sun8i/sun50i) 470sunxicodec* at fdt? # Allwinner audio codec 471sunxii2s* at fdt? # I2S/PCM 472audio* at audiobus? 473spkr* at audio? 474 475# SDMMC 476dwcmmc* at fdt? # DesignWare SDMMC 477mmcpwrseq* at fdt? # Simple MMC power sequence provider 478plmmc* at fdt? # ARM PrimeCell MCI 479sdhc* at fdt? # SD Host Controller Interface 480sdhost* at fdt? # Broadcom BCM283x SD Host Interface 481sunximmc* at fdt? # Allwinner SD/MMC 482sdmmc* at sunximmc? 483sdmmc* at sdmmcbus? 484ld0 at sdmmc0 485ld1 at sdmmc1 486ld2 at sdmmc2 487ld3 at sdmmc3 488ld* at sdmmc? 489 490# NAND Flash 491sunxinand* at fdt? # NAND flash controller 492nand* at nandbus? 493flash* at nand? dynamic 1 494 495 496# SATA 497ahcisata* at fdt? # AHCI SATA 498atabus* at ata? 499atapibus* at atapi? 500wd* at atabus? drive ? 501cd* at atapibus? drive ? 502 503# SPI controllers 504bcmspi* at fdt? # Broadcom BCM283x SPI 505spi* at spibus? 506 507# HDMI CEC 508tegracec0 at fdt? # NVIDIA Tegra HDMI CEC 509hdmicec* at hdmicecbus? 510 511# Display 512#tegradrm* at fdt? # NVIDIA Tegra Display 513#tegrafb* at tegrafbbus? 514genfb* at fdt? # Simple Framebuffer 515wsdisplay* at genfb? 516sunxidebe* at fdt? pass 4 # Display Backend 517genfb* at sunxidebe? 518sunxitcon* at fdt? pass 4 # LCD LVDS/RGB controller 519sunxihdmi* at fdt? pass 4 # HDMI controller 520connector* at fdt? pass 4 521panel* at fdt? pass 4 522#sunxidep must be after display pipeline elements but before genfb@fdt 523sunxidep* at fdt? pass 5 # Display Engine Pipeline 524 525options VCONS_DRAW_INTR 526options WSEMUL_VT100 527options WS_DEFAULT_FG=WSCOL_WHITE 528options WS_DEFAULT_BG=WSCOL_BLACK 529options WS_KERNEL_FG=WSCOL_GREEN 530options WS_KERNEL_BG=WSCOL_BLACK 531options WSDISPLAY_COMPAT_PCVT 532options WSDISPLAY_COMPAT_SYSCONS 533options WSDISPLAY_COMPAT_USL 534options WSDISPLAY_COMPAT_RAWKBD 535options WSDISPLAY_DEFAULTSCREENS=4 536pseudo-device wsmux 537pseudo-device wsfont 538 539# GPU 540#nouveau* at fdt? # NVIDIA GPU 541 542# PS/2 keyboard and mouse support 543plkmi* at fdt? 544pckbd* at pckbport? 545wskbd* at pckbd? console ? 546pms* at pckbport? 547wsmouse* at pms? mux 0 548 549# Touch Screen controller 550sunxits* at fdt? # Touch Screen controller 551wsmouse* at sunxits? mux 0 552 553# Thermal throttling controller 554tegrasoctherm* at fdt? # NVIDIA Tegra SOC_THERM 555 556# USB 557exusbphy* at fdt? pass 9 # Samsung Exynos USB2 PHY 558exusbdrdphy* at fdt? pass 9 # Samsung Exynos USB3 DRD PHY 559sunxiusbphy* at fdt? pass 9 # Allwinner USB PHY 560sunxiusb3phy* at fdt? pass 9 # Allwinner USB3 PHY 561tegrausbphy* at fdt? # NVIDIA Tegra USB PHY 562dwctwo* at fdt? # Designware USB DRD 563ehci* at fdt? # EHCI 564motg* at fdt? # Mentor Graphics USB OTG 565ohci* at fdt? # OHCI 566ehci* at fdt? # EHCI 567xhci* at fdt? # XHCI 568usb* at usbus? 569 570# Virtio devices 571virtio* at fdt? # Virtio MMIO device 572# the baloon driver can not work on machines with non-4k pages 573#viomb* at virtio? # Virtio memory balloon device 574ld* at virtio? # Virtio disk device 575vioif* at virtio? # Virtio network device 576viornd* at virtio? # Virtio entropy device 577vioscsi* at virtio? # Virtio SCSI device 578 579include "dev/usb/usbdevices.config" 580midi* at midibus? 581 582cinclude "arch/evbarm/conf/GENERIC.local" 583