RPI revision 1.62
11.1Sskrll# 21.62Sskrll# $NetBSD: RPI,v 1.62 2015/04/18 11:30:22 skrll Exp $ 31.1Sskrll# 41.1Sskrll# RPi -- Raspberry Pi 51.1Sskrll# 61.1Sskrll 71.1Sskrllinclude "arch/evbarm/conf/std.rpi" 81.62Sskrllinclude "arch/evbarm/conf/GENERIC.common" 91.1Sskrll 101.1Sskrll# CPU options 111.1Sskrll 121.60Sskrlloptions CPU_ARM1176 131.60Sskrlloptions TPIDRPRW_IS_CURLWP 141.61Sjmcneilloptions ARM11_COMPAT_MMU 151.60Sskrlloptions __HAVE_MM_MD_CACHE_ALIASING 161.60Sskrllmakeoptions CPUFLAGS="-march=armv6z -mtune=arm1176jzf-s -mfpu=vfp" 171.1Sskrll 181.1Sskrll# Architecture options 191.1Sskrll 201.1Sskrll# Development and Debugging options 211.33Sreinoud#options KGDB,KGDB_PLCOMUNIT=0,KGDB_DEVRATE=115200,KGDB_CONMODE=0xB00 221.1Sskrllmakeoptions DEBUG="-g" # compile full symbol table 231.48Sjoergmakeoptions COPY_SYMTAB=1 241.1Sskrlloptions PLCONSOLE 251.1Sskrll#options PLCONSOLE,PLCOMCNUNIT=0,PLCONSPEED=115200,PLCONMODE=0xB00 261.1Sskrll 271.1Sskrll## USB Debugging options 281.1Sskrlloptions USB_DEBUG 291.1Sskrll#options EHCI_DEBUG 301.1Sskrll#options OHCI_DEBUG 311.1Sskrll#options UHUB_DEBUG 321.1Sskrll 331.1Sskrll 341.1Sskrll# Valid options for BOOT_ARGS: 351.1Sskrll# single Boot to single user only 361.1Sskrll# kdb Give control to kernel debugger 371.1Sskrll# ask Ask for file name to reboot from 381.1Sskrll# pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n> 391.1Sskrll# memorydisk=<n> Set memorydisk size to <n> KB 401.1Sskrll# quiet Show aprint_naive output 411.1Sskrll# verbose Show aprint_normal and aprint_verbose output 421.1Sskrll#options BOOT_ARGS="\"\"" 431.1Sskrll 441.22Sjakllschconfig netbsd root on ? type ? 451.1Sskrll 461.1Sskrll# The main bus device 471.1Sskrllmainbus0 at root 481.1Sskrll 491.60Sskrll# The CPU(s) 501.60Sskrllcpu* at mainbus? 511.1Sskrll 521.1Sskrll# OBIO 531.1Sskrllobio0 at mainbus? 541.1Sskrll 551.1Sskrll# Interrupt Controller 561.1Sskrllbcmicu0 at obio? 571.1Sskrll 581.4Sskrll# VC Mailbox 591.4Sskrllbcmmbox0 at obio? 601.13Sjmcneillvcmbox0 at bcmmbox0 611.4Sskrll 621.51Sjmcneill# DMA Controller 631.54Sskrllbcmdmac0 at obio? 641.51Sjmcneill 651.27Sjmcneill# VCHIQ 661.30Sjmcneillvchiq0 at obio? 671.30Sjmcneill 681.30Sjmcneill# AUDS 691.30Sjmcneillvcaudio0 at vchiq0 701.30Sjmcneillaudio0 at vcaudio0 711.27Sjmcneill 721.1Sskrll# PL011 uart 731.1Sskrllplcom0 at obio? 741.1Sskrll 751.15Sjmcneill# Framebuffer console 761.20Sjmcneillgenfb0 at obio? 771.20Sjmcneillwsdisplay* at genfb? 781.31Sreinoudoptions VCONS_DRAW_INTR 791.56Sskrll#options RPI_HWCURSOR 801.15Sjmcneill 811.1Sskrll# System timer 821.1Sskrllbcmtmr0 at obio? 831.1Sskrll 841.1Sskrll# Power management, Reset controller and Watchdog registers 851.1Sskrllbcmpm0 at obio? 861.1Sskrll 871.23Sjmcneill# Random number generator 881.23Sjmcneillbcmrng0 at obio? 891.23Sjmcneill 901.44Skardel# GPIO 911.44Skardelbcmgpio0 at obio? # pins 0 ... 31 921.44Skardelbcmgpio1 at obio? # pins 32 ... 53 931.44Skardel 941.1Sskrll# Arasan SD/MMC Interface 951.1Sskrllsdhc* at obio? 961.1Sskrllsdmmc* at sdhc? 971.1Sskrll 981.1Sskrllld* at sdmmc? 991.1Sskrll 1001.17Sskrll# On-board USB 1011.41Sskrlldwctwo* at obio? 1021.41Sskrllusb* at dwctwo? 1031.7Sjakllsch 1041.38Sskrll# USB device drivers 1051.17Sskrllinclude "dev/usb/usbdevices.config" 1061.7Sjakllsch 1071.57Suebayasimidi* at midibus? 1081.57Suebayasi 1091.50Sskrll# MII/PHY support 1101.50Sskrllexphy* at mii? phy ? # 3Com internal PHYs 1111.50Sskrllgentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs 1121.50Sskrllglxtphy* at mii? phy ? # Level One LXT-1000 PHYs 1131.50Sskrllgphyter* at mii? phy ? # NS83861 Gig-E PHY 1141.50Sskrllicsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 1151.50Sskrlligphy* at mii? phy ? # Intel IGP01E1000 1161.50Sskrllihphy* at mii? phy ? # Intel 82577 PHYs 1171.50Sskrllikphy* at mii? phy ? # Intel 82563 PHYs 1181.50Sskrllinphy* at mii? phy ? # Intel 82555 PHYs 1191.50Sskrlliophy* at mii? phy ? # Intel 82553 PHYs 1201.50Sskrlllxtphy* at mii? phy ? # Level One LXT-970 PHYs 1211.50Sskrllmakphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 1221.50Sskrllnsphy* at mii? phy ? # NS83840 PHYs 1231.50Sskrllnsphyter* at mii? phy ? # NS83843 PHYs 1241.50Sskrllpnaphy* at mii? phy ? # generic HomePNA PHYs 1251.50Sskrllqsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 1261.50Sskrllrdcphy* at mii? phy ? # RDC R6040 10/100 PHY 1271.50Sskrllrgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs 1281.50Sskrllrlphy* at mii? phy ? # Realtek 8139/8201L PHYs 1291.50Sskrllsqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 1301.50Sskrlltlphy* at mii? phy ? # ThunderLAN PHYs 1311.50Sskrlltqphy* at mii? phy ? # TDK Semiconductor PHYs 1321.50Sskrllurlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 1331.50Sskrllukphy* at mii? phy ? # generic unknown PHYs 1341.18Sskrll 1351.14Sjakllsch# Broadcom Serial Control (I2C) 1361.14Sjakllschbsciic* at obio? 1371.14Sjakllschiic* at i2cbus? 1381.14Sjakllsch 1391.58Smacallan# 'DS3231 Raspberry Pi RTC Board Real Time Clock Module for Arduino' 1401.58Smacallan# sold by linksprite.com 1411.58Smacallan#dsrtc* at iic1 addr 0x68 flags 3231 1421.58Smacallan 1431.14Sjakllsch# SPI controller 1441.14Sjakllschbcmspi* at obio? 1451.14Sjakllschspi* at spibus? 1461.14Sjakllsch 1471.43Skardel# PIFace or other boards using that chip (needs gpio) 1481.43Skardel#mcp23s17gpio0 at spi? slave 0 flags 0 1491.55Sjakllsch#mcp23s17gpio1 at spi? slave 0 flags 1 1501.43Skardel#mcp23s17gpio2 at spi? slave 0 flags 2 1511.43Skardel#mcp23s17gpio3 at spi? slave 0 flags 3 1521.43Skardel 1531.44Skardel# gpio support (e. g. mcp23s17gpio, bcmgpio) 1541.44Skardelgpio* at gpiobus? 1551.43Skardel 1561.1Sskrll# various options for wscons - we try to look as much like a standard 1571.1Sskrll# sun console as possible 1581.1Sskrlloptions WSEMUL_VT100 # sun terminal emulation 1591.5Sskrlloptions WS_DEFAULT_FG=WSCOL_WHITE 1601.5Sskrlloptions WS_DEFAULT_BG=WSCOL_BLACK 1611.5Sskrlloptions WS_KERNEL_FG=WSCOL_GREEN 1621.5Sskrlloptions WS_KERNEL_BG=WSCOL_BLACK 1631.24Sskrlloptions WSDISPLAY_COMPAT_PCVT # emulate some ioctls 1641.24Sskrlloptions WSDISPLAY_COMPAT_SYSCONS # emulate some more ioctls 1651.3Sabsoptions WSDISPLAY_COMPAT_USL # wsconscfg VT handling 1661.1Sskrlloptions WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 1671.1Sskrlloptions WSDISPLAY_DEFAULTSCREENS=4 1681.24Sskrll 1691.15Sjmcneill#options FONT_QVSS8x15 1701.1Sskrll#options FONT_GALLANT12x22 # the console font 1711.1Sskrll 1721.1Sskrll# Pseudo-Devices 1731.1Sskrll 1741.1Sskrll# network pseudo-devices 1751.9Sskrll#pseudo-device carp # Common Address Redundancy Protocol 1761.9Sskrll#pseudo-device ipfilter # IP filter (firewall) and NAT 1771.1Sskrll#pseudo-device kttcp # network loopback 1781.9Sskrll#pseudo-device ppp # Point-to-Point Protocol 1791.9Sskrll#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 1801.9Sskrll#options PPPOE_SERVER # Enable PPPoE server via link0 1811.9Sskrll#pseudo-device sl # Serial Line IP 1821.9Sskrll#pseudo-device strip # Starmode Radio IP (Metricom) 1831.9Sskrll#pseudo-device irframetty # IrDA frame line discipline 1841.9Sskrll#pseudo-device tap # virtual Ethernet 1851.9Sskrll#pseudo-device tun # network tunneling over tty 1861.9Sskrll#pseudo-device gre # generic L3 over IP tunnel 1871.9Sskrll#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933) 1881.9Sskrll#pseudo-device faith # IPv[46] TCP relay translation i/f 1891.9Sskrll#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 1901.9Sskrll#pseudo-device vlan # IEEE 802.1q encapsulation 1911.9Sskrll#pseudo-device bridge # simple inter-network bridging 1921.9Sskrll#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 1931.9Sskrll#pseudo-device agr # IEEE 802.3ad link aggregation 1941.9Sskrll#pseudo-device pf # PF packet filter 1951.9Sskrll#pseudo-device pflog # PF log if 1961.1Sskrll 1971.1Sskrll# miscellaneous pseudo-devices 1981.9Sskrll 1991.9Sskrll# wscons pseudo-devices 2001.9Sskrllpseudo-device wsmux # mouse & keyboard multiplexor 2011.9Sskrllpseudo-device wsfont 2021.9Sskrll 2031.9Sskrll# data mover pseudo-devices 2041.9Sskrll#pseudo-device swdmover # software dmover(9) back-end 2051.9Sskrll#pseudo-device dmoverio # /dev/dmover dmover(9) interface 2061.16Sjmcneill 2071.29Sjmcneill# userland interface to drivers, including autoconf and properties retrieval 2081.29Sjmcneill 2091.16Sjmcneill# local configuration 2101.16Sjmcneillcinclude "arch/evbarm/conf/RPI.local" 211