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