GENERIC64 revision 1.3
1# 2# $NetBSD: GENERIC64,v 1.3 2018/04/28 20:30:50 jmcneill Exp $ 3# 4# GENERIC ARM (aarch64) kernel 5# 6 7include "arch/evbarm/conf/std.generic64" 8include "arch/evbarm/conf/files.generic64" 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" 18makeoptions DTS=" 19 bcm2837-rpi-3-b.dts 20 21 sun50i-a64-bananapi-m64.dts 22 sun50i-a64-nanopi-a64.dts 23 sun50i-a64-olinuxino.dts 24 sun50i-a64-orangepi-win.dts 25 sun50i-a64-pine64-plus.dts 26 sun50i-a64-pine64.dts 27 sun50i-a64-pinebook.dts 28 sun50i-a64-sopine-baseboard.dts 29 sun50i-a64-teres-i.dts 30 31 sun50i-h5-nanopi-neo-plus2.dts 32 sun50i-h5-nanopi-neo2.dts 33 sun50i-h5-orangepi-pc2.dts 34 sun50i-h5-orangepi-prime.dts 35 sun50i-h5-orangepi-zero-plus.dts 36 sun50i-h5-orangepi-zero-plus2.dts 37 38 tegra210-p2371-0000.dts 39 tegra210-p2371-2180.dts 40 tegra210-p2571.dts 41 tegra210-smaug.dts 42" 43options CPU_CORTEXA53 44options CPU_CORTEXA57 45options SOC_BCM2837 46options SOC_TEGRA210 47options SOC_SUN50I_A64 48options SOC_SUN50I_H5 49#options MULTIPROCESSOR 50 51pseudo-device openfirm # /dev/openfirm 52 53options DIAGNOSTIC # internal consistency checks 54options DEBUG 55#options LOCKDEBUG 56#options PMAP_DEBUG # Enable pmap_debug_level code 57#options IPKDB # remote kernel debugging 58options VERBOSE_INIT_ARM # verbose bootstrapping messages 59# EARLYCONS is required for early init messages from VERBOSE_INIT_ARM. 60#options EARLYCONS=bcm2837 61#options EARLYCONS=sunxi, CONSADDR=0x01c28000 62#options EARLYCONS=tegra, CONSADDR=0x70006000 63 64makeoptions DEBUG="-g" # compile full symbol table 65makeoptions COPY_SYMTAB=1 66 67config netbsd root on ? type ? 68 69# Device tree support 70armfdt0 at root 71fdt* at fdtbus? 72 73# CPUs 74cpus* at fdt? pass 0 75cpu* at cpus? 76 77# CPU frequency scaling 78cpufreqdt* at cpu? 79 80# Power State Coordination Interface (PSCI) 81psci* at fdt? 82 83fclock* at fdt? pass 1 84ffclock* at fdt? pass 1 85fregulator* at fdt? pass 4 86gregulator* at fdt? pass 4 87gpiokeys* at fdt? 88wskbd* at gpiokeys? console ? mux 1 89gpioleds* at fdt? 90 91# Timer 92gtmr* at fdt? pass 1 # ARM Generic Timer 93armgtmr0 at gtmr? 94tegratimer* at fdt? # Timers 95 96# Watchdog 97sunxiwdt* at fdt? # Allwinner watchdog 98watchdog* at fdt? # Broadcom BCM283x watchdog 99 100# Interrupt controller 101bcmicu* at fdt? pass 1 # Broadcom BCM283x ICU 102tegralic* at fdt? pass 1 # NVIDIA Tegra LIC 103gic* at fdt? pass 1 # ARM GIC 104armgic0 at gic? 105 106# Memory controller 107tegramc* at fdt? pass 4 # NVIDIA Tegra MC 108 109# Firmware devices 110bcmmbox* at fdt? # Broadcom VideoCore IV mailbox 111vcmbox* at bcmmbox? 112 113# DMA controller 114bcmdmac* at fdt? # Broadcom BCM283x DMA controller 115sun6idma* at fdt? # Allwinner DMA controller (sun6i) 116tegraapbdma* at fdt? pass 4 # NVIDIA Tegra APB DMA 117 118# FUSE controller 119sunxisid* at fdt? pass 4 # Allwinner SID 120tegrafuse* at fdt? pass 4 # NVIDIA Tegra FUSE 121 122# Power management controller 123tegrapmc* at fdt? pass 4 # NVIDIA Tegra PMC 124 125# Clock and Reset controller 126bcmcprman* at fdt? pass 1 # Broadcom BCM283x Clock Manager 127bcmaux* at fdt? pass 1 # Broadcom BCM283x Aux Periph Clocks 128sun8ih3ccu* at fdt? pass 2 # Allwinner H3/H5 CCU 129sun8ih3rccu* at fdt? pass 2 # Allwinner H3/H5 CCU (PRCM) 130sun50ia64ccu* at fdt? pass 2 # Allwinner A64 CCU 131sunxiresets* at fdt? pass 1 # Allwinner misc. resets 132sunxigates* at fdt? pass 1 # Allwinner misc. gates 133sunxigmacclk* at fdt? pass 2 # Allwinner GMAC MII/RGMII clock mux 134tegra210car* at fdt? pass 3 # NVIDIA Tegra CAR (T210) 135 136# GPIO controller 137bcmgpio* at fdt? # Broadcom BCM283x GPIO 138sunxigpio* at fdt? pass 3 # Allwinner GPIO 139tegragpio* at fdt? pass 2 # NVIDIA Tegra GPIO 140gpio* at gpiobus? 141 142# MPIO / Pinmux 143tegrapinmux* at fdt? # NVIDIA Tegra MPIO 144 145# XUSB PADCTL 146tegra210xpad* at fdt? # NVIDIA Tegra XUSB PADCTL (T210) 147tegra210xphy* at tegra210xpad? 148 149# PCIE 150tegrapcie0 at fdt? # NVIDIA Tegra PCIE 151pci* at tegrapcie0 152ppb* at pci? dev ? function ? 153pci* at ppb? 154 155# Ethernet 156emac* at fdt? # Allwinner Gigabit Ethernet (EMAC) 157re* at pci? dev ? function ? # Realtek RTL8111GS 158 159# MII/PHY support 160exphy* at mii? phy ? # 3Com internal PHYs 161gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs 162glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 163gphyter* at mii? phy ? # NS83861 Gig-E PHY 164icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 165igphy* at mii? phy ? # Intel IGP01E1000 166ihphy* at mii? phy ? # Intel 82577 PHYs 167ikphy* at mii? phy ? # Intel 82563 PHYs 168inphy* at mii? phy ? # Intel 82555 PHYs 169iophy* at mii? phy ? # Intel 82553 PHYs 170lxtphy* at mii? phy ? # Level One LXT-970 PHYs 171makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 172nsphy* at mii? phy ? # NS83840 PHYs 173nsphyter* at mii? phy ? # NS83843 PHYs 174pnaphy* at mii? phy ? # generic HomePNA PHYs 175qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 176rdcphy* at mii? phy ? # RDC R6040 10/100 PHY 177rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs 178rlphy* at mii? phy ? # Realtek 8139/8201L PHYs 179sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 180tlphy* at mii? phy ? # ThunderLAN PHYs 181tqphy* at mii? phy ? # TDK Semiconductor PHYs 182urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 183ukphy* at mii? phy ? # generic unknown PHYs 184 185# Mini-PCIe Wireless 186#options ATHHAL_AR5212,ATHHAL_RF2425 # AR5BHB63 187#ath* at pci? dev ? function ? # Atheros IEEE 802.11 188#athn* at pci? dev ? function ? # Atheros IEEE 802.11 189 190# UART 191com* at fdt? # UART 192plcom* at fdt? # ARM PL011 UART 193 194# I2C controllers 195bsciic* at fdt? # Broadcom BCM283x Serial Control 196sunxirsb* at fdt? # Allwinner RSB 197sunxitwi* at fdt? # Allwinner TWI 198tegrai2c* at fdt? pass 4 # NVIDIA Tegra I2C 199iic* at i2cbus? 200 201# I2C devices 202titemp* at iic? 203seeprom* at iic? 204as3722pmic* at iic? 205as3722reg* at as3722pmic? 206max77620pmic* at iic? 207tcagpio* at iic? 208 209# Random number generators 210bcmrng* at fdt? # Broadcom BCM283x RNG 211 212# RTC 213sunxirtc* at fdt? # Allwinner RTC 214tegrartc* at fdt? # NVIDIA Tegra RTC 215 216# SDMMC 217mmcpwrseq* at fdt? # Simple MMC power sequence provider 218sdhc* at fdt? # SD Host Controller Interface 219sdhost* at fdt? # Broadcom BCM283x SD Host Interface 220sunximmc* at fdt? # Allwinner SD/MMC 221sdmmc* at sdmmcbus? 222ld0 at sdmmc0 223ld1 at sdmmc1 224ld2 at sdmmc2 225ld3 at sdmmc3 226ld* at sdmmc? 227 228# SATA 229ahcisata* at fdt? # AHCI SATA 230atabus* at ata? 231atapibus* at atapi? 232wd* at atabus? drive ? 233cd* at atapibus? drive ? 234 235# SPI controllers 236bcmspi* at fdt? # Broadcom BCM283x SPI 237spi* at spibus? 238 239# Audio support 240hdaudio* at fdt? # Intel HDA 241hdafg* at hdaudiobus? 242options HDAUDIOVERBOSE 243options HDAUDIO_32BIT_ACCESS 244options HDAUDIO_ENABLE_HDMI 245options HDAUDIO_ENABLE_DISPLAYPORT 246sunxicodec* at fdt? # Allwinner audio codec 247h3codec* at fdt? # Allwinner H3 audio codec (analog part) 248audio* at audiobus? 249 250spkr* at audio? # PC speaker (synthesized) 251 252# HDMI CEC 253tegracec0 at fdt? # NVIDIA Tegra HDMI CEC 254hdmicec* at hdmicecbus? 255 256# Display 257#tegradrm* at fdt? # NVIDIA Tegra Display 258#tegrafb* at tegrafbbus? 259genfb* at fdt? # Simple Framebuffer 260wsdisplay* at wsemuldisplaydev? 261options VCONS_DRAW_INTR 262options WSEMUL_VT100 263options WS_DEFAULT_FG=WSCOL_WHITE 264options WS_DEFAULT_BG=WSCOL_BLACK 265options WS_KERNEL_FG=WSCOL_GREEN 266options WS_KERNEL_BG=WSCOL_BLACK 267options WSDISPLAY_COMPAT_PCVT 268options WSDISPLAY_COMPAT_SYSCONS 269options WSDISPLAY_COMPAT_USL 270options WSDISPLAY_COMPAT_RAWKBD 271options WSDISPLAY_DEFAULTSCREENS=4 272pseudo-device wsmux 273pseudo-device wsfont 274 275# GPU 276#nouveau* at fdt? # NVIDIA GPU 277 278# Thermal throttling controller 279sunxithermal* at fdt? # Allwinner thermal sensor controller 280tegrasoctherm* at fdt? # NVIDIA Tegra SOC_THERM 281 282# USB 283sunxiusbphy* at fdt? pass 9 # Allwinner USB PHY 284tegrausbphy* at fdt? # NVIDIA Tegra USB PHY 285dwctwo* at fdt? # Designware USB DRD 286ehci* at fdt? # EHCI 287#motg* at fdt? # Mentor Graphics USB OTG 288ohci* at fdt? # OHCI 289xhci* at fdt? # XHCI 290usb* at usbus? 291 292include "dev/usb/usbdevices.config" 293midi* at midibus? 294 295cinclude "arch/evbarm/conf/GENERIC64.local" 296