1#         $NetBSD: KZSH401,v 1.32 2022/08/07 02:52:25 simonb Exp $
2#
3#         GENERIC -- everything that's currently supported
4#
5
6# for big endian
7include "arch/evbsh3/conf/std.evbsh3.eb"
8# for little endian
9#include "arch/evbsh3/conf/std.evbsh3.el"
10include "arch/evbsh3/conf/std.kzsh401"
11
12#options  INCLUDE_CONFIG_FILE # embed config file in kernel binary
13
14# Enable the hooks used for initializing the root memory-disk.
15options   MEMORY_DISK_HOOKS
16options   MEMORY_DISK_IS_ROOT # force root on memory disk
17options   MEMORY_DISK_SERVER=0          # no userspace memory disk support
18options   MEMORY_DISK_ROOT_SIZE=2880    # size of memory disk, in blocks
19options   MEMORY_DISK_RBFLAGS=RB_SINGLE # boot in single-user mode
20
21maxusers  16                  # estimated number of users
22
23# CPU support
24options   SH7750
25options   SH4
26options   PCLOCK=33333300                         # 33.3333MHz
27options   IOM_ROM_BEGIN=0x00000000
28options   IOM_ROM_SIZE=0x00100000                 # 1MB
29options   IOM_RAM_BEGIN=0x08000000
30options   IOM_RAM_SIZE=0x01000000                 # 16MB
31
32options   BSC_BCR1_VAL        =0x8000000c
33options   BSC_BCR2_VAL        =0xb538
34options   BSC_WCR1_VAL        =0x00010111
35options   BSC_WCR2_VAL        =0x108a2520
36options   BSC_WCR3_VAL        =0x00000000
37options   BSC_MCR_VAL         =0x10192194
38#options  BSC_PCR_VAL         =0x08eb
39options   BSC_RTCSR_VAL       =0xa510
40#options  BSC_RTCNT_VAL       =0xa500
41options   BSC_RTCOR_VAL       =0xa541
42options   BSC_RFCR_VAL        =0xa400
43options   FRQCR_VAL =0x0e13
44options   BSC_SDMR2_VAL       =0xff90008c
45
46options   LED_ADDR=0xa8000000
47
48include   "conf/compat_netbsd20.config"
49
50options   HZ=64               # clock interrupt generates every 1/HZ sec
51options   USERCONF  # userconf(4) support
52#options  SYSCTL_INCLUDE_DESCR          # Include sysctl descriptions in kernel
53
54# Executable format options
55options   EXEC_COFF # COFF executables
56
57# File systems
58file-system         FFS                 # UFS
59options   FFS_NO_SNAPSHOT     # No FFS snapshot support
60#options  UFS_DIRHASH         # UFS Large Directory Hashing
61#options  UFS_EXTATTR         # Extended attribute support for UFS1
62options   WAPBL               # File system journaling support
63
64config              netbsd    root on ? type ?
65
66#
67# Device configuration
68#
69mainbus0 at root
70shb*      at mainbus?
71rtc0 at shb?
72options   SCIFCN_SPEED=19200
73scif0 at shb?
74pseudo-device       pty                           # pseudo-terminals
75pseudo-device       md                            # memory disk device (ramdisk)
76pseudo-device       clockctl            # user control of clock subsystem
77