MPC303 revision 1.6 1 #
2 # $NetBSD: MPC303,v 1.6 2002/01/05 06:45:31 takemura 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.6 $"
11
12 maxusers 16
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 MIPS3_L2CACHE_ABSENT
21
22 # Standard system options
23 options DDB # in-kernel debugger
24 #options DDB_ONPANIC=0 # don't enter debugger on panic
25 #options KGDB # remote debugger
26 options DIAGNOSTIC # extra kernel debugging checks
27 #options DEBUG # extra kernel debugging support
28 options KTRACE # system call tracing support
29 options 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
40 options RTC_OFFSET=-540 # JST-9
41 #options RTC_OFFSET=480 # PST8
42 # In NO RTC_OFFSET , inherit RTC_OFFSET
43 # from Windows CE.
44 options 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
56 file-system FFS # fast filesystem with user and group quotas
57 file-system MFS # memory-based filesystem
58 file-system NFS # Sun NFS-compatible filesystem (client)
59 #file-system LFS # Log-based filesystem (still experimental)
60 file-system CD9660 # ISO 9660 + Rock Ridge file system
61 file-system MSDOSFS # MS-DOS file system
62 #file-system FDESC # /dev/fd
63 file-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)
67 file-system PROCFS # /proc
68 #file-system UMAPFS # NULLFS + uid and gid remapping
69 file-system UNION
70
71 #options NFSSERVER # Sun NFS-compatible filesystem (server)
72 options SOFTDEP # FFS soft updates support.
73 #options QUOTA # UFS quotas
74 options VNODE_OP_NOINLINE # don't inline vnode op calls
75
76 # Networking options
77 #options GATEWAY # IP packet forwarding
78 options INET # IP + ICMP + TCP + UDP
79 options 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
90 options COMPAT_43
91
92 #options NFS_BOOT_DHCP
93 #options NFS_BOOT_BOOTP
94 options NFS_BOOT_BOOTPARAM
95
96 options VR_FIND_DRAMLIM=0x03800000
97
98 #config netbsd root on ? type ?
99 config netbsd root on aue0 type nfs
100
101 # WS console uses SUN or VT100 terminal emulation
102 options WSEMUL_VT100
103 #options WSDISPLAY_DEFAULTSCREENS=4
104 #options FONT_VT220L8x8
105 options FONT_VT220L8x10
106 # compatibility to other console drivers
107 options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
108 options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
109 options WSDISPLAY_COMPAT_USL # VT handling
110 options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
111 #
112 # Hpckbd will set key board layout appropriately. You can use option
113 # 'PCKBD_LAYOUT' to overrite the default layout.
114 #
115 #options PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS | KB_MACHDEP)"
116
117 # temporally power management
118 hpcapm0 at mainbus0 # power management
119 apmdev0 at hpcapm0 # APM
120
121 vrip* at mainbus0
122 vrbcu* at vrip? addr 0x0f000000 size 0x20
123 vrcmu* at vrip? addr 0x0f000060 size 0x20
124 vrrtc* at vrip? addr 0x0f000100 size 0x20 intr 2
125
126 #vrkiu* at vrip? addr 0x0b000180 size 0x20 intr 7
127 #hpckbd* at vrkiu?
128 com* at vrip? addr 0x0f000800 size 0x20 intr 9 pwctl PWCTL_COM0
129 vrgiu* at vrip? addr 0x0f000140 size 0x20 intr 8
130 vrpmu* 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
133 vrled* at vrip? addr 0x0f000180 size 0x10 intr 17
134 vrpciu* at vrip? addr 0x0f000c00 size 0x200 intr 22
135
136 # PCI bus support
137 options PCIVERBOSE
138 pci* at vrpciu?
139
140 # MQ200
141 #mqvideo0 at pci? dev ? function ?
142 #hpcfb* at mqvideo?
143
144 # VRC4173
145 vrc4173bcu* 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
154 ohci* at pci? dev ? function ? # Open Host Controller
155 options OHCI_DEBUG, USB_DEBUG, UHUB_DEBUG
156
157 # USB bus support
158 usb* at ohci?
159
160 # USB Hubs
161 uhub* at usb?
162 uhub* at uhub? port ? configuration ? interface ?
163
164 # USB Generic driver
165 ugen* at uhub? port ?
166
167 # USB Ethernet adapters
168 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
169
170 # MII/PHY support
171 ukphy* at mii? phy ? # generic unknown PHYs
172
173 options 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
191 bivideo0 at mainbus0
192 hpcfb* at bivideo0
193 wsdisplay* at hpcfb?
194 #wskbd* at hpckbd? mux 1
195 #wsmouse* at vrpiu? mux 0
196 btnmgr0 at mainbus0
197 wskbd* 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 #
246 button0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4
247 button0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4
248 button0 at vrgiu? platform IBM_WORKPAD id BTN_REC port 1 active 0
249 button1 at vrgiu? platform NEC_MCR_430 id BTN_COVER port 3
250 button1 at vrgiu? platform NEC_MCR_510 id BTN_COVER port 3
251 button1 at vrgiu? platform NEC_MCR_520 id BTN_COVER port 3
252 #button1 at vrgiu? platform NEC_MCR_520A id BTN_COVER port 3
253 button1 at vrgiu? platform NEC_MCR_530 id BTN_COVER port 3
254 #button1 at vrgiu? platform NEC_MCR_530A id BTN_COVER port 3
255 button1 at vrgiu? platform NEC_MCR_SIGMARION id BTN_COVER port 3
256 button1 at vrgiu? platform NEC_MCR_7XX id BTN_COVER port 3
257 button1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6
258 button1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6
259 button2 at vrgiu? platform NEC_MCR_530 id BTN_APP0 port 2
260 button2 at vrgiu? platform IBM_WORKPAD id BTN_APP0 port 2 active 0
261 button3 at vrgiu? platform NEC_MCCS id BTN_LIGHT port 8
262 pwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14
263 pwctl0 at vrgiu? platform NEC_MCR_430 id PWCTL_COM0 port 46
264 pwctl0 at vrgiu? platform NEC_MCR_500 id PWCTL_COM0 port 14
265 pwctl0 at vrgiu? platform NEC_MCR_530 id PWCTL_COM0 port 46
266 pwctl0 at vrgiu? platform NEC_MCR_530A id PWCTL_COM0 port 46
267 #pwctl0 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM0 port 46
268 pwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46
269 pwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14
270 pwctl1 at vrgiu? platform NEC_MCR_300 id PWCTL_LCDLIGHT port 45
271 pwctl1 at vrgiu? platform NEC_MCR_FORDOCOMO id PWCTL_LCDLIGHT port 45
272 pwctl1 at vrgiu? platform NEC_MCR_500 id PWCTL_LCDLIGHT port 45
273 pwctl1 at vrgiu? platform NEC_MCCS id PWCTL_LCDLIGHT port 45
274 pwctl2 at vrgiu? platform NEC_MCR_300 id PWCTL_LCD port 10
275 pwctl2 at vrgiu? platform NEC_MCR_FORDOCOMO id PWCTL_LCD port 10
276 pwctl2 at vrgiu? platform NEC_MCR_500 id PWCTL_LCD port 10
277 pwctl2 at vrgiu? platform NEC_MCCS id PWCTL_LCD port 10
278 pwctl3 at vrgiu? platform NEC_MCR_3XX id PWCTL_SPEAKER port 12
279 pwctl3 at vrgiu? platform NEC_MCR_430 id PWCTL_SPEAKER port 44
280 pwctl3 at vrgiu? platform NEC_MCR_500 id PWCTL_SPEAKER port 12
281 pwctl3 at vrgiu? platform NEC_MCR_510 id PWCTL_SPEAKER port 44
282 pwctl3 at vrgiu? platform NEC_MCR_520 id PWCTL_SPEAKER port 44
283 #pwctl3 at vrgiu? platform NEC_MCR_520A id PWCTL_SPEAKER port 44
284 pwctl3 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
287 pwctl3 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
291 vrisab0 at vrgiu? platform NEC_MCR
292 vrisab0 at vrgiu? platform NEC_MCCS
293 vrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000
294 isa0 at vrisab0
295 pcic0 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)
313 button0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9
314 button1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10
315 button2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11
316 button3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12
317 button4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7
318 button5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4
319 button6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6
320 button7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5
321 button8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1
322 button9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20
323 button10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8
324 vrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000
325 isa1 at vrisab1
326 pcic0 at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003
327
328 options PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle)
329
330 #
331 # Fujitsu INTERTOP CX300
332 #
333 pwctl0 at vrgiu? platform FUJITSU_INTERTOP id PWCTL_COM0 port 15
334 vrisab2 at vrgiu? platform FUJITSU_INTERTOP isaportoffset 0x1000000
335 isa2 at vrisab2
336 pcic0 at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003
337
338 #
339 # Vadem Clio and Sharp Tripad
340 #
341 vrisab3 at vrgiu? platform SHARP_TRIPAD isaportoffset 0x1000000
342 vrisab3 at vrgiu? platform VADEM_CLIO_C isaportoffset 0x1000000
343 isa3 at vrisab3
344 pcic0 at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003
345
346 #
347 # CASIO CASSIOPEIA E55 and for DoCoMo
348 #
349 button0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_OK active 0 port 6
350 button1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_CANCEL active 0 port 7
351 button2 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP0 active 0 port 8
352 button3 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP1 active 0 port 9
353 button4 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP2 active 0 port 10
354 button5 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP3 active 0 port 11
355 button6 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_DOWN active 0 port 12
356 button7 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_UP active 0 port 13
357 pwctl0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_COM0 port 38
358 pwctl1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_LCDLIGHT port 26
359
360 # 'CF hack' for all CASSIOPEIA E series
361 vrisab4 at vrgiu? platform CASIO_CASSIOPEIAE_EXX isaportoffset 0xc000
362 vrisab4 at vrgiu? platform CASIO_CASSIOPEIAE_EXXX isaportoffset 0xc000
363 isa4 at vrisab4
364 wdc0 at isa4 port 0x170 irq 0x02000003 flags 0x0002 # single drive
365
366 #
367 # Fujitsu PenCentra 130
368 #
369 vrc4172gpio0 at vrgiu? platform FUJITSU_PENCENTRA_130 addr 0x15001080 size 0x4a port 10
370 vrisab5 at vrc4172gpio0 isaportoffset 0x1000000
371 isa5 at vrisab5
372 pcic0 at isa5 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00010003
373
374 #
375 # SigmarionII
376 #
377 com* at vrgiu? platform NEC_MCR_SIGMARION2 addr 0x0b600000 port 8
378 vrisab6 at vrgiu? platform NEC_MCR_SIGMARION2 isaportoffset 0xf780f800
379 isa6 at vrisab6
380 ne* at isa6 port 0x300 irq 0x00090003 # port 9, active high and thorough
381 #wdc* at isa6 port 0x170 irq 0x00090003 flags 0x0002 # single drive
382
383 # PCMCIA bus support
384 pcmcia* at pcic? controller 0 socket ?
385
386 # PCMCIA IDE disk
387 wdc* at pcmcia? function ?
388 wd* at wdc? channel ? drive ? flags 0x0000
389
390 # PCMCIA network interfaces
391 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
392 mbe* at pcmcia? function ? # MB8696x based Ethernet
393 ne* at pcmcia? function ? # NE2000-compatible Ethernet
394 ray* at pcmcia? function ? # Raytheon Raylink (802.11)
395 sm* at pcmcia? function ? # Megahertz Ethernet
396 wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11)
397 awi* at pcmcia? function ? # WLI-PCM
398 an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11)
399
400 # PCMCIA Serial interfaces
401 com* at pcmcia? function ? # Modems and serial cards
402
403 # PCMCIA SCSI interfaces
404 aic* at pcmcia? function ?
405 esp* at pcmcia? function ? # NCR53c406 SCSI
406
407 # ATAPI bus support
408 atapibus* at wdc? channel ?
409 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
410 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
411
412 # SCSI bus support
413 scsibus* at aic?
414 scsibus* at esp?
415 sd* at scsibus? target ? lun ? # SCSI disk drives
416 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
417
418 pseudo-device loop 1 # network loopback
419 pseudo-device ppp 2 # serial-line IP ports
420 pseudo-device pty # pseudo-terminals
421 pseudo-device bpfilter 16 # packet filter ports
422 pseudo-device ipfilter # IP filter, NAT
423
424 pseudo-device vnd 4 # virtual disk ick
425 #pseudo-device ccd 4 # concatenated disks
426 pseudo-device rnd # /dev/random and in-kernel generator
427
428 pseudo-device biconsdev 1 # build-in console device
429 pseudo-device wsmux # mouse & keyboard multiplexor
430 options MEMORY_DISK_HOOKS
431 options MEMORY_DISK_IS_ROOT # force root on memory disk
432 options MEMORY_DISK_SERVER=0 # no userspace memory disk support
433 options MEMORY_DISK_DYNAMIC # fs image don't exist in data section.
434 pseudo-device md 1 # memory disk device (ramdisk)
435
436 #pseudo-device raid 4 # RAIDframe disk driver
437 #options RAID_AUTOCONFIG # auto-configuration of RAID components
438
439 # for IPv6
440 pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
441 #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
442 #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
443
444 ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
445 pseudo-device vlan
446