RPI revision 1.89
11.1Sskrll# 21.89Smlelstv# $NetBSD: RPI,v 1.89 2020/01/26 06:50:18 mlelstv 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.78Sskrllmakeoptions DTSGNUARCH="arm arm64" 111.78Sskrllmakeoptions DTSSUBDIR="broadcom" 121.78Sskrll 131.78Sskrllmakeoptions DTS=" 141.78Sskrll bcm2835-rpi-a.dts 151.78Sskrll bcm2835-rpi-a-plus.dts 161.78Sskrll bcm2835-rpi-b.dts 171.78Sskrll bcm2835-rpi-b-plus.dts 181.78Sskrll bcm2835-rpi-b-rev2.dts 191.86Sskrll bcm2835-rpi-cm1-io1.dts 201.78Sskrll bcm2835-rpi-zero.dts 211.82Sskrll bcm2835-rpi-zero-w.dts 221.78Sskrll" 231.1Sskrll 241.60Sskrlloptions CPU_ARM1176 251.78Sskrlloptions SOC_BCM2835 261.60Sskrlloptions TPIDRPRW_IS_CURLWP 271.61Sjmcneilloptions ARM11_COMPAT_MMU 281.60Sskrlloptions __HAVE_MM_MD_CACHE_ALIASING 291.60Sskrllmakeoptions CPUFLAGS="-march=armv6z -mtune=arm1176jzf-s -mfpu=vfp" 301.1Sskrll 311.1Sskrll# Architecture options 321.1Sskrll 331.1Sskrll# Development and Debugging options 341.33Sreinoud#options KGDB,KGDB_PLCOMUNIT=0,KGDB_DEVRATE=115200,KGDB_CONMODE=0xB00 351.85Sskrll#options VERBOSE_INIT_ARM 361.85Sskrll#options EARLYCONS=bcm2835,CONSADDR=0x20201000 371.1Sskrllmakeoptions DEBUG="-g" # compile full symbol table 381.48Sjoergmakeoptions COPY_SYMTAB=1 391.1Sskrlloptions PLCONSOLE 401.1Sskrll#options PLCONSOLE,PLCOMCNUNIT=0,PLCONSPEED=115200,PLCONMODE=0xB00 411.1Sskrll 421.1Sskrll## USB Debugging options 431.77Sskrll#options USB_DEBUG 441.65Sskrll#options DWC2_DEBUG 451.1Sskrll#options UHUB_DEBUG 461.1Sskrll 471.1Sskrll 481.1Sskrll# Valid options for BOOT_ARGS: 491.1Sskrll# single Boot to single user only 501.1Sskrll# kdb Give control to kernel debugger 511.1Sskrll# ask Ask for file name to reboot from 521.1Sskrll# pmapdebug=<n> If PMAP_DEBUG, set pmap_debug_level to <n> 531.1Sskrll# memorydisk=<n> Set memorydisk size to <n> KB 541.1Sskrll# quiet Show aprint_naive output 551.1Sskrll# verbose Show aprint_normal and aprint_verbose output 561.1Sskrll#options BOOT_ARGS="\"\"" 571.1Sskrll 581.22Sjakllschconfig netbsd root on ? type ? 591.1Sskrll 601.78Sskrll# Device tree support 611.78Sskrllarmfdt0 at root 621.81Sjmcneillsimplebus* at fdt? pass 0 631.1Sskrll 641.60Sskrll# The CPU(s) 651.78Sskrllcpus* at fdt? pass 0 661.80Sjmcneillcpu* at fdt? pass 0 671.1Sskrll 681.78Sskrllfclock* at fdt? pass 0 691.1Sskrll 701.1Sskrll# Interrupt Controller 711.78Sskrllbcmicu* at fdt? pass 1 721.78Sskrll 731.78Sskrll# System timer 741.78Sskrllbcmtmr0 at fdt? pass 1 751.78Sskrll 761.78Sskrll# Clock manager 771.78Sskrllbcmcprman0 at fdt? pass 1 781.78Sskrll 791.78Sskrll# AUX 801.78Sskrllbcmaux0 at fdt? pass 2 811.78Sskrll 821.78Sskrll# pulse width modulator manager 831.78Sskrll#bcmpwm0 at fdt? 841.78Sskrll 851.78Sskrllfregulator* at fdt? 861.78Sskrllgpiokeys* at fdt? 871.78Sskrll 881.78Sskrll# GPIO LEDs 891.78Sskrllgpioleds* at fdt? 901.1Sskrll 911.4Sskrll# VC Mailbox 921.78Sskrllbcmmbox* at fdt? 931.78Sskrllvcmbox* at bcmmbox? 941.4Sskrll 951.51Sjmcneill# DMA Controller 961.78Sskrllbcmdmac0 at fdt? 971.51Sjmcneill 981.27Sjmcneill# VCHIQ 991.78Sskrllvchiq0 at fdt? 1001.30Sjmcneill 1011.30Sjmcneill# AUDS 1021.30Sjmcneillvcaudio0 at vchiq0 1031.76Sjmcneillaudio* at audiobus? 1041.27Sjmcneill 1051.71Schristosspkr* at audio? # PC speaker (synthesized) 1061.69Snat 1071.1Sskrll# PL011 uart 1081.78Sskrllplcom* at fdt? 1091.1Sskrll 1101.74Sjmcneill# AUX UART 1111.78Sskrllcom0 at fdt? 1121.74Sjmcneill 1131.15Sjmcneill# Framebuffer console 1141.78Sskrllgenfb0 at fdt? 1151.20Sjmcneillwsdisplay* at genfb? 1161.31Sreinoudoptions VCONS_DRAW_INTR 1171.56Sskrll#options RPI_HWCURSOR 1181.15Sjmcneill 1191.1Sskrll# Power management, Reset controller and Watchdog registers 1201.87Sskrllbcmpmwdog* at fdt? 1211.1Sskrll 1221.23Sjmcneill# Random number generator 1231.78Sskrllbcmrng0 at fdt? 1241.23Sjmcneill 1251.44Skardel# GPIO 1261.78Sskrllbcmgpio* at fdt? 1271.44Skardel 1281.1Sskrll# Arasan SD/MMC Interface 1291.78Sskrllsdhc* at fdt? 1301.78Sskrllsdmmc* at sdhc? 1311.1Sskrll 1321.72Sjmcneill# SD host controller 1331.87Sskrllbcmsdhost* at fdt? 1341.87Sskrllsdmmc* at bcmsdhost? 1351.72Sjmcneill 1361.1Sskrllld* at sdmmc? 1371.89Smlelstvbwfm* at sdmmc? 1381.1Sskrll 1391.17Sskrll# On-board USB 1401.78Sskrlldwctwo* at fdt? 1411.41Sskrllusb* at dwctwo? 1421.7Sjakllsch 1431.38Sskrll# USB device drivers 1441.17Sskrllinclude "dev/usb/usbdevices.config" 1451.7Sjakllsch 1461.57Suebayasimidi* at midibus? 1471.57Suebayasi 1481.50Sskrll# MII/PHY support 1491.50Sskrllexphy* at mii? phy ? # 3Com internal PHYs 1501.50Sskrllgentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs 1511.50Sskrllglxtphy* at mii? phy ? # Level One LXT-1000 PHYs 1521.50Sskrllgphyter* at mii? phy ? # NS83861 Gig-E PHY 1531.50Sskrllicsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 1541.50Sskrlligphy* at mii? phy ? # Intel IGP01E1000 1551.50Sskrllihphy* at mii? phy ? # Intel 82577 PHYs 1561.50Sskrllikphy* at mii? phy ? # Intel 82563 PHYs 1571.50Sskrllinphy* at mii? phy ? # Intel 82555 PHYs 1581.50Sskrlliophy* at mii? phy ? # Intel 82553 PHYs 1591.50Sskrlllxtphy* at mii? phy ? # Level One LXT-970 PHYs 1601.50Sskrllmakphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 1611.50Sskrllnsphy* at mii? phy ? # NS83840 PHYs 1621.50Sskrllnsphyter* at mii? phy ? # NS83843 PHYs 1631.50Sskrllpnaphy* at mii? phy ? # generic HomePNA PHYs 1641.50Sskrllqsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 1651.50Sskrllrdcphy* at mii? phy ? # RDC R6040 10/100 PHY 1661.50Sskrllrgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs 1671.50Sskrllrlphy* at mii? phy ? # Realtek 8139/8201L PHYs 1681.50Sskrllsqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 1691.50Sskrlltlphy* at mii? phy ? # ThunderLAN PHYs 1701.50Sskrlltqphy* at mii? phy ? # TDK Semiconductor PHYs 1711.50Sskrllurlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 1721.50Sskrllukphy* at mii? phy ? # generic unknown PHYs 1731.18Sskrll 1741.14Sjakllsch# Broadcom Serial Control (I2C) 1751.78Sskrllbsciic* at fdt? 1761.14Sjakllschiic* at i2cbus? 1771.14Sjakllsch 1781.58Smacallan# 'DS3231 Raspberry Pi RTC Board Real Time Clock Module for Arduino' 1791.58Smacallan# sold by linksprite.com 1801.58Smacallan#dsrtc* at iic1 addr 0x68 flags 3231 1811.58Smacallan 1821.68Saymeric# MCP7940 based PiFace Real Time Clock 1831.68Saymeric#dsrtc* at iic1 addr 0x6f flags 7940 1841.68Saymeric 1851.14Sjakllsch# SPI controller 1861.78Sskrllbcmspi* at fdt? 1871.14Sjakllschspi* at spibus? 1881.14Sjakllsch 1891.64Sphx# MCP3x0x ADC 1901.64Sphx# flags selects the actual chip, refer to mcp3kadc(4) 1911.64Sphx#mcp3kadc0 at spi? slave 0 flags 0 1921.64Sphx 1931.43Skardel# PIFace or other boards using that chip (needs gpio) 1941.43Skardel#mcp23s17gpio0 at spi? slave 0 flags 0 1951.55Sjakllsch#mcp23s17gpio1 at spi? slave 0 flags 1 1961.43Skardel#mcp23s17gpio2 at spi? slave 0 flags 2 1971.43Skardel#mcp23s17gpio3 at spi? slave 0 flags 3 1981.43Skardel 1991.44Skardel# gpio support (e. g. mcp23s17gpio, bcmgpio) 2001.44Skardelgpio* at gpiobus? 2011.43Skardel 2021.1Sskrll# various options for wscons - we try to look as much like a standard 2031.1Sskrll# sun console as possible 2041.1Sskrlloptions WSEMUL_VT100 # sun terminal emulation 2051.5Sskrlloptions WS_DEFAULT_FG=WSCOL_WHITE 2061.5Sskrlloptions WS_DEFAULT_BG=WSCOL_BLACK 2071.5Sskrlloptions WS_KERNEL_FG=WSCOL_GREEN 2081.5Sskrlloptions WS_KERNEL_BG=WSCOL_BLACK 2091.24Sskrlloptions WSDISPLAY_COMPAT_PCVT # emulate some ioctls 2101.24Sskrlloptions WSDISPLAY_COMPAT_SYSCONS # emulate some more ioctls 2111.3Sabsoptions WSDISPLAY_COMPAT_USL # wsconscfg VT handling 2121.1Sskrlloptions WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 2131.1Sskrlloptions WSDISPLAY_DEFAULTSCREENS=4 2141.24Sskrll 2151.15Sjmcneill#options FONT_QVSS8x15 2161.1Sskrll#options FONT_GALLANT12x22 # the console font 2171.1Sskrll 2181.1Sskrll# Pseudo-Devices 2191.1Sskrll 2201.1Sskrll# network pseudo-devices 2211.9Sskrll#pseudo-device carp # Common Address Redundancy Protocol 2221.84Smaxv#pseudo-device npf # NPF packet filter 2231.1Sskrll#pseudo-device kttcp # network loopback 2241.9Sskrll#pseudo-device sl # Serial Line IP 2251.9Sskrll#pseudo-device irframetty # IrDA frame line discipline 2261.9Sskrll#pseudo-device faith # IPv[46] TCP relay translation i/f 2271.9Sskrll#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2281.9Sskrll#pseudo-device agr # IEEE 802.3ad link aggregation 2291.1Sskrll 2301.1Sskrll# miscellaneous pseudo-devices 2311.78Sskrllpseudo-device openfirm 2321.9Sskrll 2331.9Sskrll# wscons pseudo-devices 2341.9Sskrllpseudo-device wsmux # mouse & keyboard multiplexor 2351.9Sskrllpseudo-device wsfont 2361.9Sskrll 2371.29Sjmcneill# userland interface to drivers, including autoconf and properties retrieval 2381.29Sjmcneill 2391.16Sjmcneill# local configuration 2401.16Sjmcneillcinclude "arch/evbarm/conf/RPI.local" 2411.75Snat 2421.89Smlelstv# Bluetooth devices 2431.89Smlelstvinclude "dev/bluetooth/bluetoothdevices.config" 2441.89Smlelstv 245