xref: /netbsd-src/sys/arch/evbsh3/conf/CQREEKSH3 (revision c7ae7f02a8ff1280ee8106b5640d183dfb1be24d)
1#	$NetBSD: CQREEKSH3,v 1.35 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.cqreeksh3"
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=2400	# size of memory disk, in blocks
19options 	MEMORY_DISK_RBFLAGS=RB_SINGLE	# boot in single-user mode
20
21options 	ROMIMAGE
22
23maxusers	32		# estimated number of users
24
25# CPU support.  At least one is REQUIRED.
26options		SH3
27options 	SH7708		# 100MHz
28options 	PCLOCK=15000000		# 15.000MHz
29options 	IOM_ROM_BEGIN=0x00000000
30options 	IOM_ROM_SIZE=0x00200000	# 2MB
31options 	IOM_RAM_BEGIN=0x0c000000
32options 	IOM_RAM_SIZE=0x00400000	# 4MB
33options 	LED_ADDR=0xa8000000
34
35options 	BSC_BCR1_VAL	=0x0010
36options 	BSC_BCR2_VAL	=0x3ddc
37options 	BSC_WCR1_VAL	=0x2aaa
38options 	BSC_WCR2_VAL	=0x0246
39options 	BSC_MCR_VAL	=0x0074
40options 	BSC_RTCSR_VAL	=0xa510
41options 	BSC_RTCNT_VAL	=0xa500	# XXX
42options 	BSC_RTCOR_VAL	=0xa53a
43options 	FRQCR_VAL	=0x0102
44
45options 	HZ=50		# clock interrupt generates every 1/HZ sec
46options 	USERCONF	# userconf(4) support
47#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
48
49# Compatibility options
50include 	"conf/compat_netbsd20.config"
51
52# Executable format options
53options 	EXEC_COFF	# 32-bit COFF executables (sh-compiler)
54
55# File systems
56file-system 	FFS		# UFS
57options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
58#options 	UFS_DIRHASH	# UFS Large Directory Hashing
59#options 	UFS_EXTATTR	# Extended attribute support for UFS1
60options 	WAPBL		# File system journaling support
61
62# Kernel root file system and dump configuration.
63config		netbsd	root on ? type ?
64
65#
66# Device configuration
67#
68mainbus0 at root
69shb* at mainbus?
70rtc0 at shb?
71wdog0 at shb?
72options 	SCICONSOLE,SCICN_SPEED=38400
73sci0 at shb?
74
75# Pseudo-Devices
76pseudo-device	md			# memory disk device (ramdisk)
77pseudo-device	pty			# pseudo-terminals
78pseudo-device	clockctl		# user control of clock subsystem
79