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