RPI revision 1.93
11.1Sskrll# 21.93Srin# $NetBSD: RPI,v 1.93 2020/10/30 11:02:50 rin 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.60Sskrlloptions CPU_ARM1176 111.78Sskrlloptions SOC_BCM2835 121.60Sskrlloptions TPIDRPRW_IS_CURLWP 131.61Sjmcneilloptions ARM11_COMPAT_MMU 141.60Sskrlloptions __HAVE_MM_MD_CACHE_ALIASING 151.60Sskrllmakeoptions CPUFLAGS="-march=armv6z -mtune=arm1176jzf-s -mfpu=vfp" 161.1Sskrll 171.1Sskrll# Architecture options 181.1Sskrll 191.1Sskrll# Development and Debugging options 201.33Sreinoud#options KGDB,KGDB_PLCOMUNIT=0,KGDB_DEVRATE=115200,KGDB_CONMODE=0xB00 211.85Sskrll#options VERBOSE_INIT_ARM 221.85Sskrll#options EARLYCONS=bcm2835,CONSADDR=0x20201000 231.1Sskrllmakeoptions DEBUG="-g" # compile full symbol table 241.48Sjoergmakeoptions COPY_SYMTAB=1 251.1Sskrlloptions PLCONSOLE 261.1Sskrll#options PLCONSOLE,PLCOMCNUNIT=0,PLCONSPEED=115200,PLCONMODE=0xB00 271.1Sskrll 281.1Sskrll## USB Debugging options 291.77Sskrll#options USB_DEBUG 301.65Sskrll#options DWC2_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# memorydisk=<n> Set memorydisk size to <n> KB 391.1Sskrll# quiet Show aprint_naive output 401.1Sskrll# verbose Show aprint_normal and aprint_verbose output 411.1Sskrll#options BOOT_ARGS="\"\"" 421.1Sskrll 431.22Sjakllschconfig netbsd root on ? type ? 441.1Sskrll 451.78Sskrll# Device tree support 461.78Sskrllarmfdt0 at root 471.81Sjmcneillsimplebus* at fdt? pass 0 481.1Sskrll 491.60Sskrll# The CPU(s) 501.78Sskrllcpus* at fdt? pass 0 511.80Sjmcneillcpu* at fdt? pass 0 521.1Sskrll 531.78Sskrllfclock* at fdt? pass 0 541.1Sskrll 551.1Sskrll# Interrupt Controller 561.78Sskrllbcmicu* at fdt? pass 1 571.78Sskrll 581.78Sskrll# System timer 591.78Sskrllbcmtmr0 at fdt? pass 1 601.78Sskrll 611.78Sskrll# Clock manager 621.78Sskrllbcmcprman0 at fdt? pass 1 631.78Sskrll 641.78Sskrll# AUX 651.78Sskrllbcmaux0 at fdt? pass 2 661.78Sskrll 671.78Sskrll# pulse width modulator manager 681.78Sskrll#bcmpwm0 at fdt? 691.78Sskrll 701.78Sskrllfregulator* at fdt? 711.78Sskrllgpiokeys* at fdt? 721.78Sskrll 731.78Sskrll# GPIO LEDs 741.78Sskrllgpioleds* at fdt? 751.1Sskrll 761.4Sskrll# VC Mailbox 771.78Sskrllbcmmbox* at fdt? 781.78Sskrllvcmbox* at bcmmbox? 791.4Sskrll 801.51Sjmcneill# DMA Controller 811.78Sskrllbcmdmac0 at fdt? 821.51Sjmcneill 831.27Sjmcneill# VCHIQ 841.78Sskrllvchiq0 at fdt? 851.30Sjmcneill 861.30Sjmcneill# AUDS 871.30Sjmcneillvcaudio0 at vchiq0 881.76Sjmcneillaudio* at audiobus? 891.27Sjmcneill 901.71Schristosspkr* at audio? # PC speaker (synthesized) 911.69Snat 921.1Sskrll# PL011 uart 931.78Sskrllplcom* at fdt? 941.1Sskrll 951.74Sjmcneill# AUX UART 961.78Sskrllcom0 at fdt? 971.74Sjmcneill 981.15Sjmcneill# Framebuffer console 991.78Sskrllgenfb0 at fdt? 1001.20Sjmcneillwsdisplay* at genfb? 1011.31Sreinoudoptions VCONS_DRAW_INTR 1021.56Sskrll#options RPI_HWCURSOR 1031.15Sjmcneill 1041.1Sskrll# Power management, Reset controller and Watchdog registers 1051.87Sskrllbcmpmwdog* at fdt? 1061.1Sskrll 1071.23Sjmcneill# Random number generator 1081.78Sskrllbcmrng0 at fdt? 1091.23Sjmcneill 1101.44Skardel# GPIO 1111.78Sskrllbcmgpio* at fdt? 1121.44Skardel 1131.1Sskrll# Arasan SD/MMC Interface 1141.78Sskrllsdhc* at fdt? 1151.78Sskrllsdmmc* at sdhc? 1161.1Sskrll 1171.72Sjmcneill# SD host controller 1181.87Sskrllbcmsdhost* at fdt? 1191.87Sskrllsdmmc* at bcmsdhost? 1201.72Sjmcneill 1211.1Sskrllld* at sdmmc? 1221.89Smlelstvbwfm* at sdmmc? 1231.1Sskrll 1241.17Sskrll# On-board USB 1251.78Sskrlldwctwo* at fdt? 1261.41Sskrllusb* at dwctwo? 1271.7Sjakllsch 1281.38Sskrll# USB device drivers 1291.17Sskrllinclude "dev/usb/usbdevices.config" 1301.7Sjakllsch 1311.57Suebayasimidi* at midibus? 1321.57Suebayasi 1331.50Sskrll# MII/PHY support 1341.50Sskrllexphy* at mii? phy ? # 3Com internal PHYs 1351.50Sskrllgentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs 1361.50Sskrllglxtphy* at mii? phy ? # Level One LXT-1000 PHYs 1371.50Sskrllgphyter* at mii? phy ? # NS83861 Gig-E PHY 1381.50Sskrllicsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 1391.50Sskrlligphy* at mii? phy ? # Intel IGP01E1000 1401.50Sskrllihphy* at mii? phy ? # Intel 82577 PHYs 1411.50Sskrllikphy* at mii? phy ? # Intel 82563 PHYs 1421.50Sskrllinphy* at mii? phy ? # Intel 82555 PHYs 1431.50Sskrlliophy* at mii? phy ? # Intel 82553 PHYs 1441.50Sskrlllxtphy* at mii? phy ? # Level One LXT-970 PHYs 1451.50Sskrllmakphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 1461.50Sskrllnsphy* at mii? phy ? # NS83840 PHYs 1471.50Sskrllnsphyter* at mii? phy ? # NS83843 PHYs 1481.50Sskrllpnaphy* at mii? phy ? # generic HomePNA PHYs 1491.50Sskrllqsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 1501.50Sskrllrdcphy* at mii? phy ? # RDC R6040 10/100 PHY 1511.50Sskrllrgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs 1521.50Sskrllrlphy* at mii? phy ? # Realtek 8139/8201L PHYs 1531.92Srinsmscphy* at mii? phy ? # SMSC LAN87xx PHYs 1541.50Sskrllsqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 1551.50Sskrlltlphy* at mii? phy ? # ThunderLAN PHYs 1561.50Sskrlltqphy* at mii? phy ? # TDK Semiconductor PHYs 1571.50Sskrllurlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 1581.50Sskrllukphy* at mii? phy ? # generic unknown PHYs 1591.18Sskrll 1601.14Sjakllsch# Broadcom Serial Control (I2C) 1611.78Sskrllbsciic* at fdt? 1621.14Sjakllschiic* at i2cbus? 1631.14Sjakllsch 1641.58Smacallan# 'DS3231 Raspberry Pi RTC Board Real Time Clock Module for Arduino' 1651.58Smacallan# sold by linksprite.com 1661.58Smacallan#dsrtc* at iic1 addr 0x68 flags 3231 1671.58Smacallan 1681.68Saymeric# MCP7940 based PiFace Real Time Clock 1691.68Saymeric#dsrtc* at iic1 addr 0x6f flags 7940 1701.68Saymeric 1711.14Sjakllsch# SPI controller 1721.78Sskrllbcmspi* at fdt? 1731.14Sjakllschspi* at spibus? 1741.14Sjakllsch 1751.64Sphx# MCP3x0x ADC 1761.64Sphx# flags selects the actual chip, refer to mcp3kadc(4) 1771.64Sphx#mcp3kadc0 at spi? slave 0 flags 0 1781.64Sphx 1791.43Skardel# PIFace or other boards using that chip (needs gpio) 1801.43Skardel#mcp23s17gpio0 at spi? slave 0 flags 0 1811.55Sjakllsch#mcp23s17gpio1 at spi? slave 0 flags 1 1821.43Skardel#mcp23s17gpio2 at spi? slave 0 flags 2 1831.43Skardel#mcp23s17gpio3 at spi? slave 0 flags 3 1841.43Skardel 1851.44Skardel# gpio support (e. g. mcp23s17gpio, bcmgpio) 1861.44Skardelgpio* at gpiobus? 1871.43Skardel 1881.1Sskrll# various options for wscons - we try to look as much like a standard 1891.1Sskrll# sun console as possible 1901.1Sskrlloptions WSEMUL_VT100 # sun terminal emulation 1911.5Sskrlloptions WS_DEFAULT_FG=WSCOL_WHITE 1921.5Sskrlloptions WS_DEFAULT_BG=WSCOL_BLACK 1931.5Sskrlloptions WS_KERNEL_FG=WSCOL_GREEN 1941.5Sskrlloptions WS_KERNEL_BG=WSCOL_BLACK 1951.24Sskrlloptions WSDISPLAY_COMPAT_PCVT # emulate some ioctls 1961.24Sskrlloptions WSDISPLAY_COMPAT_SYSCONS # emulate some more ioctls 1971.3Sabsoptions WSDISPLAY_COMPAT_USL # wsconscfg VT handling 1981.1Sskrlloptions WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 1991.1Sskrlloptions WSDISPLAY_DEFAULTSCREENS=4 2001.24Sskrll 2011.93Srinoptions FONT_BOLD8x16 2021.93Srinoptions FONT_BOLD16x32 2031.93Srin 2041.15Sjmcneill#options FONT_QVSS8x15 2051.1Sskrll#options FONT_GALLANT12x22 # the console font 2061.1Sskrll 2071.1Sskrll# Pseudo-Devices 2081.1Sskrll 2091.1Sskrll# network pseudo-devices 2101.9Sskrll#pseudo-device carp # Common Address Redundancy Protocol 2111.84Smaxv#pseudo-device npf # NPF packet filter 2121.1Sskrll#pseudo-device kttcp # network loopback 2131.9Sskrll#pseudo-device sl # Serial Line IP 2141.9Sskrll#pseudo-device irframetty # IrDA frame line discipline 2151.9Sskrll#pseudo-device faith # IPv[46] TCP relay translation i/f 2161.9Sskrll#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2171.9Sskrll#pseudo-device agr # IEEE 802.3ad link aggregation 2181.1Sskrll 2191.1Sskrll# miscellaneous pseudo-devices 2201.78Sskrllpseudo-device openfirm 2211.9Sskrll 2221.9Sskrll# wscons pseudo-devices 2231.9Sskrllpseudo-device wsmux # mouse & keyboard multiplexor 2241.9Sskrllpseudo-device wsfont 2251.9Sskrll 2261.29Sjmcneill# userland interface to drivers, including autoconf and properties retrieval 2271.29Sjmcneill 2281.16Sjmcneill# local configuration 2291.16Sjmcneillcinclude "arch/evbarm/conf/RPI.local" 2301.75Snat 2311.89Smlelstv# Bluetooth devices 2321.89Smlelstvinclude "dev/bluetooth/bluetoothdevices.config" 2331.89Smlelstv 234