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