MPC303 revision 1.5
1#
2# 	$NetBSD: MPC303,v 1.5 2002/01/02 13:13:19 uch Exp $
3# 	From: NetBSD: GENERIC,v 1.91 2001/05/06 14:25:16 takemura Exp
4#
5# Kernel configuration file for Victor MP-C303; enami's test machine.
6#
7
8include		"arch/hpcmips/conf/std.hpcmips"
9
10#ident 		"GENERIC-$Revision: 1.5 $"
11
12maxusers	16
13
14options 	MIPS3			# R4000/R4400/R4600 CPUs
15
16# Support for specific models of H/PC MIPS
17options 	MIPS3_4100		# VR4100 core
18options 	VR41XX			# NEC VR41xx series
19options 	VR4122			# NEC VR4122
20options 	MIPS3_L2CACHE_ABSENT
21
22# Standard system options
23options 	DDB			# in-kernel debugger
24#options 	DDB_ONPANIC=0		# don't enter debugger on panic
25#options 	KGDB			# remote debugger
26options 	DIAGNOSTIC		# extra kernel debugging checks
27#options 	DEBUG			# extra kernel debugging support
28options 	KTRACE			# system call tracing support
29options 	MSGBUFSIZE=16384	# dmesg buffer size
30
31## UVM options.
32#options 	UVM_PAGE_TRKOWN
33#options 	UVMHIST
34#options 	UVMHIST_PRINT	# Loud!
35
36#options 	SCSIVERBOSE		# human readable SCSI error messages
37#options 	PCMCIAVERBOSE		# verbose PCMCIA configuration messages
38
39#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
40options 	RTC_OFFSET=-540		# JST-9
41#options 	RTC_OFFSET=480		# PST8
42					# In NO RTC_OFFSET , inherit RTC_OFFSET
43					# from Windows CE.
44options 	NTP			# network time protocol
45#options 	UCONSOLE		# users can redirect console (unsafe)
46
47#options 	WINCE_DEFAULT_SETTING	# Debugging use
48#options 	DUMP_GIU_LEVEL2_INTR	# Debugging use
49#options 	DEBUG_FIND_PCIC		# Debugging use XXX harmful don't define until read source.
50
51#options 	SYSCALL_DEBUG		# for debug
52#options 	HPCMIPS_L1CACHE_DISABLE	# disable L1 cache for debug
53#options 	HPCMIPS_FLUSHCACHE_XXX	# for debug
54
55# Filesystem options
56file-system 	FFS		# fast filesystem with user and group quotas
57file-system 	MFS		# memory-based filesystem
58file-system 	NFS		# Sun NFS-compatible filesystem (client)
59#file-system	LFS		# Log-based filesystem (still experimental)
60file-system 	CD9660		# ISO 9660 + Rock Ridge file system
61file-system 	MSDOSFS		# MS-DOS file system
62#file-system 	FDESC		# /dev/fd
63file-system 	KERNFS		# /kern (kernel informational filesystem)
64#file-system 	NULLFS		# loopback file system
65#file-system 	OVERLAY		# overlay file system
66#file-system 	PORTAL		# portal filesystem (still experimental)
67file-system 	PROCFS		# /proc
68#file-system 	UMAPFS		# NULLFS + uid and gid remapping
69file-system 	UNION
70
71#options 	NFSSERVER	# Sun NFS-compatible filesystem (server)
72options 	SOFTDEP		# FFS soft updates support.
73#options 	QUOTA		# UFS quotas
74options 	VNODE_OP_NOINLINE # don't inline vnode op calls
75
76# Networking options
77#options 	GATEWAY		# IP packet forwarding
78options 	INET		# IP + ICMP + TCP + UDP
79options 	INET6		# IPV6
80#options 	IPSEC		# IP security
81#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
82#options 	IPSEC_DEBUG	# debug for IP security
83#options 	MROUTING	# Multicast routing support
84#options 	ISO		# OSI networking
85#options 	TPIP		# TPIP
86#options 	EON		# OSI tunneling over IP
87#options 	CCITT,LLC,HDLC	# X.25
88
89# NetBSD backwards compatibility
90options 	COMPAT_43
91
92#options 	NFS_BOOT_DHCP
93options 	NFS_BOOT_BOOTPARAM
94
95options 	VR_FIND_DRAMLIM=0x03800000
96
97#config		netbsd		root on ? type ?
98config		netbsd		root on aue0 type nfs
99
100# WS console uses SUN or VT100 terminal emulation
101options 	WSEMUL_VT100
102#options 	WSDISPLAY_DEFAULTSCREENS=4
103#options 	FONT_VT220L8x8
104options 	FONT_VT220L8x10
105# compatibility to other console drivers
106options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
107options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
108options 	WSDISPLAY_COMPAT_USL		# VT handling
109options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
110#
111# Hpckbd will set key board layout appropriately. You can use option
112# 'PCKBD_LAYOUT' to overrite the default layout.
113#
114#options 	PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS | KB_MACHDEP)"
115
116# temporally power management
117hpcapm0	at mainbus0			# power management
118apmdev0	at hpcapm0			# APM
119
120vrip*	at mainbus0
121vrbcu*	at vrip? addr 0x0f000000 size 0x20
122vrcmu*	at vrip? addr 0x0f000060 size 0x20
123vrrtc*	at vrip? addr 0x0f000100 size 0x20 intr 2
124
125#vrkiu*	at vrip? addr 0x0b000180 size 0x20 intr 7
126#hpckbd*	at vrkiu?
127options 	CONSPEED=19200
128com*	at vrip? addr 0x0f000800 size 0x20 intr 9 pwctl PWCTL_COM0
129vrgiu*	at vrip? addr 0x0f000140 size 0x20 intr 8
130vrpmu*	at vrip? addr 0x0f0000c0 size 0x20 intr 1 # power switch
131#vrdsu*	at vrip? addr 0x0b0000e0 size 0x08
132#vrpiu*	at vrip? addr 0x0b000120 size 0x1a0 intr 5
133vrled*	at vrip? addr 0x0f000180 size 0x10 intr 17
134vrpciu*	at vrip? addr 0x0f000c00 size 0x200 intr 22
135
136# PCI bus support
137options 	PCIVERBOSE
138pci*	at vrpciu?
139
140# MQ200
141#mqvideo0 at pci? dev ? function ?
142#hpcfb*		at	mqvideo?
143
144# VRC4173
145vrc4173bcu* at pci? dev ? function ?	# VRC4173 BCU
146#vrc4173cmu* at vrc4173bcu?		# VRC4173 CMU
147#vrc4173piu* at vrc4173bcu?		# VRC4173 PIU
148#vrc4173kiu* at vrc4173bcu?		# VRC4173 KIU
149
150#vrc4173cardu* at pci? dev ? function ?	# VRC4173 CARDU
151#pcmcia*	at vrc4173cardu?
152
153# PCI USB controllers
154ohci*	at pci?	dev ? function ?	# Open Host Controller
155options 	OHCI_DEBUG, USB_DEBUG, UHUB_DEBUG
156
157# USB bus support
158usb*	at ohci?
159
160# USB Hubs
161uhub*	at usb?
162uhub*	at uhub? port ? configuration ? interface ?
163
164# USB Generic driver
165ugen*	at uhub? port ?
166
167# USB Ethernet adapters
168aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
169
170# MII/PHY support
171ukphy*	at mii? phy ?			# generic unknown PHYs
172
173options 	MQ200_DEBUG
174#options 	MQ200_USECRT
175#mqvideo0 at vrip? addr 0x0a000000 size 0x800000	# MQ200 video controller
176#hpcfb*		at	mqvideo?
177
178#ite8181video0 at vrip? addr 0x0a000000 size 0x800000 # ITE8181 video controller
179#hpcfb*		at	ite8181video?
180
181#vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_430
182#vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_510
183#vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_520
184#vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_520A
185#vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_530
186#vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_SIGMARION
187#vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_530A
188#vrc4172pwm*	at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_700
189
190# Workstation Console attachments
191bivideo0	at	mainbus0
192hpcfb*		at	bivideo0
193wsdisplay*	at	hpcfb?
194#wskbd*		at	hpckbd? mux 1
195#wsmouse*	at	vrpiu? mux 0
196btnmgr0		at	mainbus0
197wskbd*		at	btnmgr0 mux 1
198
199#
200# hpcmips isa? bus irq locator means:
201#
202# 0x0000000f ISA IRQ#
203# 0x00ff0000 GPIO port#
204# 0x01000000 interrupt signal hold/through	(1:hold/0:though)
205# 0x02000000 interrupt detection level		(1:low /0:high	)
206# 0x04000000 interrupt detection trigger	(1:edge/0:level	)
207
208#
209# MC-R300, MC-R500
210# Button to GPIO port # mapping
211#  + REC button       : 4
212#  + Open/Close button: 6
213# (PCIC-ISA : 9)
214# (COM power:14)
215#
216# MC-R510
217# Button to GPIO port # mapping
218#  + Open/Close button: 3
219# (PCIC-ISA : 9)
220# (COM power:14)
221#
222# MC-R530
223# Button to GPIO port # mapping
224#  + Open/Close button: 3
225#  + Application button: 2
226# (PCIC-ISA : 9)
227# (COM power:46)
228#
229# MC-R700
230# Button to GPIO port # mapping
231#  + Open/Close button: 3
232# (PCIC-ISA : 9)
233# (COM power:46)
234#
235# MC-CS
236# Button to GPIO port # mapping
237# (PCIC-ISA : 9)
238# (COM power:14)
239#
240# IBM WorkPad z50
241# Button to GPIO port # mapping
242#  + REC button       : 1
243#  + Application button?      : 2
244# (PCIC-ISA : 9)
245#
246button0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4
247button0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4
248button0 at vrgiu? platform IBM_WORKPAD id BTN_REC port 1 active 0
249button1 at vrgiu? platform NEC_MCR_430 id BTN_COVER port 3
250button1 at vrgiu? platform NEC_MCR_510 id BTN_COVER port 3
251button1 at vrgiu? platform NEC_MCR_520 id BTN_COVER port 3
252#button1 at vrgiu? platform NEC_MCR_520A id BTN_COVER port 3
253button1 at vrgiu? platform NEC_MCR_530 id BTN_COVER port 3
254#button1 at vrgiu? platform NEC_MCR_530A id BTN_COVER port 3
255button1 at vrgiu? platform NEC_MCR_SIGMARION id BTN_COVER port 3
256button1 at vrgiu? platform NEC_MCR_7XX id BTN_COVER port 3
257button1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6
258button1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6
259button2 at vrgiu? platform NEC_MCR_530 id BTN_APP0  port 2
260button2 at vrgiu? platform IBM_WORKPAD id BTN_APP0  port 2 active 0
261button3 at vrgiu? platform NEC_MCCS id BTN_LIGHT port 8
262pwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14
263pwctl0 at vrgiu? platform NEC_MCR_430 id PWCTL_COM0 port 46
264pwctl0 at vrgiu? platform NEC_MCR_500 id PWCTL_COM0 port 14
265pwctl0 at vrgiu? platform NEC_MCR_530 id PWCTL_COM0 port 46
266pwctl0 at vrgiu? platform NEC_MCR_530A id PWCTL_COM0 port 46
267#pwctl0 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM0 port 46
268pwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46
269pwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14
270pwctl1 at vrgiu? platform NEC_MCR_300 id PWCTL_LCDLIGHT port 45
271pwctl1 at vrgiu? platform NEC_MCR_FORDOCOMO id PWCTL_LCDLIGHT port 45
272pwctl1 at vrgiu? platform NEC_MCR_500 id PWCTL_LCDLIGHT port 45
273pwctl1 at vrgiu? platform NEC_MCCS id PWCTL_LCDLIGHT port 45
274pwctl2 at vrgiu? platform NEC_MCR_300 id PWCTL_LCD port 10
275pwctl2 at vrgiu? platform NEC_MCR_FORDOCOMO id PWCTL_LCD port 10
276pwctl2 at vrgiu? platform NEC_MCR_500 id PWCTL_LCD port 10
277pwctl2 at vrgiu? platform NEC_MCCS id PWCTL_LCD port 10
278pwctl3 at vrgiu? platform NEC_MCR_3XX id PWCTL_SPEAKER port 12
279pwctl3 at vrgiu? platform NEC_MCR_430 id PWCTL_SPEAKER port 44
280pwctl3 at vrgiu? platform NEC_MCR_500 id PWCTL_SPEAKER port 12
281pwctl3 at vrgiu? platform NEC_MCR_510 id PWCTL_SPEAKER port 44
282pwctl3 at vrgiu? platform NEC_MCR_520 id PWCTL_SPEAKER port 44
283#pwctl3 at vrgiu? platform NEC_MCR_520A id PWCTL_SPEAKER port 44
284pwctl3 at vrgiu? platform NEC_MCR_530 id PWCTL_SPEAKER port 44
285#pwctl3 at vrgiu? platform NEC_MCR_530A id PWCTL_SPEAKER port 44
286#pwctl3 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_SPEAKER port 44
287pwctl3 at vrgiu? platform IBM_WORKPAD id PWCTL_SPEAKER port 49
288#pwctl4 at vrgiu? platform NEC_MCR_430 id PWCTL_COM1 port 47
289#pwctl4 at vrgiu? platform NEC_MCR_530 id PWCTL_COM1 port 47
290#pwctl4 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM1 port 47
291vrisab0 at vrgiu? platform NEC_MCR
292vrisab0 at vrgiu? platform NEC_MCCS
293vrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000
294isa0	at vrisab0
295pcic0	at isa0 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00090003
296#
297# Freestyle
298# Button to GPIO port # mapping
299#    +---------+
300# 1 +|         |
301#    |         |+ 7
302#    |         |
303#20 +|   LCD   |+ 4
304#    |         | + 6
305# 8 +|         |+ 5
306#    |         |
307#    |         |+----Power On/Off (connected to PMU)
308#    +---------+
309#          +9
310#        +12 +10
311#          +11
312# (PCIC-ISA : 23)
313button0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9
314button1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10
315button2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11
316button3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12
317button4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7
318button5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4
319button6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6
320button7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5
321button8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1
322button9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20
323button10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8
324vrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000
325isa1	at vrisab1
326pcic0	at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003
327
328options 	PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle)
329
330#
331# Fujitsu INTERTOP CX300
332#
333pwctl0	at vrgiu? platform FUJITSU_INTERTOP id PWCTL_COM0 port 15
334vrisab2 at vrgiu? platform FUJITSU_INTERTOP isaportoffset 0x1000000
335isa2	at vrisab2
336pcic0	at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003
337
338#
339# Vadem Clio and Sharp Tripad
340#
341vrisab3	at vrgiu? platform SHARP_TRIPAD isaportoffset 0x1000000
342vrisab3	at vrgiu? platform VADEM_CLIO_C isaportoffset 0x1000000
343isa3	at vrisab3
344pcic0	at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003
345
346#
347# CASIO CASSIOPEIA E55 and for DoCoMo
348#
349button0	at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_OK active 0 port 6
350button1	at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_CANCEL active 0 port 7
351button2	at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP0 active 0 port 8
352button3	at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP1 active 0 port 9
353button4	at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP2 active 0 port 10
354button5	at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP3 active 0 port 11
355button6	at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_DOWN active 0 port 12
356button7	at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_UP active 0 port 13
357pwctl0	at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_COM0 port 38
358pwctl1	at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_LCDLIGHT port 26
359
360# 'CF hack' for all CASSIOPEIA E series
361vrisab4	at vrgiu? platform CASIO_CASSIOPEIAE_EXX isaportoffset 0xc000
362vrisab4	at vrgiu? platform CASIO_CASSIOPEIAE_EXXX isaportoffset 0xc000
363isa4	at vrisab4
364wdc0	at isa4 port 0x170 irq 0x02000003 flags 0x0002	# single drive
365
366#
367# Fujitsu PenCentra 130
368#
369vrc4172gpio0 at vrgiu? platform FUJITSU_PENCENTRA_130 addr 0x15001080 size 0x4a port 10
370vrisab5	at vrc4172gpio0 isaportoffset 0x1000000
371isa5	at vrisab5
372pcic0	at isa5 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00010003
373
374# PCMCIA bus support
375pcmcia*	at pcic? controller 0 socket ?
376
377# PCMCIA IDE disk
378wdc*	at pcmcia? function ?
379wd*	at wdc? channel ? drive ? flags 0x0000
380
381# PCMCIA network interfaces
382ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
383mbe*	at pcmcia? function ?		# MB8696x based Ethernet
384ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
385ray*	at pcmcia? function ?		# Raytheon Raylink (802.11)
386sm*	at pcmcia? function ?		# Megahertz Ethernet
387wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
388awi*	at pcmcia? function ?		# WLI-PCM
389an*	at pcmcia? function ?		# Aironet PC4500/PC4800 (802.11)
390
391# PCMCIA Serial interfaces
392com*	at pcmcia? function ?		# Modems and serial cards
393
394# PCMCIA SCSI interfaces
395aic*	at pcmcia? function ?
396esp*	at pcmcia? function ?		# NCR53c406 SCSI
397
398# ATAPI bus support
399atapibus* at wdc? channel ?
400cd*	at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
401sd*	at atapibus? drive ? flags 0x0000 # ATAPI disk drives
402
403# SCSI bus support
404scsibus* at aic?
405scsibus* at esp?
406sd*	at scsibus? target ? lun ?	# SCSI disk drives
407cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
408
409pseudo-device	loop		1	# network loopback
410pseudo-device	ppp		2	# serial-line IP ports
411pseudo-device	pty			# pseudo-terminals
412pseudo-device	bpfilter	16	# packet filter ports
413pseudo-device	ipfilter		# IP filter, NAT
414
415pseudo-device	vnd		4	# virtual disk ick
416#pseudo-device	ccd		4	# concatenated disks
417pseudo-device	rnd			# /dev/random and in-kernel generator
418
419pseudo-device	biconsdev	1	# build-in console device
420pseudo-device	wsmux			# mouse & keyboard multiplexor
421options 	MEMORY_DISK_HOOKS
422options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
423options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
424options 	MEMORY_DISK_DYNAMIC	# fs image don't exist in data section.
425pseudo-device	md		1	# memory disk device (ramdisk)
426
427#pseudo-device	raid		4	# RAIDframe disk driver
428#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
429
430# for IPv6
431pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
432#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
433#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
434
435## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
436pseudo-device	vlan
437