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