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