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