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