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