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