1#	$NetBSD: NETBOOKPRO,v 1.33 2021/12/26 16:08:20 andvar Exp $
2#
3#	NETBOOKPRO -- Psion Teklogix NETBOOK PRO
4#
5
6include	"arch/hpcarm/conf/std.pxa2x0"
7include	"arch/hpcarm/conf/files.netbookpro"
8
9#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
10
11#ident 		"GENERIC-$Revision: 1.33 $"
12
13# estimated number of users
14maxusers	32
15
16# in-kernel bootloader, see kloader(4)
17options 	KLOADER
18#options 	KLOADER_KERNEL_PATH="\"/netbsd\""
19#options 	KLOADER_DEBUG
20
21# Standard system options
22
23#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
24				# (default timezone is passed from hpcboot)
25#options 	NTP		# NTP phase/frequency locked loop
26
27# CPU options
28
29# For XScale systems
30options 	CPU_XSCALE_PXA250	# Support the XScale PXA255 core
31makeoptions 	CPUFLAGS="-mcpu=xscale"
32
33# Architecture options
34options 	XSCALE_CACHE_READ_WRITE_ALLOCATE
35options 	PXAGPIO_HAS_GPION_INTRS
36
37# File systems
38
39file-system	FFS		# UFS
40#file-system	LFS		# log-structured file system
41file-system	MFS		# memory file system
42file-system	NFS		# Network file system
43#file-system 	ADOSFS		# AmigaDOS-compatible file system
44file-system 	EXT2FS		# second extended file system (linux)
45file-system	CD9660		# ISO 9660 + Rock Ridge file system
46file-system	MSDOSFS		# MS-DOS file system
47file-system	FDESC		# /dev/fd
48file-system	KERNFS		# /kern
49file-system	NULLFS		# loopback file system
50#file-system 	OVERLAY		# overlay filesystem
51file-system	PROCFS		# /proc
52#file-system	UMAPFS		# NULLFS + uid and gid remapping
53file-system	UNION		# union file system
54file-system	PTYFS		# /dev/pts/N support
55file-system	TMPFS		# Efficient memory file-system
56#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
57
58# File system options
59#options 	QUOTA		# legacy UFS quotas
60#options 	QUOTA2		# new, in-filesystem UFS quotas
61options 	FFS_EI		# FFS Endian Independent support
62#options 	WAPBL		# File system journaling support
63#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
64#options 	NFSSERVER
65
66# Networking options
67
68#options 	GATEWAY		# packet forwarding
69options 	INET		# IP + ICMP + TCP + UDP
70options 	INET6		# IPV6
71#options 	IPSEC		# IP security
72#options 	IPSEC_DEBUG	# debug for IP security
73#options 	MROUTING	# IP multicast routing
74#options 	PIM		# Protocol Independent Multicast
75#options 	NETATALK	# AppleTalk networking
76#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
77#options 	PPP_DEFLATE	# Deflate compression support for PPP
78#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
79#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
80
81# Compatibility options
82
83include 	"conf/compat_netbsd16.config"
84options 	COMPAT_NETBSD32	# allow running arm (e.g. non-earm) binaries
85
86# Shared memory options
87
88options 	SYSVMSG		# System V-like message queues
89options 	SYSVSEM		# System V-like semaphores
90options 	SYSVSHM		# System V-like memory sharing
91
92# Miscellaneous kernel options
93options 	KTRACE		# system call tracing, a la ktrace(1)
94#options 	IRQSTATS	# manage IRQ statistics
95#options 	SCSIVERBOSE	# Verbose SCSI errors
96options 	USERCONF	# userconf(4) support
97#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
98#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
99options 	NFS_BOOT_DHCP
100
101#
102# wscons options
103#
104# builtin terminal emulations
105options 	WSEMUL_VT100
106# allocate a number of virtual screens at autoconfiguration time
107#options 	WSDISPLAY_DEFAULTSCREENS=2
108# The X server requires theses two options
109options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
110options 	WSDISPLAY_COMPAT_RAWKBD
111# customization of console and kernel output - see dev/wscons/wsdisplayvar.h
112#options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
113#options 	WS_DEFAULT_FG=WSCOL_WHITE
114#options 	WS_DEFAULT_BG=WSCOL_BLACK
115#options 	WS_DEFAULT_COLATTR="(0)"
116#options 	WS_DEFAULT_MONOATTR="(0)"
117options 	WS_KERNEL_FG=WSCOL_GREEN
118#options 	WS_KERNEL_BG=WSCOL_BLACK
119#options 	WS_KERNEL_COLATTR=""
120#options 	WS_KERNEL_MONOATTR=""
121
122options 	FONT_VT220L8x16
123
124# Development and Debugging options
125
126#options 	VERBOSE_INIT_ARM
127#options 	BOOT_DUMP	# Enable memorydump at boot
128options 	DIAGNOSTIC	# internal consistency checks
129#options 	DEBUG		# expensive debugging checks/support
130#options 	UVMHIST		# kernhist for uvm/pmap subsystems
131options 	DDB		# in-kernel debugger
132#options 	DDB_HISTORY_SIZE=512	# Enable history editing in DDB
133#makeoptions	DEBUG="-g"	# compile full symbol table
134
135config		netbsd	root on ? type ?
136
137# The main bus device
138mainbus0 at root
139
140# The boot CPU
141cpu0	at mainbus?
142
143# integrated peripherals
144pxaip0	at mainbus?
145
146pxaintc0 at pxaip? addr 0x40d00000	# interrupt controller
147pxagpio0 at pxaip? addr 0x40e00000	# GPIO
148
149# DMAC support
150pxadmac0 at pxaip? addr 0x40000000 intr 25
151options 	PXA2X0_DMAC_DMOVER_CONCURRENCY=4 # Enable dmover(9) backend
152#options 	PXA2X0_DMAC_FIXED_PRIORITY	# Don't want multiple priority
153
154# Serial
155# integrated 16550 UARTs
156options 	COM_PXA2X0
157com0	at pxaip? addr 0x40100000 intr 22	# Full Function UART
158#com1	at pxaip? addr 0x40700000 intr 20	# Standard UART (IrDA)
159#com2	at pxaip? addr 0x40200000 intr 21	# Bluetooth UART
160#com3	at pxaip? addr 0x41600000 intr 7	# Hardware UART
161#options 	CONSPEED=115200
162
163# OS Timer
164saost*	at pxaip? addr 0x40a00000 size 0x20
165
166# AC97 Audio support
167pxaacu0 at pxaip? addr 0x40500000 intr 14	# Wolfson WM97xx
168
169# Audio support
170audio*	at audiobus?
171
172spkr*	at audio?		# PC speaker (synthesized)
173
174# Inter-Integrated Circuit controller
175nbpiic0	at pxaip? addr 0x40300000 intr 18
176iic*	at nbpiic?
177
178nbppcon* at iic? addr 0x13			# PCon
179r2025rtc* at iic? addr 0x32			# R2025S RTC
180seeprom* at iic? addr 0x53
181
182nbppm* at nbppcon? tag 0x05
183hpcapm* at nbppm?
184apmdev0 at hpcapm?
185
186nbpkbd* at nbppcon? tag 0x00
187hpckbd*	at nbpkbd?
188wskbd0 at hpckbd? mux 1
189
190# integrated MMC/SD controller
191pxamci0 at pxaip? addr 0x41100000
192sdmmc*	at pxamci?
193ld*	at sdmmc?				# MMC/SD/SDHC card
194
195# integrated PCMCIA/CF controller
196pxapcic0 at pxaip? addr 0x20000000
197pcmcia*	at pxapcic?
198
199# PCMCIA IDE controllers
200wdc*	at pcmcia? function ?
201
202# ATA (IDE) bus support
203atabus* at ata?
204#options 	ATADEBUG
205
206# IDE drives
207# Flags are used only with controllers that support DMA operations
208# and mode settings (e.g. some pciide controllers)
209# The lowest order four bits (rightmost digit) of the flags define the PIO
210# mode to use, the next set of four bits the DMA mode and the third set the
211# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
212# to use, and the last bit must be 1 for this setting to be used.
213# For DMA and UDMA, 0xf (1111) means 'disable'.
214# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
215# (0xc=1100, 0xa=1010, 0xf=1111)
216# 0x0000 means "use whatever the drive claims to support".
217wd*	at atabus? drive ? flags 0x0000
218
219btbc*	at pcmcia? function ?		# AnyCom BlueCard LSE041/039/139
220com*	at pcmcia? function ?		# Modems and serial cards
221ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
222#malo*	at pcmcia? function ?		# Marvell 88W8385
223mbe*	at pcmcia? function ?		# MB8696x based Ethernet
224ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
225wi*	at pcmcia? function ?		# Lucent/Intersil WaveLAN/IEEE (802.11)
226
227ukphy*  at mii? phy ?			# generic unknown PHYs
228
229# Physical console
230epsonlcd* at pxaip? addr 0x14000000	# Epson S1D13806
231hpcfb*	at epsonlcd?
232wsdisplay* at hpcfb?
233
234# Onboard USB Controller and Devices
235slhci*	at pxaip? addr 0x10000000	# ScanLogic SL811HS
236
237# USB bus support
238usb*	at slhci?
239
240# SCSI bus support
241scsibus* at scsi?
242
243# SCSI devices
244sd*	at scsibus? target ? lun ?	# SCSI disk drives
245cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
246uk*	at scsibus? target ? lun ?	# SCSI unknown
247
248# USB Hubs
249uhub* at usb?
250uhub* at uhub? port ?
251
252# USB HID device
253uhidev* at uhub? port ? configuration ? interface ?
254
255# USB Mice
256ums*	at uhidev? reportid ?
257wsmouse* at ums? mux 0
258
259# USB Keyboards
260ukbd*	at uhidev? reportid ?
261wskbd*	at ukbd? console ? mux 1
262
263# USB Mass Storage
264umass* at uhub? port ? configuration ? interface ?
265
266# Bluetooth USB Controllers
267ubt*	at uhub? port ?
268
269# USB Generic driver
270ugen*	at uhub? port ?
271
272# Bluetooth Device Hub
273bthub* at bcsp?
274bthub* at btbc?
275bthub* at btuart?
276bthub* at ubt?
277
278
279# Pseudo-devices
280pseudo-device	loop			# network loopback
281pseudo-device	bpfilter 		# packet filter
282#pseudo-device	sl			# SLIP
283pseudo-device	ppp			# PPP
284pseudo-device	tun			# network tunneling over tty
285#pseudo-device	gre			# generic L3 over IP tunnel
286#pseudo-device	npf			# NPF packet filter
287#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
288#pseudo-device	faith			# IPv[46] tcp relay translation i/f
289#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
290
291#pseudo-device	vlan			# IEEE 802.1q encapsulation
292pseudo-device	pty			# pseudo-terminals
293pseudo-device	vnd			# disk-like interface to files
294#pseudo-device	ccd			# concatenated disk devices
295#pseudo-device	cgd			# cryptographic disk devices
296#pseudo-device	raid			# RAIDframe disk driver
297#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
298#pseudo-device	fss			# file system snapshot device
299
300pseudo-device	biconsdev 1		# build-in console device
301
302pseudo-device	md			# Ramdisk driver
303pseudo-device	clockctl		# user control of clock subsystem
304pseudo-device	drvctl			# user control of drive subsystem
305pseudo-device	ksyms			# /dev/ksyms
306pseudo-device	bcsp			# BlueCore Serial Protocol
307pseudo-device	btuart			# Bluetooth HCI UART (H4)
308
309# wscons pseudo-devices
310pseudo-device	wsmux			# mouse & keyboard multiplexor
311pseudo-device	wsfont
312