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