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