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