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