RPI revision 1.66
1# 2# $NetBSD: RPI,v 1.66 2016/04/22 18:13:01 christos Exp $ 3# 4# RPi -- Raspberry Pi 5# 6 7include "arch/evbarm/conf/std.rpi" 8include "arch/evbarm/conf/GENERIC.common" 9 10# CPU options 11 12options CPU_ARM1176 13options TPIDRPRW_IS_CURLWP 14options ARM11_COMPAT_MMU 15options __HAVE_MM_MD_CACHE_ALIASING 16makeoptions CPUFLAGS="-march=armv6z -mtune=arm1176jzf-s -mfpu=vfp" 17 18# Architecture options 19 20# Development and Debugging options 21#options KGDB,KGDB_PLCOMUNIT=0,KGDB_DEVRATE=115200,KGDB_CONMODE=0xB00 22makeoptions DEBUG="-g" # compile full symbol table 23makeoptions COPY_SYMTAB=1 24options PLCONSOLE 25#options PLCONSOLE,PLCOMCNUNIT=0,PLCONSPEED=115200,PLCONMODE=0xB00 26 27## USB Debugging options 28options USB_DEBUG 29#options DWC2_DEBUG 30#options UHUB_DEBUG 31 32# DTrace 33options INSECURE # module loading 34options DTRACE_HOOKS 35 36 37# Valid options for BOOT_ARGS: 38# single Boot to single user only 39# kdb Give control to kernel debugger 40# ask Ask for file name to reboot from 41# pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n> 42# memorydisk=<n> Set memorydisk size to <n> KB 43# quiet Show aprint_naive output 44# verbose Show aprint_normal and aprint_verbose output 45#options BOOT_ARGS="\"\"" 46 47config netbsd root on ? type ? 48 49# The main bus device 50mainbus0 at root 51 52# The CPU(s) 53cpu* at mainbus? 54 55# OBIO 56obio0 at mainbus? 57 58# Interrupt Controller 59bcmicu0 at obio? 60 61# VC Mailbox 62bcmmbox0 at obio? 63vcmbox0 at bcmmbox0 64 65# DMA Controller 66bcmdmac0 at obio? 67 68# VCHIQ 69vchiq0 at obio? 70 71# AUDS 72vcaudio0 at vchiq0 73audio0 at vcaudio0 74 75# PL011 uart 76plcom0 at obio? 77 78# Framebuffer console 79genfb0 at obio? 80wsdisplay* at genfb? 81options VCONS_DRAW_INTR 82#options RPI_HWCURSOR 83 84# System timer 85bcmtmr0 at obio? 86 87# Power management, Reset controller and Watchdog registers 88bcmpm0 at obio? 89 90# Random number generator 91bcmrng0 at obio? 92 93# GPIO 94bcmgpio0 at obio? # pins 0 ... 31 95bcmgpio1 at obio? # pins 32 ... 53 96 97# Arasan SD/MMC Interface 98sdhc* at obio? 99sdmmc* at sdhc? 100 101ld* at sdmmc? 102 103# On-board USB 104dwctwo* at obio? 105usb* at dwctwo? 106 107# USB device drivers 108include "dev/usb/usbdevices.config" 109 110midi* at midibus? 111 112# MII/PHY support 113exphy* at mii? phy ? # 3Com internal PHYs 114gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs 115glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 116gphyter* at mii? phy ? # NS83861 Gig-E PHY 117icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 118igphy* at mii? phy ? # Intel IGP01E1000 119ihphy* at mii? phy ? # Intel 82577 PHYs 120ikphy* at mii? phy ? # Intel 82563 PHYs 121inphy* at mii? phy ? # Intel 82555 PHYs 122iophy* at mii? phy ? # Intel 82553 PHYs 123lxtphy* at mii? phy ? # Level One LXT-970 PHYs 124makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 125nsphy* at mii? phy ? # NS83840 PHYs 126nsphyter* at mii? phy ? # NS83843 PHYs 127pnaphy* at mii? phy ? # generic HomePNA PHYs 128qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 129rdcphy* at mii? phy ? # RDC R6040 10/100 PHY 130rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs 131rlphy* at mii? phy ? # Realtek 8139/8201L PHYs 132sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 133tlphy* at mii? phy ? # ThunderLAN PHYs 134tqphy* at mii? phy ? # TDK Semiconductor PHYs 135urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 136ukphy* at mii? phy ? # generic unknown PHYs 137 138# Broadcom Serial Control (I2C) 139bsciic* at obio? 140iic* at i2cbus? 141 142# 'DS3231 Raspberry Pi RTC Board Real Time Clock Module for Arduino' 143# sold by linksprite.com 144#dsrtc* at iic1 addr 0x68 flags 3231 145 146# SPI controller 147bcmspi* at obio? 148spi* at spibus? 149 150# MCP3x0x ADC 151# flags selects the actual chip, refer to mcp3kadc(4) 152#mcp3kadc0 at spi? slave 0 flags 0 153 154# PIFace or other boards using that chip (needs gpio) 155#mcp23s17gpio0 at spi? slave 0 flags 0 156#mcp23s17gpio1 at spi? slave 0 flags 1 157#mcp23s17gpio2 at spi? slave 0 flags 2 158#mcp23s17gpio3 at spi? slave 0 flags 3 159 160# gpio support (e. g. mcp23s17gpio, bcmgpio) 161gpio* at gpiobus? 162 163# various options for wscons - we try to look as much like a standard 164# sun console as possible 165options WSEMUL_VT100 # sun terminal emulation 166options WS_DEFAULT_FG=WSCOL_WHITE 167options WS_DEFAULT_BG=WSCOL_BLACK 168options WS_KERNEL_FG=WSCOL_GREEN 169options WS_KERNEL_BG=WSCOL_BLACK 170options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 171options WSDISPLAY_COMPAT_SYSCONS # emulate some more ioctls 172options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 173options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 174options WSDISPLAY_DEFAULTSCREENS=4 175 176#options FONT_QVSS8x15 177#options FONT_GALLANT12x22 # the console font 178 179# Pseudo-Devices 180 181# network pseudo-devices 182#pseudo-device carp # Common Address Redundancy Protocol 183#pseudo-device ipfilter # IP filter (firewall) and NAT 184#pseudo-device kttcp # network loopback 185#pseudo-device ppp # Point-to-Point Protocol 186#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 187#options PPPOE_SERVER # Enable PPPoE server via link0 188#pseudo-device sl # Serial Line IP 189#pseudo-device strip # Starmode Radio IP (Metricom) 190#pseudo-device irframetty # IrDA frame line discipline 191#pseudo-device tap # virtual Ethernet 192#pseudo-device tun # network tunneling over tty 193#pseudo-device gre # generic L3 over IP tunnel 194#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933) 195#pseudo-device faith # IPv[46] TCP relay translation i/f 196#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 197#pseudo-device vlan # IEEE 802.1q encapsulation 198#pseudo-device bridge # simple inter-network bridging 199#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 200#pseudo-device agr # IEEE 802.3ad link aggregation 201#pseudo-device pf # PF packet filter 202#pseudo-device pflog # PF log if 203 204# miscellaneous pseudo-devices 205 206# wscons pseudo-devices 207pseudo-device wsmux # mouse & keyboard multiplexor 208pseudo-device wsfont 209 210# userland interface to drivers, including autoconf and properties retrieval 211 212# local configuration 213cinclude "arch/evbarm/conf/RPI.local" 214