MPC303 revision 1.25
1# 2# $NetBSD: MPC303,v 1.25 2003/12/13 01:33:41 sekiya 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.25 $" 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 22 23# Standard system options 24options DDB # in-kernel debugger 25#options DDB_ONPANIC=0 # don't enter debugger on panic 26#options KGDB # remote debugger 27options DIAGNOSTIC # extra kernel debugging checks 28#options DEBUG # extra kernel debugging support 29options KTRACE # system call tracing support 30options MSGBUFSIZE=16384 # dmesg buffer size 31options USERCONF # userconf(4) support 32#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 33 34## UVM options. 35#options UVM_PAGE_TRKOWN 36#options UVMHIST 37#options UVMHIST_PRINT # Loud! 38 39#options SCSIVERBOSE # human readable SCSI error messages 40#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 41 42#options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 43options RTC_OFFSET=-540 # JST-9 44#options RTC_OFFSET=480 # PST8 45 # In NO RTC_OFFSET , inherit RTC_OFFSET 46 # from Windows CE. 47options NTP # network time protocol 48 49#options WINCE_DEFAULT_SETTING # Debugging use 50#options DUMP_GIU_LEVEL2_INTR # Debugging use 51#options DEBUG_FIND_PCIC # Debugging use XXX harmful don't define until read source. 52 53#options SYSCALL_DEBUG # for debug 54#options HPCMIPS_L1CACHE_DISABLE # disable L1 cache 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 100#makeoptions 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 150vrkiu* at vrc4173bcu? addr 0x100 size 0x20 unit VRKIU # VRC4173 KIU 151hpckbd* at vrkiu? 152vrpiu* at vrc4173bcu? addr 0x0a0 size 0x20 addr2 0x0c0 size2 0x20 unit VRPIU # VRC4173 PIU 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? 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#uax* at uhub? port ? # ASIX AX88172 based adapters 200#url* at uhub? port ? # Realtek RTL8150L 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 ? 429 430# ATA (IDE) bus support 431atabus* at ata? 432 433# IDE drives 434wd* at atabus? drive ? flags 0x0000 435 436# PCMCIA network interfaces 437ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 438mbe* at pcmcia? function ? # MB8696x based Ethernet 439ne* at pcmcia? function ? # NE2000-compatible Ethernet 440ray* at pcmcia? function ? # Raytheon Raylink (802.11) 441sm* at pcmcia? function ? # Megahertz Ethernet 442wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11) 443awi* at pcmcia? function ? # WLI-PCM 444an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11) 445 446# PCMCIA Serial interfaces 447com* at pcmcia? function ? # Modems and serial cards 448 449# PCMCIA SCSI interfaces 450aic* at pcmcia? function ? 451esp* at pcmcia? function ? # NCR53c406 SCSI 452 453# ATAPI bus support 454atapibus* at atapi? 455cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 456sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 457 458# SCSI bus support 459scsibus* at aic? 460scsibus* at esp? 461sd* at scsibus? target ? lun ? # SCSI disk drives 462cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 463 464pseudo-device loop 1 # network loopback 465pseudo-device ppp 2 # serial-line IP ports 466pseudo-device pty # pseudo-terminals 467pseudo-device bpfilter 16 # packet filter ports 468pseudo-device ipfilter # IP filter, NAT 469 470pseudo-device vnd 4 # virtual disk ick 471#pseudo-device ccd 4 # concatenated disks 472pseudo-device rnd # /dev/random and in-kernel generator 473pseudo-device clockctl # user control of clock subsystem 474 475pseudo-device biconsdev 1 # build-in console device 476pseudo-device wsmux # mouse & keyboard multiplexor 477options MEMORY_DISK_HOOKS 478options MEMORY_DISK_IS_ROOT # force root on memory disk 479options MEMORY_DISK_SERVER=0 # no userspace memory disk support 480options MEMORY_DISK_DYNAMIC # fs image don't exist in data section. 481pseudo-device md 1 # memory disk device (ramdisk) 482 483#pseudo-device raid 4 # RAIDframe disk driver 484#options RAID_AUTOCONFIG # auto-configuration of RAID components 485 486# for IPv6 487pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 488#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 489#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 490 491## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4). 492pseudo-device vlan 493