MPC303 revision 1.8
1# 2# $NetBSD: MPC303,v 1.8 2002/01/20 03:34:28 shin 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.8 $" 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 93#options NFS_BOOT_BOOTP 94options NFS_BOOT_BOOTPARAM 95 96options VR_FIND_DRAMLIM=0x03800000 97 98#config netbsd root on ? type ? 99config netbsd root on aue0 type nfs 100 101# WS console uses SUN or VT100 terminal emulation 102options WSEMUL_VT100 103#options WSDISPLAY_DEFAULTSCREENS=4 104#options FONT_VT220L8x8 105options FONT_VT220L8x10 106# compatibility to other console drivers 107options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 108options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 109options WSDISPLAY_COMPAT_USL # VT handling 110options 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 118hpcapm0 at mainbus0 # power management 119apmdev0 at hpcapm0 # APM 120 121vrip* at mainbus0 122vrbcu* at vrip? addr 0x0f000000 size 0x20 123vrcmu* at vrip? addr 0x0f000060 size 0x20 124vrrtc* at vrip? addr 0x0f000100 size 0x20 intr 2 125 126#vrkiu* at vrip? addr 0x0b000180 size 0x20 intr 7 127#hpckbd* at vrkiu? 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 HID device 165#uhidev* at uhub? port ? configuration ? interface ? 166 167# USB Mice 168#ums* at uhidev? reportid ? 169#wsmouse* at ums? mux 0 170 171# USB Keyboards 172#ukbd* at uhidev? reportid ? 173#wskbd* at ukbd? console ? mux 1 174 175# USB Generic HID devices 176#uhid* at uhidev? reportid ? 177 178# USB Printer 179#ulpt* at uhub? port ? configuration ? interface ? 180 181# USB Modem 182#umodem* at uhub? port ? configuration ? 183#ucom* at umodem? 184 185# USB Mass Storage 186#umass* at uhub? port ? configuration ? interface ? 187#atapibus* at umass? channel ? 188#scsibus* at umass? channel ? 189 190# USB Generic driver 191ugen* at uhub? port ? 192 193# USB Ethernet adapters 194aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 195 196# MII/PHY support 197ukphy* at mii? phy ? # generic unknown PHYs 198 199options MQ200_DEBUG 200#options MQ200_USECRT 201#mqvideo0 at vrip? addr 0x0a000000 size 0x800000 # MQ200 video controller 202#hpcfb* at mqvideo? 203 204#ite8181video0 at vrip? addr 0x0a000000 size 0x800000 # ITE8181 video controller 205#hpcfb* at ite8181video? 206 207#vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_430 208#vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_510 209#vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_520 210#vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_520A 211#vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_530 212#vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_SIGMARION 213#vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_530A 214#vrc4172pwm* at vrip? addr 0x15003880 size 0x6 platform NEC_MCR_700 215 216# Workstation Console attachments 217bivideo0 at mainbus0 218hpcfb* at bivideo0 219wsdisplay* at hpcfb? 220#wskbd* at hpckbd? mux 1 221#wsmouse* at vrpiu? mux 0 222btnmgr0 at mainbus0 223wskbd* at btnmgr0 mux 1 224 225# 226# hpcmips isa? bus irq locator means: 227# 228# 0x0000000f ISA IRQ# 229# 0x00ff0000 GPIO port# 230# 0x01000000 interrupt signal hold/through (1:hold/0:though) 231# 0x02000000 interrupt detection level (1:low /0:high ) 232# 0x04000000 interrupt detection trigger (1:edge/0:level ) 233 234# 235# MC-R300, MC-R500 236# Button to GPIO port # mapping 237# + REC button : 4 238# + Open/Close button: 6 239# (PCIC-ISA : 9) 240# (COM power:14) 241# 242# MC-R510 243# Button to GPIO port # mapping 244# + Open/Close button: 3 245# (PCIC-ISA : 9) 246# (COM power:14) 247# 248# MC-R530 249# Button to GPIO port # mapping 250# + Open/Close button: 3 251# + Application button: 2 252# (PCIC-ISA : 9) 253# (COM power:46) 254# 255# MC-R700 256# Button to GPIO port # mapping 257# + Open/Close button: 3 258# (PCIC-ISA : 9) 259# (COM power:46) 260# 261# MC-CS 262# Button to GPIO port # mapping 263# (PCIC-ISA : 9) 264# (COM power:14) 265# 266# IBM WorkPad z50 267# Button to GPIO port # mapping 268# + REC button : 1 269# + Application button? : 2 270# (PCIC-ISA : 9) 271# 272button0 at vrgiu? platform NEC_MCR_3XX id BTN_REC port 4 273button0 at vrgiu? platform NEC_MCR_500 id BTN_REC port 4 274button0 at vrgiu? platform IBM_WORKPAD id BTN_REC port 1 active 0 275button1 at vrgiu? platform NEC_MCR_430 id BTN_COVER port 3 276button1 at vrgiu? platform NEC_MCR_510 id BTN_COVER port 3 277button1 at vrgiu? platform NEC_MCR_520 id BTN_COVER port 3 278#button1 at vrgiu? platform NEC_MCR_520A id BTN_COVER port 3 279button1 at vrgiu? platform NEC_MCR_530 id BTN_COVER port 3 280#button1 at vrgiu? platform NEC_MCR_530A id BTN_COVER port 3 281button1 at vrgiu? platform NEC_MCR_SIGMARION id BTN_COVER port 3 282button1 at vrgiu? platform NEC_MCR_7XX id BTN_COVER port 3 283button1 at vrgiu? platform NEC_MCR_3XX id BTN_COVER port 6 284button1 at vrgiu? platform NEC_MCR_500 id BTN_COVER port 6 285button2 at vrgiu? platform NEC_MCR_530 id BTN_APP0 port 2 286button2 at vrgiu? platform IBM_WORKPAD id BTN_APP0 port 2 active 0 287button3 at vrgiu? platform NEC_MCCS id BTN_LIGHT port 8 288pwctl0 at vrgiu? platform NEC_MCR_3XX id PWCTL_COM0 port 14 289pwctl0 at vrgiu? platform NEC_MCR_430 id PWCTL_COM0 port 46 290pwctl0 at vrgiu? platform NEC_MCR_500 id PWCTL_COM0 port 14 291pwctl0 at vrgiu? platform NEC_MCR_530 id PWCTL_COM0 port 46 292pwctl0 at vrgiu? platform NEC_MCR_530A id PWCTL_COM0 port 46 293#pwctl0 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM0 port 46 294pwctl0 at vrgiu? platform NEC_MCR_7XX id PWCTL_COM0 port 46 295pwctl0 at vrgiu? platform NEC_MCCS id PWCTL_COM0 port 14 296pwctl1 at vrgiu? platform NEC_MCR_300 id PWCTL_LCDLIGHT port 45 297pwctl1 at vrgiu? platform NEC_MCR_FORDOCOMO id PWCTL_LCDLIGHT port 45 298pwctl1 at vrgiu? platform NEC_MCR_500 id PWCTL_LCDLIGHT port 45 299pwctl1 at vrgiu? platform NEC_MCCS id PWCTL_LCDLIGHT port 45 300pwctl2 at vrgiu? platform NEC_MCR_300 id PWCTL_LCD port 10 301pwctl2 at vrgiu? platform NEC_MCR_FORDOCOMO id PWCTL_LCD port 10 302pwctl2 at vrgiu? platform NEC_MCR_500 id PWCTL_LCD port 10 303pwctl2 at vrgiu? platform NEC_MCCS id PWCTL_LCD port 10 304pwctl3 at vrgiu? platform NEC_MCR_3XX id PWCTL_SPEAKER port 12 305pwctl3 at vrgiu? platform NEC_MCR_430 id PWCTL_SPEAKER port 44 306pwctl3 at vrgiu? platform NEC_MCR_500 id PWCTL_SPEAKER port 12 307pwctl3 at vrgiu? platform NEC_MCR_510 id PWCTL_SPEAKER port 44 308pwctl3 at vrgiu? platform NEC_MCR_520 id PWCTL_SPEAKER port 44 309#pwctl3 at vrgiu? platform NEC_MCR_520A id PWCTL_SPEAKER port 44 310pwctl3 at vrgiu? platform NEC_MCR_530 id PWCTL_SPEAKER port 44 311#pwctl3 at vrgiu? platform NEC_MCR_530A id PWCTL_SPEAKER port 44 312#pwctl3 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_SPEAKER port 44 313pwctl3 at vrgiu? platform IBM_WORKPAD id PWCTL_SPEAKER port 49 314#pwctl4 at vrgiu? platform NEC_MCR_430 id PWCTL_COM1 port 47 315#pwctl4 at vrgiu? platform NEC_MCR_530 id PWCTL_COM1 port 47 316#pwctl4 at vrgiu? platform NEC_MCR_SIGMARION id PWCTL_COM1 port 47 317vrisab0 at vrgiu? platform NEC_MCR 318vrisab0 at vrgiu? platform NEC_MCCS 319vrisab0 at vrgiu? platform IBM_WORKPAD isaportoffset 0x1000000 320isa0 at vrisab0 321pcic0 at isa0 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00090003 322# 323# Freestyle 324# Button to GPIO port # mapping 325# +---------+ 326# 1 +| | 327# | |+ 7 328# | | 329#20 +| LCD |+ 4 330# | | + 6 331# 8 +| |+ 5 332# | | 333# | |+----Power On/Off (connected to PMU) 334# +---------+ 335# +9 336# +12 +10 337# +11 338# (PCIC-ISA : 23) 339button0 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP0 port 9 340button1 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP1 port 10 341button2 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP2 port 11 342button3 at vrgiu? platform EVEREX_FREESTYLE id BTN_APP3 port 12 343button4 at vrgiu? platform EVEREX_FREESTYLE id BTN_CANCEL port 7 344button5 at vrgiu? platform EVEREX_FREESTYLE id BTN_UP port 4 345button6 at vrgiu? platform EVEREX_FREESTYLE id BTN_OK port 6 346button7 at vrgiu? platform EVEREX_FREESTYLE id BTN_DOWN port 5 347button8 at vrgiu? platform EVEREX_FREESTYLE id BTN_REC port 1 348button9 at vrgiu? platform EVEREX_FREESTYLE id BTN_LIGHT port 20 349button10 at vrgiu? platform EVEREX_FREESTYLE id BTN_CONTRAST port 8 350vrisab1 at vrgiu? platform EVEREX_FREESTYLE isaportoffset 0x1000000 351isa1 at vrisab1 352pcic0 at isa1 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00170003 353 354options PCIC_ISA_INTR_ALLOC_MASK=0x0008 # IRQ 3 only (MCR/Freestyle) 355 356# 357# Fujitsu INTERTOP CX300 358# 359pwctl0 at vrgiu? platform FUJITSU_INTERTOP id PWCTL_COM0 port 15 360vrisab2 at vrgiu? platform FUJITSU_INTERTOP isaportoffset 0x1000000 361isa2 at vrisab2 362pcic0 at isa2 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00060003 363 364# 365# Vadem Clio and Sharp Tripad 366# 367vrisab3 at vrgiu? platform SHARP_TRIPAD isaportoffset 0x1000000 368vrisab3 at vrgiu? platform VADEM_CLIO_C isaportoffset 0x1000000 369isa3 at vrisab3 370pcic0 at isa3 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x000d0003 371 372# 373# CASIO CASSIOPEIA E55 and for DoCoMo 374# 375button0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_OK active 0 port 6 376button1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_CANCEL active 0 port 7 377button2 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP0 active 0 port 8 378button3 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP1 active 0 port 9 379button4 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP2 active 0 port 10 380button5 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_APP3 active 0 port 11 381button6 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_DOWN active 0 port 12 382button7 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id BTN_UP active 0 port 13 383pwctl0 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_COM0 port 38 384pwctl1 at vrgiu? platform CASIO_CASSIOPEIAE_E55 id PWCTL_LCDLIGHT port 26 385 386# 'CF hack' for all CASSIOPEIA E series 387vrisab4 at vrgiu? platform CASIO_CASSIOPEIAE_EXX isaportoffset 0xc000 388vrisab4 at vrgiu? platform CASIO_CASSIOPEIAE_EXXX isaportoffset 0xc000 389isa4 at vrisab4 390wdc0 at isa4 port 0x170 irq 0x02000003 flags 0x0002 # single drive 391 392# 393# Fujitsu PenCentra 130 394# 395vrc4172gpio0 at vrgiu? platform FUJITSU_PENCENTRA_130 addr 0x15001080 size 0x4a port 10 396vrisab5 at vrc4172gpio0 isaportoffset 0x1000000 397isa5 at vrisab5 398pcic0 at isa5 port 0x3e0 iomem 0x70000 iosiz 0x4000 irq 0x00010003 399 400# 401# SigmarionII 402# 403com* at vrgiu? platform NEC_MCR_SIGMARION2 addr 0x0b600000 port 8 404vrisab6 at vrgiu? platform NEC_MCR_SIGMARION2 isaportoffset 0xf780f800 405isa6 at vrisab6 406ne* at isa6 port 0x300 irq 0x00090003 # port 9, active high and thorough 407#wdc* at isa6 port 0x170 irq 0x00090003 flags 0x0002 # single drive 408hpcioman6 at vrgiu? platform NEC_MCR_SIGMARION2 409hpcin* at hpcioman6 evtype PCIINTR id PCIINTR_00_12_02 port 0 level 1 connect 1 410 411# 412# MP-C303/304 413# 414hpcioman7 at vrgiu? platform VICTOR_INTERLINK_MPC303 415hpcioman7 at vrgiu? platform VICTOR_INTERLINK_MPC304 416hpcin* at hpcioman7 evtype PCIINTR id PCIINTR_00_19_02 port 1 level 0 hold 1 connect 1 417 418# PCMCIA bus support 419pcmcia* at pcic? controller 0 socket ? 420 421# PCMCIA IDE disk 422wdc* at pcmcia? function ? 423wd* at wdc? channel ? drive ? flags 0x0000 424 425# PCMCIA network interfaces 426ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 427mbe* at pcmcia? function ? # MB8696x based Ethernet 428ne* at pcmcia? function ? # NE2000-compatible Ethernet 429ray* at pcmcia? function ? # Raytheon Raylink (802.11) 430sm* at pcmcia? function ? # Megahertz Ethernet 431wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11) 432awi* at pcmcia? function ? # WLI-PCM 433an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11) 434 435# PCMCIA Serial interfaces 436com* at pcmcia? function ? # Modems and serial cards 437 438# PCMCIA SCSI interfaces 439aic* at pcmcia? function ? 440esp* at pcmcia? function ? # NCR53c406 SCSI 441 442# ATAPI bus support 443atapibus* at wdc? channel ? 444cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 445sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 446 447# SCSI bus support 448scsibus* at aic? 449scsibus* at esp? 450sd* at scsibus? target ? lun ? # SCSI disk drives 451cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 452 453pseudo-device loop 1 # network loopback 454pseudo-device ppp 2 # serial-line IP ports 455pseudo-device pty # pseudo-terminals 456pseudo-device bpfilter 16 # packet filter ports 457pseudo-device ipfilter # IP filter, NAT 458 459pseudo-device vnd 4 # virtual disk ick 460#pseudo-device ccd 4 # concatenated disks 461pseudo-device rnd # /dev/random and in-kernel generator 462 463pseudo-device biconsdev 1 # build-in console device 464pseudo-device wsmux # mouse & keyboard multiplexor 465options MEMORY_DISK_HOOKS 466options MEMORY_DISK_IS_ROOT # force root on memory disk 467options MEMORY_DISK_SERVER=0 # no userspace memory disk support 468options MEMORY_DISK_DYNAMIC # fs image don't exist in data section. 469pseudo-device md 1 # memory disk device (ramdisk) 470 471#pseudo-device raid 4 # RAIDframe disk driver 472#options RAID_AUTOCONFIG # auto-configuration of RAID components 473 474# for IPv6 475pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 476#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 477#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 478 479## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4). 480pseudo-device vlan 481