Home | History | Annotate | Line # | Download | only in conf
      1 #	$NetBSD: TS7200,v 1.78 2022/08/07 02:52:25 simonb Exp $
      2 #
      3 #	TS7200 - Kernel for Technologic Systems TS7200 ARM hardware
      4 #
      5 #	Note - the kernel size for this hardware has two limitations:
      6 #
      7 #	1) The total size of the kernel (text, data, and bss) must fit
      8 #	   within 8MB.  This is mainly an issue for the INSTALL kernel
      9 #	   (TS7200_INSTALL)
     10 #	2) If you wish to install this kernel in flash, the compressed size
     11 #	   (including the gunzip booter) must fit within 1441792 bytes.
     12 #
     13 #	If you add new devices to this kernel, please check these limitations.
     14 #
     15 
     16 include	"arch/evbarm/conf/std.tsarm"
     17 
     18 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
     19 options 	MSGBUFSIZE=65536
     20 #options 	KSTACK_CHECK_MAGIC
     21 
     22 # estimated number of users
     23 maxusers	32
     24 
     25 # Standard system options
     26 
     27 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     28 options 	NTP		# NTP phase/frequency locked loop
     29 
     30 # CPU options
     31 
     32 options 	CPU_ARM9	# Support the ARM9TDMI core
     33 
     34 # File systems
     35 
     36 file-system	FFS		# UFS
     37 #file-system	LFS		# log-structured file system
     38 file-system	MFS		# memory file system
     39 file-system	NFS		# Network file system
     40 #file-system 	ADOSFS		# AmigaDOS-compatible file system
     41 file-system 	EXT2FS		# second extended file system (linux)
     42 #file-system	CD9660		# ISO 9660 + Rock Ridge file system
     43 file-system	MSDOSFS		# MS-DOS file system
     44 #file-system	FDESC		# /dev/fd
     45 #file-system    FILECORE        # Acorn filecore file system
     46 file-system	KERNFS		# /kern
     47 #file-system	NULLFS		# loopback file system
     48 file-system	PROCFS		# /proc
     49 #file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
     50 #file-system	UMAPFS		# NULLFS + uid and gid remapping
     51 #file-system	UNION		# union file system
     52 file-system	PTYFS		# /dev/pts/N support
     53 
     54 # File system options
     55 #options 	FFS_EI		# FFS Endian Independent support
     56 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
     57 #options 	QUOTA		# legacy UFS quotas
     58 #options 	QUOTA2		# new, in-filesystem UFS quotas
     59 #options 	UFS_DIRHASH	# UFS Large Directory Hashing
     60 #options 	UFS_EXTATTR	# Extended attribute support for UFS1
     61 options 	WAPBL		# File system journaling support
     62 #options 	DISKLABEL_EI	# disklabel Endian Independent support
     63 options 	NFSSERVER	# Network File System server
     64 
     65 # Networking options
     66 
     67 #options 	GATEWAY		# packet forwarding
     68 options 	INET		# IP + ICMP + TCP + UDP
     69 options 	INET6		# IPV6
     70 #options 	IPSEC		# IP security
     71 #options 	IPSEC_DEBUG	# debug for IP security
     72 #options 	MROUTING	# IP multicast routing
     73 #options 	NETATALK	# AppleTalk networking
     74 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
     75 #options 	PPP_DEFLATE	# Deflate compression support for PPP
     76 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
     77 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
     78 
     79 options 	NFS_BOOT_BOOTP
     80 options 	NFS_BOOT_DHCP
     81 #options 	NFS_BOOT_BOOTPARAM
     82 
     83 # Compatibility options
     84 
     85 include 	"conf/compat_netbsd20.config"
     86 options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
     87 
     88 # Shared memory options
     89 
     90 options 	SYSVMSG		# System V-like message queues
     91 options 	SYSVSEM		# System V-like semaphores
     92 options 	SYSVSHM		# System V-like memory sharing
     93 
     94 # Device options
     95 
     96 #options 	MEMORY_DISK_HOOKS	# boottime setup of ramdisk
     97 #options 	MEMORY_DISK_ROOT_SIZE=3400	# Size in blocks
     98 #options 	MEMORY_DISK_IS_ROOT	# use memory disk as root
     99 
    100 # Console options.  The default console is speed is 115200 baud.
    101 #options 	CONSPEED=9600		# Console speed
    102 
    103 # Miscellaneous kernel options
    104 options 	KTRACE		# system call tracing, a la ktrace(1)
    105 options 	IRQSTATS	# manage IRQ statistics
    106 #options 	SCSIVERBOSE	# Verbose SCSI errors
    107 #options 	PCIVERBOSE	# Verbose PCI descriptions
    108 #options 	MIIVERBOSE	# Verbose MII autoconfuration messages
    109 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    110 #options 	DDB_KEYCODE=0x40
    111 #options 	USERCONF	# userconf(4) support
    112 #options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
    113 
    114 # Development and Debugging options
    115 
    116 options 	DIAGNOSTIC	# internal consistency checks
    117 #options 	DEBUG
    118 #options 	UVMHIST		# kernhist for uvm/pmap subsystems
    119 #options 	VERBOSE_INIT_ARM # verbose bootstraping messages
    120 options 	DDB		# in-kernel debugger
    121 options 	DDB_ONPANIC=1
    122 options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
    123 #makeoptions	DEBUG="-g"	# compile full symbol table
    124 makeoptions	COPY_SYMTAB=1
    125 
    126 ##options 	PMAP_INCLUDE_PTE_SYNC
    127 ##options 	LOCKDEBUG
    128 
    129 config		netbsd		root on ? type ?
    130 config		netbsd-epe0	root on epe0 type nfs
    131 config		netbsd-wd0	root on wd0 type ffs
    132 #config		netbsd-sd0	root on sd0 type ffs
    133 
    134 # The main bus device
    135 mainbus0	at root
    136 
    137 # The boot cpu
    138 cpu0		at mainbus?
    139 
    140 # Cirrus Logic EP93xx System-on-chip
    141 epsoc0		at mainbus?
    142 # On-chip timers
    143 epclk0		at epsoc? addr 0x80810000 size 0x90 intr 35
    144 # On-chip serial UARTS
    145 epcom0		at epsoc? addr 0x808c0000 size 0x1000 intr 52
    146 epcom1		at epsoc? addr 0x808d0000 size 0x1000 intr 54
    147 # On-chip USB 1.1
    148 ohci*		at epsoc? addr 0x80020000 size 0x1000 intr 56
    149 # On-chip 10/100 Ethernet
    150 epe0		at epsoc? addr 0x80010000 size 0x10000 intr 39
    151 # On-board TS-7200 CPLD
    152 tspld0		at mainbus?
    153 # PC/104 bus
    154 isa0		at tspld?
    155 # CompactFlash interface
    156 wdc0		at tspld?
    157 # TS-5620 battery-backed real-time clock
    158 tsrtc*		at tspld?
    159 # On-board GPIO ports.  Note that only 20 total GPIO pins are available
    160 # across all ports
    161 epgpio0		at epsoc? addr 0x80840000 size 0xcc intr 59
    162 gpio*		at epgpio?
    163 options 	EPGPIO_PORT_C_MASK=0x00
    164 options 	EPGPIO_PORT_D_MASK=0x00
    165 options 	EPGPIO_PORT_E_MASK=0x00
    166 options 	EPGPIO_PORT_F_MASK=0x02
    167 options 	EPGPIO_PORT_G_MASK=0x00
    168 options 	EPGPIO_PORT_H_MASK=0x38
    169 
    170 # HD44780 LCD on LCD header
    171 #tslcd*		at tspld?
    172 #wsdisplay*	at tslcd? console ?
    173 
    174 # 4x4 Matrix Keypad on DIO header
    175 #tskp*		at tspld?
    176 #wskbd*	at tskp? console ? mux 1
    177 
    178 # TS-SER[1,2,4] multiport serial PC/104 cards
    179 com0		at isa? port 0x3f8 irq 6        # Standard PC serial ports
    180 com1		at isa? port 0x2f8 irq 6
    181 com2		at isa? port 0x3e8 irq 6
    182 com3		at isa? port 0x2e8 irq 6
    183 
    184 wdc1	at isa? port 0x1f0 irq 7 flags 0x00
    185 wdc2	at isa? port 0x170 irq 7 flags 0x00
    186 
    187 tscs0	at isa? port 0x300 iomem ? irq ? drq ?  # TS-ETH10 PC/104 ethernet
    188 tscs1	at isa? port 0x310 iomem ? irq ? drq ?
    189 tscs2	at isa? port 0x320 iomem ? irq ? drq ?
    190 tscs3	at isa? port 0x330 iomem ? irq ? drq ?
    191 
    192 tsdio0  at isa? port 0x100 # TS-DIO24 general-purpose I/O
    193 tsdio1  at isa? port 0x108
    194 tsdio2  at isa? port 0x110
    195 tsdio3  at isa? port 0x118
    196 
    197 # PCMCIA bus support
    198 #pcmcia* at pcic? controller ? socket ?
    199 
    200 #options PCIC_ISA_INTR_ALLOC_MASK=0xe0
    201 # ISA PCMCIA controllers
    202 #pcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
    203 #pcic1	at isa? port 0x3e2 iomem 0xe0000 iosiz 0x4000
    204 #pcic2	at isa? port 0x3e4 iomem 0xe0000 iosiz 0x4000
    205 
    206 # ATA (IDE) bus support
    207 atabus* at ata?
    208 
    209 # IDE drives
    210 # Flags are used only with controllers that support DMA operations
    211 # and mode settings (e.g. some pciide controllers)
    212 # The lowest order four bits (rightmost digit) of the flags define the PIO
    213 # mode to use, the next set of four bits the DMA mode and the third set the
    214 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
    215 # to use, and the last bit must be 1 for this setting to be used.
    216 # For DMA and UDMA, 0xf (1111) means 'disable'.
    217 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
    218 # (0xc=1100, 0xa=1010, 0xf=1111)
    219 # 0x0000 means "use whatever the drive claims to support".
    220 wd*	at atabus? drive ? flags 0x00ff
    221 
    222 # ATAPI bus support
    223 #atapibus* at atapi?
    224 
    225 # ATAPI devices
    226 # flags have the same meaning as for IDE drives.
    227 # XXX No DMA on IDE devices for now
    228 #cd*	at atapibus? drive ? flags 0x0ff0	# ATAPI CD-ROM drives
    229 #sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    230 #st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
    231 #uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
    232 
    233 # MII/PHY support
    234 #acphy*	at mii? phy ?			# Altima AC101 and AMD Am79c874 PHYs
    235 #amhphy* at mii? phy ?			# AMD 79c901 Ethernet PHYs
    236 #bmtphy* at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
    237 #brgphy* at mii? phy ?			# Broadcom BCM5400-family PHYs
    238 #dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
    239 #exphy*	at mii? phy ?			# 3Com internal PHYs
    240 #gentbi* at mii? phy ?			# Generic Ten-Bit 1000BASE-[CLS]X PHYs
    241 #glxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
    242 #gphyter* at mii? phy ?			# NS83861 Gig-E PHY
    243 #icsphy* at mii? phy ?			# Integrated Circuit Systems ICS189x
    244 #igphy*	at mii? phy ?			# Intel IGP01E1000
    245 #inphy*	at mii? phy ?			# Intel 82555 PHYs
    246 #iophy*	at mii? phy ?			# Intel 82553 PHYs
    247 #lxtphy* at mii? phy ?			# Level One LXT-970 PHYs
    248 #makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
    249 #nsphy*	at mii? phy ?			# NS83840 PHYs
    250 #nsphyter* at mii? phy ? 		# NS83843 PHYs
    251 #pnaphy* at mii? phy ?			# generic HomePNA PHYs
    252 #qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
    253 #rgephy* at mii? phy ?			# Realtek 8169S/8110S/8211 PHYs
    254 #rlphy* at mii? phy ?			# Realtek 8139/8201L PHYs
    255 #sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
    256 #tlphy*	at mii? phy ?			# ThunderLAN PHYs
    257 #tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
    258 ukphy*	at mii? phy ?			# generic unknown PHYs
    259 #urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs
    260 
    261 # USB Controller and Devices
    262 
    263 # USB bus support
    264 #usb*	at ehci?
    265 usb*	at ohci?
    266 #usb*	at uhci?
    267 #usb*	at slhci?
    268 
    269 # USB Hubs
    270 uhub*	at usb?
    271 uhub*	at uhub? port ?
    272 
    273 # USB HID device
    274 #uhidev*	at uhub? port ? configuration ? interface ?
    275 
    276 # USB Mice
    277 # ums*	at uhidev? reportid ?
    278 # wsmouse* at ums? mux 0
    279 
    280 # USB eGalax touch-panel
    281 # uep*	at uhub? port ?
    282 # wsmouse* at uep? mux 0
    283 
    284 # USB Keyboards
    285 #ukbd*	at uhidev? reportid ?
    286 #wskbd*	at ukbd? console ? mux 1
    287 
    288 # USB serial adapter
    289 #ucycom*	at uhidev? reportid ?
    290 
    291 # USB Generic HID devices
    292 #uhid*	at uhidev? reportid ?
    293 
    294 # USB Printer
    295 #ulpt*	at uhub? port ? configuration ? interface ?
    296 
    297 # USB Modem
    298 #umodem*	at uhub? port ? configuration ?
    299 #ucom*	at umodem?
    300 
    301 # Option N.V. Wireless WAN modems
    302 #uhso*	at uhub? port ? configuration ?
    303 
    304 # USB Mass Storage
    305 #umass*	at uhub? port ? configuration ? interface ?
    306 #scsibus* at umass?
    307 # SCSI devices
    308 #sd*     at scsibus? target ? lun ?      # SCSI disk drives
    309 #st*     at scsibus? target ? lun ?      # SCSI tape drives
    310 #cd*     at scsibus? target ? lun ?      # SCSI CD-ROM drives
    311 #ch*     at scsibus? target ? lun ?      # SCSI autochangers
    312 #ses*    at scsibus? target ? lun ?      # SCSI Enclosure Services devices
    313 #ss*     at scsibus? target ? lun ?      # SCSI scanners
    314 #uk*     at scsibus? target ? lun ?      # SCSI unknown
    315 
    316 # USB audio
    317 #uaudio*	at uhub? port ? configuration ?
    318 
    319 # USB MIDI
    320 #umidi* at uhub? port ? configuration ?
    321 
    322 # USB IrDA
    323 # USB-IrDA bridge spec
    324 #uirda* at uhub? port ? configuration ? interface ?
    325 #irframe* at uirda?
    326 
    327 # SigmaTel STIr4200 USB/IrDA Bridge
    328 #ustir* at uhub? port ?
    329 #irframe* at ustir?
    330 
    331 # USB Ethernet adapters
    332 #aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
    333 #axe*	at uhub? port ?		# ASIX AX88172 based adapters
    334 #cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
    335 #kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
    336 #mue*	at uhub? port ?		# Microchip LAN75xx/LAN78xx based adapters
    337 #udav*	at uhub? port ?		# Davicom DM9601 based adapters
    338 #ure*	at uhub? port ?		# Realtek RTL8152/RTL8153 based adapters
    339 #url*	at uhub? port ?		# Realtek RTL8150L based adapters
    340 
    341 # Prolific PL2301/PL2302 host-to-host adapter
    342 #upl*	at uhub? port ?
    343 
    344 # Serial adapters
    345 #ubsa*	at uhub? port ?		# Belkin serial adapter
    346 #ucom*	at ubsa? portno ?
    347 
    348 #uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
    349 #ucom*	at uftdi? portno ?
    350 
    351 #umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
    352 #ucom*	at umct? portno ?
    353 
    354 #uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
    355 #ucom*	at uplcom? portno ?
    356 
    357 #uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
    358 #ucom*	at uvscom? portno ?
    359 #atu*	at uhub? port ?		# Atmel AT76C50XX 802.11b adapter
    360 
    361 # USB Handspring Visor
    362 # uvisor*	at uhub? port ?
    363 # ucom*	at uvisor?
    364 
    365 # Kyocera AIR-EDGE PHONE
    366 #ukyopon* at uhub? port ?
    367 #ucom*	at ukyopon? portno ?
    368 
    369 # USB scanners that use SCSI emulation, e.g., HP5300
    370 # usscanner* at uhub? port ?
    371 
    372 # D-Link DSB-R100 USB radio
    373 # udsbr*	at uhub? port ?
    374 # radio*	at udsbr?
    375 
    376 # USB Generic driver
    377 ugen*	at uhub? port ?
    378 
    379 # IrDA and Consumer Ir devices
    380 
    381 # Toshiba Oboe
    382 # oboe* 	at pci? dev ? function ?
    383 # irframe* at oboe?
    384 
    385 # CardBus IEEE1394 controllers
    386 #fwohci* at cardbus? function ?	# IEEE1394 Open Host Controller
    387 
    388 #fw*	at fwbus?			# IP over 1394
    389 
    390 # IEEE1394 nodes
    391 #fwnode* at fwbus? idhi ? idlo ?
    392 #sbpscsi* at fwnode?
    393 #scsibus* at sbpscsi?
    394 
    395 # Audio Devices
    396 
    397 # OPL[23] FM synthesizers
    398 #opl*	at cmpci? flags 1
    399 #opl*	at eso?
    400 #opl*	at fms?
    401 #opl*	at sv?
    402 #opl*	at yds?
    403 
    404 # Audio support
    405 #audio*	at audiobus?
    406 
    407 #spkr*	at audio?			# PC speaker (synthesized)
    408 
    409 # MPU 401 UARTs
    410 #mpu*	at cmpci?
    411 #mpu*	at eso?
    412 #mpu*	at fms?
    413 #mpu*	at yds?
    414 
    415 # MIDI support
    416 #midi*	at midibus?
    417 
    418 # Pseudo-Devices
    419 
    420 # disk/mass storage pseudo-devices
    421 #pseudo-device	md			# memory disk device (ramdisk)
    422 pseudo-device	vnd			# disk-like interface to files
    423 #pseudo-device	fss			# file system snapshot device
    424 #pseudo-device	putter			# for puffs and pud
    425 
    426 # network pseudo-devices
    427 pseudo-device	bpfilter		# Berkeley packet filter
    428 pseudo-device	loop			# network loopback
    429 pseudo-device	kttcp			# network loopback
    430 
    431 # miscellaneous pseudo-devices
    432 pseudo-device	pty			# pseudo-terminals
    433 #options	RND_COM
    434 pseudo-device	clockctl		# user control of clock subsystem
    435 pseudo-device	ksyms			# /dev/ksyms
    436 
    437 # data mover pseudo-devices
    438 #pseudo-device	swdmover		# software dmover(9) back-end
    439 #pseudo-device	dmoverio		# /dev/dmover dmover(9) interface
    440 
    441 #
    442 # wscons options
    443 #
    444 # builtin terminal emulations
    445 #options 	WSEMUL_SUN		# sun terminal emulation
    446 #options 	WSEMUL_VT100		# VT100 / VT220 emulation
    447 # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
    448 #options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
    449 #options 	WS_DEFAULT_FG=WSCOL_WHITE
    450 #options 	WS_DEFAULT_BG=WSCOL_BLACK
    451 #options 	WS_DEFAULT_COLATTR="(0)"
    452 #options 	WS_DEFAULT_MONOATTR="(0)"
    453 #options 	WS_KERNEL_FG=WSCOL_GREEN
    454 #options 	WS_KERNEL_BG=WSCOL_BLACK
    455 #options 	WS_KERNEL_COLATTR=""
    456 #options 	WS_KERNEL_MONOATTR=""
    457 # customization of console border color
    458 #options 	WSDISPLAY_CUSTOM_BORDER	# border customization from wsconsctl(8)
    459 #options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
    460 # compatibility to other console drivers
    461 #options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
    462 #options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
    463 #options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
    464 #options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
    465 # see dev/pckbport/wskbdmap_mfii.c for implemented layouts
    466 #options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
    467 # allocate a number of virtual screens at autoconfiguration time
    468 #options 	WSDISPLAY_DEFAULTSCREENS=4
    469 # use a large software cursor that doesn't blink
    470 #options 	PCDISPLAY_SOFTCURSOR
    471 # modify the screen type of the console; defaults to "80x25"
    472 #options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
    473 # work around a hardware bug that loaded fonts don't work; found on ATI cards
    474 #options 	VGA_CONSOLE_ATI_BROKEN_FONTSEL
    475 # console scrolling support.
    476 #options 	WSDISPLAY_SCROLLSUPPORT
    477 # enable VGA raster mode capable of displaying multilingual text on console
    478 #options 	VGA_RASTERCONSOLE
    479 
    480 # wscons pseudo-devices
    481 #pseudo-device	wsmux			# mouse & keyboard multiplexor
    482 #pseudo-device	wsfont
    483 
    484