2 # $NetBSD: MPC303,v 1.52 2009/02/06 18:50:27 jym Exp $
3 # From: NetBSD: GENERIC,v 1.91 2001/05/06 14:25:16 takemura Exp
5 # Kernel configuration file for Victor MP-C303; enami's test machine.
8 include "arch/hpcmips/conf/std.hpcmips"
10 #options INCLUDE_CONFIG_FILE # embed config file in kernel binary
12 #ident "GENERIC-$Revision: 1.53 $"
16 options MIPS3 # R4000/R4400/R4600 CPUs
18 # Support for specific models of H/PC MIPS
19 makeoptions CPUFLAGS="-mips3" # CPU codegen options
20 options MIPS3_4100 # VR4100 core
21 options VR41XX # NEC VR41xx series
22 options VR4122 # NEC VR4122
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 options USERCONF # userconf(4) support
33 #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
34 #options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
37 #options UVM_PAGE_TRKOWN
39 #options UVMHIST_PRINT # Loud!
41 #options SCSIVERBOSE # human readable SCSI error messages
42 #options PCMCIAVERBOSE # verbose PCMCIA configuration messages
44 #options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
45 options RTC_OFFSET=-540 # JST-9
46 #options RTC_OFFSET=480 # PST8
47 # In NO RTC_OFFSET , inherit RTC_OFFSET
49 options NTP # network time protocol
51 #options WINCE_DEFAULT_SETTING # Debugging use
52 #options DUMP_GIU_LEVEL2_INTR # Debugging use
53 #options DEBUG_FIND_PCIC # Debugging use XXX harmful don't define until read source.
55 #options SYSCALL_DEBUG # for debug
56 #options HPCMIPS_L1CACHE_DISABLE # disable L1 cache for debug
59 file-system FFS # fast filesystem with user and group quotas
60 file-system MFS # memory-based filesystem
61 file-system NFS # Sun NFS-compatible filesystem (client)
62 #file-system LFS # Log-based filesystem (still experimental)
63 file-system CD9660 # ISO 9660 + Rock Ridge file system
64 file-system MSDOSFS # MS-DOS file system
65 #file-system FDESC # /dev/fd
66 file-system KERNFS # /kern (kernel informational filesystem)
67 #file-system NULLFS # loopback file system
68 #file-system OVERLAY # overlay file system
69 file-system PROCFS # /proc
70 #file-system UMAPFS # NULLFS + uid and gid remapping
72 file-system PTYFS # /dev/pts/N support
74 #options NFSSERVER # Sun NFS-compatible filesystem (server)
75 options WAPBL # File system journaling support - Experimental
76 #options QUOTA # UFS quotas
77 options FFS_NO_SNAPSHOT # No FFS snapshot support
80 #options GATEWAY # IP packet forwarding
81 options INET # IP + ICMP + TCP + UDP
83 #options IPSEC # IP security
84 #options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
85 #options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
86 #options IPSEC_DEBUG # debug for IP security
87 #options MROUTING # Multicast routing support
88 #options PIM # Protocol Independent Multicast
89 #options ISO # OSI networking
91 #options EON # OSI tunneling over IP
93 # NetBSD backwards compatibility
97 options COMPAT_30 # NetBSD 3.0 compatibility.
98 options COMPAT_40 # NetBSD 4.0 compatibility.
99 options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
101 #options NFS_BOOT_DHCP
102 #options NFS_BOOT_BOOTP
103 options NFS_BOOT_BOOTPARAM
105 options VR_FIND_DRAMLIM=0x03800000
108 #makeoptions DEFGP="-G 14"
110 #config netbsd root on ? type ?
111 config netbsd root on aue0 type nfs
113 # WS console uses SUN or VT100 terminal emulation
115 #options WSDISPLAY_DEFAULTSCREENS=4
116 #options FONT_VT220L8x8
117 options FONT_VT220L8x10
118 # compatibility to other console drivers
119 options WSDISPLAY_COMPAT_PCVT # emulate some ioctls
120 options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls
121 options WSDISPLAY_COMPAT_USL # VT handling
122 options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes
124 # Hpckbd will set key board layout appropriately. You can use option
125 # 'PCKBD_LAYOUT' to overrite the default layout.
127 #options PCKBD_LAYOUT="(KB_US | KB_SWAPCTRLCAPS | KB_MACHDEP)"
129 # temporally power management
130 hpcapm0 at mainbus0 # power management
131 apmdev0 at hpcapm0 # APM
134 vrbcu* at vrip? addr 0x0f000000 size 0x20
135 vrcmu* at vrip? addr 0x0f000060 size 0x20
136 vrrtc* at vrip? addr 0x0f000100 size 0x20 unit VRRTC
138 #vrkiu* at vrip? addr 0x0b000180 size 0x20 unit VRKIU
140 com* at vrip? addr 0x0f000800 size 0x20 unit VRSIU pwctl PWCTL_COM0
141 vrgiu* at vrip? addr 0x0f000140 size 0x20 unit VRGIU
142 vrpmu* at vrip? addr 0x0f0000c0 size 0x20 unit VRPMU # power switch
143 #vrdsu* at vrip? addr 0x0b0000e0 size 0x08
144 #vrpiu* at vrip? addr 0x0b000120 size 0x1a0 unit VRPIU
145 vrled* at vrip? addr 0x0f000180 size 0x10 unit VRLED
146 vrpciu* at vrip? addr 0x0f000c00 size 0x200 unit VRPCIU
153 #mqvideo0 at pci? dev ? function ?
157 vrc4173bcu* at pci? dev ? function ? # VRC4173 BCU
158 vrkiu* at vrc4173bcu? addr 0x100 size 0x20 unit VRKIU # VRC4173 KIU
160 vrpiu* at vrc4173bcu? addr 0x0a0 size 0x20 addr2 0x0c0 size2 0x20 unit VRPIU # VRC4173 PIU
162 #vrc4173cardu* at pci? dev ? function ? # VRC4173 CARDU
163 #pcmcia* at vrc4173cardu?
165 # PCI USB controllers
166 ohci* at pci? dev ? function ? # Open Host Controller
167 options OHCI_DEBUG, USB_DEBUG, UHUB_DEBUG
174 uhub* at uhub? port ?
177 #uhidev* at uhub? port ? configuration ? interface ?
180 #ums* at uhidev? reportid ?
181 #wsmouse* at ums? mux 0
184 #ukbd* at uhidev? reportid ?
185 #wskbd* at ukbd? console ? mux 1
188 #ucycom* at uhidev? reportid ?
190 # USB Generic HID devices
191 #uhid* at uhidev? reportid ?
194 #ulpt* at uhub? port ? configuration ? interface ?
197 #umodem* at uhub? port ? configuration ?
201 #umass* at uhub? port ? configuration ? interface ?
203 #scsibus* at umass? channel ?
206 ugen* at uhub? port ?
208 # USB Ethernet adapters
209 aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters
210 #axe* at uhub? port ? # ASIX AX88172 based adapters
211 #url* at uhub? port ? # Realtek RTL8150L based adapters
214 ukphy* at mii? phy ? # generic unknown PHYs
217 #options MQ200_USECRT
218 #mqvideo0 at vrip? addr 0x0a000000 size 0x800000 # MQ200 video controller
221 #ite8181video0 at vrip? addr 0x0a000000 size 0x800000 # ITE8181 video controller
222 #hpcfb* at ite8181video?
224 #vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_430
225 #vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_510
226 #vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_520
227 #vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_520A
228 #vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_530
229 #vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_SIGMARION
230 #vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_530A
231 #vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_700
233 # Workstation Console attachments
237 wskbd* at hpckbd? mux 1
238 wsmouse* at vrpiu? mux 0
240 wskbd* at btnmgr0 mux 1
243 # hpcmips isa? bus irq locator means:
245 # 0x0000000f ISA IRQ#
246 # 0x00ff0000 GPIO port#
247 # 0x01000000 interrupt signal hold/through (1:hold/0:though)
248 # 0x02000000 interrupt detection level (1:low /0:high )
249 # 0x04000000 interrupt detection trigger (1:edge/0:level )
253 # Button to GPIO port # mapping
255 # + Open/Close button: 6
260 # Button to GPIO port # mapping
261 # + Open/Close button: 3
266 # Button to GPIO port # mapping
267 # + Open/Close button: 3
268 # + Application button: 2
273 # Button to GPIO port # mapping
274 # + Open/Close button: 3
279 # Button to GPIO port # mapping
284 # Button to GPIO port # mapping
286 # + Application button? : 2
289 button0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4
290 button0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4
291 button0 at vrgiu? platform IBM_WORKPAD id BTN_REC port 1 active 0
292 button1 at vrgiu? platform NEC_MCR_430 id BTN_COVER port 3
293 button1 at vrgiu? platform NEC_MCR_510 id BTN_COVER port 3
294 button1 at vrgiu? platform NEC_MCR_520 id BTN_COVER port 3
295 #button1 at vrgiu? platform NEC_MCR_520A id BTN_COVER port 3
296 button1 at vrgiu? platform NEC_MCR_530 id BTN_COVER port 3
297 #button1 at vrgiu? platform NEC_MCR_530A id BTN_COVER port 3
298 button1 at vrgiu? platform NEC_MCR_SIGMARION id BTN_COVER port 3
299 button1 at vrgiu? platform NEC_MCR_7XX id BTN_COVER port 3
300 button1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6
301 button1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6
302 button2 at vrgiu? platform NEC_MCR_530 id BTN_APP0 port 2
303 button2 at vrgiu? platform IBM_WORKPAD id BTN_APP0 port 2 active 0
304 button3 at vrgiu? platform NEC_MCCS id BTN_LIGHT port 8
305 pwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14
306 pwctl0 at vrgiu? platform NEC_MCR_430 id PWCTL_COM0 port 46
307 pwctl0 at vrgiu? platform NEC_MCR_500 id PWCTL_COM0 port 14
308 pwctl0 at vrgiu? platform NEC_MCR_530 id PWCTL_COM0 port 46
309 pwctl0 at vrgiu? platform NEC_MCR_530A id PWCTL_COM0 port 46
310 #pwctl0 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM0 port 46
311 pwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46
312 pwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14
313 pwctl1 at vrgiu? platform NEC_MCR_300 id PWCTL_LCDLIGHT port 45
314 pwctl1 at vrgiu? platform NEC_MCR_FORDOCOMO id PWCTL_LCDLIGHT port 45
315 pwctl1 at vrgiu? platform NEC_MCR_500 id PWCTL_LCDLIGHT port 45
316 pwctl1 at vrgiu? platform NEC_MCCS id PWCTL_LCDLIGHT port 45
317 pwctl2 at vrgiu? platform NEC_MCR_300 id PWCTL_LCD port 10
318 pwctl2 at vrgiu? platform NEC_MCR_FORDOCOMO id PWCTL_LCD port 10
319 pwctl2 at vrgiu? platform NEC_MCR_500 id PWCTL_LCD port 10
320 pwctl2 at vrgiu? platform NEC_MCCS id PWCTL_LCD port 10
321 pwctl3 at vrgiu? platform NEC_MCR_3XX id PWCTL_SPEAKER port 12
322 pwctl3 at vrgiu? platform NEC_MCR_430 id PWCTL_SPEAKER port 44
323 pwctl3 at vrgiu? platform NEC_MCR_500 id PWCTL_SPEAKER port 12
324 pwctl3 at vrgiu? platform NEC_MCR_510 id PWCTL_SPEAKER port 44
325 pwctl3 at vrgiu? platform NEC_MCR_520 id PWCTL_SPEAKER port 44
326 #pwctl3 at vrgiu? platform NEC_MCR_520A id PWCTL_SPEAKER port 44
327 pwctl3 at vrgiu? platform NEC_MCR_530 id PWCTL_SPEAKER port 44
328 #pwctl3 at vrgiu? platform NEC_MCR_530A id PWCTL_SPEAKER port 44
329 #pwctl3 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_SPEAKER port 44
330 pwctl3 at vrgiu? platform IBM_WORKPAD id PWCTL_SPEAKER port 49
331 #pwctl4 at vrgiu? platform NEC_MCR_430 id PWCTL_COM1 port 47
332 #pwctl4 at vrgiu? platform NEC_MCR_530 id PWCTL_COM1 port 47
333 #pwctl4 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM1 port 47
334 vrisab0 at vrgiu? platform NEC_MCR
335 vrisab0 at vrgiu? platform NEC_MCCS
336 vrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000
338 pcic0 at isa0 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00090003
341 # Button to GPIO port # mapping
350 # | |+----Power On/Off (connected to PMU)
356 button0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9
357 button1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10
358 button2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11
359 button3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12
360 button4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7
361 button5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4
362 button6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6
363 button7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5
364 button8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1
365 button9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20
366 button10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8
367 vrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000
369 pcic0 at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003
371 options PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle)
374 # Fujitsu INTERTOP CX300
376 pwctl0 at vrgiu? platform FUJITSU_INTERTOP id PWCTL_COM0 port 15
377 vrisab2 at vrgiu? platform FUJITSU_INTERTOP isaportoffset 0x1000000
379 pcic0 at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003
382 # Vadem Clio and Sharp Tripad
384 vrisab3 at vrgiu? platform SHARP_TRIPAD isaportoffset 0x0
385 vrisab3 at vrgiu? platform VADEM_CLIO_C isaportoffset 0x0
387 pcic0 at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003
390 # CASIO CASSIOPEIA E55 and for DoCoMo
392 button0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_OK active 0 port 6
393 button1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_CANCEL active 0 port 7
394 button2 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP0 active 0 port 8
395 button3 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP1 active 0 port 9
396 button4 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP2 active 0 port 10
397 button5 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP3 active 0 port 11
398 button6 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_DOWN active 0 port 12
399 button7 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_UP active 0 port 13
400 pwctl0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_COM0 port 38
401 pwctl1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_LCDLIGHT port 26
403 # 'CF hack' for all CASSIOPEIA E series
404 vrisab4 at vrgiu? platform CASIO_CASSIOPEIAE_EXX isaportoffset 0xc000
405 vrisab4 at vrgiu? platform CASIO_CASSIOPEIAE_EXXX isaportoffset 0xc000
407 wdc0 at isa4 port 0x170 irq 0x02000003 flags 0x0002 # single drive
410 # Fujitsu PenCentra 130
412 vrc4172gpio0 at vrgiu? platform FUJITSU_PENCENTRA_130 addr 0x15001080 size 0x4a port 10
413 vrisab5 at vrc4172gpio0 isaportoffset 0x1000000
415 pcic0 at isa5 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00010003
420 com* at vrgiu? platform NEC_MCR_SIGMARION2 addr 0x0b600000 port 8
421 vrisab6 at vrgiu? platform NEC_MCR_SIGMARION2 isaportoffset 0xf780f800
423 ne* at isa6 port 0x300 irq 0x00090003 # port 9, active high and thorough
424 #wdc* at isa6 port 0x170 irq 0x00090003 flags 0x0002 # single drive
425 hpcioman6 at vrgiu? platform NEC_MCR_SIGMARION2
426 hpcin* at hpcioman6 evtype PCIINTR id PCIINTR_00_12_00 port 0 level 1 connect 1
431 hpcioman7 at vrgiu? platform VICTOR_INTERLINK_MPC303
432 hpcioman7 at vrgiu? platform VICTOR_INTERLINK_MPC304
433 hpcin* at hpcioman7 evtype PCIINTR id PCIINTR_00_19_00 port 1 level 0 hold 1 connect 1
436 pcmcia* at pcic? controller 0 socket ?
439 wdc* at pcmcia? function ?
441 # ATA (IDE) bus support
445 wd* at atabus? drive ? flags 0x0000
447 # PCMCIA network interfaces
448 ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet
449 mbe* at pcmcia? function ? # MB8696x based Ethernet
450 ne* at pcmcia? function ? # NE2000-compatible Ethernet
451 ray* at pcmcia? function ? # Raytheon Raylink (802.11)
452 sm* at pcmcia? function ? # Megahertz Ethernet
453 wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11)
454 awi* at pcmcia? function ? # WLI-PCM
455 an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11)
457 # PCMCIA Serial interfaces
458 com* at pcmcia? function ? # Modems and serial cards
460 # PCMCIA SCSI interfaces
461 aic* at pcmcia? function ?
462 esp* at pcmcia? function ? # NCR53c406 SCSI
466 cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives
467 sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives
472 sd* at scsibus? target ? lun ? # SCSI disk drives
473 cd* at scsibus? target ? lun ? # SCSI CD-ROM drives
475 pseudo-device loop 1 # network loopback
476 pseudo-device ppp # serial-line IP ports
477 pseudo-device pty # pseudo-terminals
478 pseudo-device bpfilter # packet filter ports
479 pseudo-device ipfilter # IP filter, NAT
481 pseudo-device vnd # virtual disk ick
482 #pseudo-device ccd 4 # concatenated disks
483 pseudo-device rnd # /dev/random and in-kernel generator
484 pseudo-device clockctl # user control of clock subsystem
486 pseudo-device biconsdev 1 # build-in console device
487 pseudo-device wsmux # mouse & keyboard multiplexor
488 options MEMORY_DISK_HOOKS
489 options MEMORY_DISK_IS_ROOT # force root on memory disk
490 options MEMORY_DISK_SERVER=0 # no userspace memory disk support
491 options MEMORY_DISK_DYNAMIC # fs image don't exist in data section.
492 options MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
494 pseudo-device md 1 # memory disk device (ramdisk)
496 #pseudo-device raid 4 # RAIDframe disk driver
497 #options RAID_AUTOCONFIG # auto-configuration of RAID components
498 #pseudo-device fss 4 # file system snapshot device
501 pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
502 #pseudo-device faith # IPv[46] tcp relay translation i/f
503 pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
505 ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).