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